Question: Mac OS 10.6 and Python 2.6

John Cody jtcody at gmail.com
Fri Mar 5 14:52:57 CET 2010


>
>
>
> This is a known problem when using a non-Apple supplied Python install:
>
> http://bugs.python.org/issue6957
>
> The bug has more details, but the basic workaround is to install the 10.4
> SDK (it's an optional package when installing Xcode) and using GCC 4.0
> instead of the default 4.2.
>
> --
> Ben
>
> I had tried downloading the 10.4 SDK and setting GCC to 4.0, since that is
what worked for  building other python packages, but it didn't seem to work
for this.  In the setup.cfg file I put in this parameter:

extra_compile_args = -isysroot /Developer/SDKs/MacOSX10.6.sdk

and that seemed to do the trick.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20100305/59c370a6/attachment.html>


More information about the python-ldap mailing list