[New-bugs-announce] [issue8126] Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac

Palluat de Besset report at bugs.python.org
Fri Mar 12 18:40:08 CET 2010


New submission from Palluat de Besset <marc.palluatdebesset at sophos.com>:

/usr/bin/gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk  -DPYTHONFRAMEWORK='"Python"' -o pythonw ./Tools/pythonw.c -I.. -I./../Include ../Python.framework/Versions/3.2/Python
./Tools/pythonw.c:22:19:./Tools/pythonw.c:22:19: error: spawn.h: No such file or directory
 error: spawn.h: No such file or directory
./Tools/pythonw.c:91: error: syntax error before ‘*’ token./Tools/pythonw.c:91: error: syntax error before ‘*’ token
./Tools/pythonw.c: In function ‘setup_spawnattr’:
./Tools/pythonw.c:95: error: ‘cpu_type_t’ undeclared (first use in this function)
./Tools/pythonw.c:95: error: (Each undeclared identifier is reported only once
./Tools/pythonw.c:95: error: for each function it appears in.)
./Tools/pythonw.c:95: error: syntax error before ‘cpu_types’
./Tools/pythonw.c:101: error: ‘spawnattr’ undeclared (first use in this function)
./Tools/pythonw.c:122: error: ‘cpu_types’ undeclared (first use in this function)
./Tools/pythonw.c:122: error: ‘CPU_TYPE_X86’ undeclared (first use in this function)
./Tools/pythonw.c:142: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this function)
./Tools/pythonw.c: In function ‘main’:
./Tools/pythonw.c:158: error: ‘posix_spawn’ undeclared (first use in this function)
./Tools/pythonw.c:159: error: ‘posix_spawnattr_t’ undeclared (first use in this function)
./Tools/pythonw.c:159: error: syntax error before ‘spawnattr’
./Tools/pythonw.c:161: error: ‘spawnattr’ undeclared (first use in this function)

./Tools/pythonw.c: In function ‘setup_spawnattr’:
./Tools/pythonw.c:95: error: ‘cpu_type_t’ undeclared (first use in this function)
./Tools/pythonw.c:95: error: (Each undeclared identifier is reported only once
./Tools/pythonw.c:95: error: for each function it appears in.)
./Tools/pythonw.c:95: error: syntax error before ‘cpu_types’
./Tools/pythonw.c:101: error: ‘spawnattr’ undeclared (first use in this function)
./Tools/pythonw.c:120: error: ‘cpu_types’ undeclared (first use in this function)
./Tools/pythonw.c:120: error: ‘CPU_TYPE_POWERPC’ undeclared (first use in this function)
./Tools/pythonw.c:142: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this function)
./Tools/pythonw.c: In function ‘main’:
./Tools/pythonw.c:158: error: ‘posix_spawn’ undeclared (first use in this function)
./Tools/pythonw.c:159: error: ‘posix_spawnattr_t’ undeclared (first use in this function)
./Tools/pythonw.c:159: error: syntax error before ‘spawnattr’
./Tools/pythonw.c:161: error: ‘spawnattr’ undeclared (first use in this function)
lipo: can't figure out the architecture type of: /var/tmp//cct0zueu.out
make[1]: *** [pythonw] Error 1
make: *** [frameworkinstallapps] Error 2

----------
components: Build
messages: 100949
nosy: mpalluat
severity: normal
status: open
title: Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac
type: compile error
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8126>
_______________________________________


More information about the New-bugs-announce mailing list