From: Ben G. <bgo...@tc...> - 2010-03-04 19:36:20
|
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 |