[Pythonmac-SIG] can't build extensions for python.org 3.1.1 framework

has hengist.podd at virgin.net
Sat Nov 28 17:08:35 CET 2009


Hey,

Anyone tried building extensions for python.org's prebuilt Python 3.1.1 framework on 10.6.2? After remembering to install the 10.4u SDK for Xcode 3.2.1, I'm getting a bunch of 'missing header' errors, e.g.:

$ cd py-appscript
$ python3 setup.py install
...
building 'aem.ae' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -c appscript_3x/ext/ae.c -o build/temp.macosx-10.3-fat-3.1/appscript_3x/ext/ae.o -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4
In file included from /Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bytearrayobject.h:9,
                 from /Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:69,
                 from appscript_3x/ext/ae.c:14:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
...


The header files in question do exist, e.g.:

$ ls -l /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h
-rw-r--r--  1 root  wheel  234 May  4  2007 /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h


Any relation to the 2.6.3 problems? Or something else?

Ta,

has
-- 
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net



More information about the Pythonmac-SIG mailing list