From: John C. <jt...@gm...> - 2010-03-02 17:41:29
|
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. extra_compile_args: extra_objects: include_dirs: /usr/include /usr/include/sasl library_dirs: /usr/lib libs: ldap_r lber sasl2 ssl crypto running build running build_py file Lib/ldap.py (for module ldap) not found file Lib/ldap/schema.py (for module ldap.schema) not found creating build/lib.macosx-10.3-fat-2.6 copying Lib/ldapurl.py -> build/lib.macosx-10.3-fat-2.6 copying Lib/ldif.py -> build/lib.macosx-10.3-fat-2.6 copying Lib/dsml.py -> build/lib.macosx-10.3-fat-2.6 creating build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/__init__.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/async.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/controls.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/cidict.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/dn.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/filter.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/functions.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/ldapobject.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/modlist.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/resiter.py -> build/lib.macosx-10.3-fat-2.6/ldap copying Lib/ldap/sasl.py -> build/lib.macosx-10.3-fat-2.6/ldap creating build/lib.macosx-10.3-fat-2.6/ldap/schema copying Lib/ldap/schema/__init__.py -> build/lib.macosx-10.3-fat-2.6/ldap/schema copying Lib/ldap/schema/models.py -> build/lib.macosx-10.3-fat-2.6/ldap/schema copying Lib/ldap/schema/subentry.py -> build/lib.macosx-10.3-fat-2.6/ldap/schema copying Lib/ldap/schema/tokenizer.py -> build/lib.macosx-10.3-fat-2.6/ldap/schema file Lib/ldap.py (for module ldap) not found file Lib/ldap/schema.py (for module ldap.schema) not found running egg_info writing requirements to Lib/python_ldap.egg-info/requires.txt writing Lib/python_ldap.egg-info/PKG-INFO writing top-level names to Lib/python_ldap.egg-info/top_level.txt writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt file Lib/ldap.py (for module ldap) not found file Lib/ldap/schema.py (for module ldap.schema) not found reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Makefile' warning: no files found matching 'Modules/LICENSE' writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' running build_ext building '_ldap' extension creating build/temp.macosx-10.3-fat-2.6 creating build/temp.macosx-10.3-fat-2.6/Modules gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.11 -IModules -I/usr/include -I/usr/include/sasl -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c Modules/LDAPObject.c -o build/temp.macosx-10.3-fat-2.6/Modules/LDAPObject.o In file included from /usr/include/math.h:26, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58, from Modules/common.h:10, from Modules/LDAPObject.c:4: /usr/include/architecture/ppc/math.h:666: warning: conflicting types for built-in function ‘scalb’ In file included from /usr/include/stdarg.h:4, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85, from Modules/common.h:10, from Modules/LDAPObject.c:4: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory In file included from /usr/include/architecture/i386/math.h:626, from /usr/include/math.h:28, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58, from Modules/common.h:10, from Modules/LDAPObject.c:4: /usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid. In file included from /usr/include/stdarg.h:4, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85, from Modules/common.h:10, from Modules/LDAPObject.c:4: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp//cc5IXFBh.out error: command 'gcc' failed with exit status 1 Any help you can give me would be great. John |