[Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

Ronald Oussoren ronaldoussoren at mac.com
Tue May 3 08:20:49 CEST 2011


On 3 May, 2011, at 0:32, Irmen de Jong wrote:
> 
> 
> I'm comfortable with developing in a unix like environment but the sysroot/sdk stuff of
> OS X is a bit alien to me. Am I supposed to not touch the SDK locations at all? So
> installing custom libraries should always be done into /usr/local and then referred to
> by adding explicit -I/usr/local flags to the compile command?

You shouldn't touch the SDK locations at all, those get erased when you install a new version of Xcode.

I haven't looked into the problem you have with automaticly picking up dependencies in /usr/local,  AFAIK that should just work the same as without -isysroot. 

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110503/b1f646f6/attachment.bin>


More information about the Pythonmac-SIG mailing list