Something is damaged, and it's not specifically oursql related: gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m -c oursqlx/oursql.c -o build/temp.macosx-10.6-intel-3.2/oursqlx/oursql.o -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64
/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:25:19: error: stdio.h: No such file or directory This indicates that #include <stdio.h> doesn't work, which means that gcc commandline doesn't work. I suggest you discover if another python3 C module can be compiled, and ascertain if it's a problem with python on OSX, or with oursql's setup.py. Stephen. On Tue, Feb 28, 2012 at 12:25, Ygor Lemos <[email protected]> wrote: > ** Attachment added: "output from compilation with 10.6 sdks on Lion" > https://bugs.launchpad.net/bugs/942583/+attachment/2790715/+files/output > > -- > You received this bug notification because you are subscribed to oursql. > https://bugs.launchpad.net/bugs/942583 > > Title: > oursql 0.9.3 Py3k Doesn't compile on OSX Lion > > To manage notifications about this bug go to: > https://bugs.launchpad.net/oursql/+bug/942583/+subscriptions > -- You received this bug notification because you are a member of Agesys Team, which is subscribed to oursql. https://bugs.launchpad.net/bugs/942583 Title: oursql 0.9.3 Py3k Doesn't compile on OSX Lion Status in oursql: New Bug description: Tried to compile on a Vanilla installation of OSX Lion 10.7.3 with Python 3.2.2. XCode 4.3 is installed. First it rants it can't find the proper SDK: Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk Please check your Xcode installation (btw it is pointing to Snow Leopard's SDK... but I think it is a Python related problem). anyway, I did some trickery on the Terminal to override the includes, pointing to the new SDK locations on Lion: yAir:oursql-0.9.3 yg$ sudo CC=gcc CXX=g++ LDSHARED="gcc -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -g" python3 setup.py install lots of errors on compile time... tried with older sdk 10.6: sudo CC=gcc CXX=g++ LDSHARED="gcc -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -g" python3 setup.py install >> output 2>&1 The output with all errors is attached... Is it a Python Mac binaries fault ? If so, are you aware of any relative bugs already reported on this? Also, I've found this and it seems related: http://grokbase.com/t/python/python-list/11ammtv326/sysconfig-on-os-x-10-7-lion-and-xcode-4-2 To manage notifications about this bug go to: https://bugs.launchpad.net/oursql/+bug/942583/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~agesys-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~agesys-dev More help : https://help.launchpad.net/ListHelp

