Message201245
With Maverick OSX (latest version), there is no /usr/include/zlib.h anymore. If you try to compile Python with -sysroot, it trigger a error message:
error: /usr/include/zlib.h: No such file or directory
The issue is in setup.py, where find_file is checking the existence of a filename, but if the filename has been found in a sysroot, it will return the path _without_ the sysroot.
In this case (zlib), find_file correctly find the zlib.h in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/zlib.h, but return "/usr/include", and then the setup.py open '/usr/include/zlib.h', which fail. |
|
Date |
User |
Action |
Args |
2013-10-25 15:49:46 | Mathieu.Virbel | set | recipients:
+ Mathieu.Virbel |
2013-10-25 15:49:46 | Mathieu.Virbel | set | messageid: <1382716186.29.0.0404891043563.issue19389@psf.upfronthosting.co.za> |
2013-10-25 15:49:46 | Mathieu.Virbel | link | issue19389 messages |
2013-10-25 15:49:45 | Mathieu.Virbel | create | |
|