agesys-dev team mailing list archive
-
agesys-dev team
-
Mailing list archive
-
Message #00087
[Bug 942583] [NEW] oursql 0.9.3 Py3k Doesn't compile on OSX Lion
Public bug reported:
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
** Affects: oursql
Importance: Undecided
Status: New
--
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
Follow ups
References