New submission from Palluat de Besset <marc.palluatdebes...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8126> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com