Question: Mac OS 10.6 and Python 2.6

Ben Gollmer bgollmer at tcnetworks.com
Thu Mar 4 20:17:16 CET 2010


On Mar 2, 2010, at 11:41 AM, John Cody wrote:

> I've got the 2.3.11 release of python-ldap, latest version of XCode, and Python 2.6.2 installed.
> 
> I run: $ sudo python setup.py build
> and I get the following output.

> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2429 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20100304/feb04569/attachment.bin>


More information about the python-ldap mailing list