mwilliamson@NYCOSVRLNX02:/opt/Plone-3.0.4/Python-2.4.4/python-ldap-2.3.1$ sudo ../bin/python setup.py build extra_compile_args: extra_objects: include_dirs: /usr/local/openldap-2.3/include /usr/include/sasl library_dirs: /usr/local/openldap-2.3/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 creating build/lib.linux-i686-2.4 copying Lib/ldapurl.py -> build/lib.linux-i686-2.4 copying Lib/ldif.py -> build/lib.linux-i686-2.4 copying Lib/dsml.py -> build/lib.linux-i686-2.4 creating build/lib.linux-i686-2.4/ldap copying Lib/ldap/__init__.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/async.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/controls.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/cidict.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/dn.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/filter.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/functions.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/ldapobject.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/modlist.py -> build/lib.linux-i686-2.4/ldap copying Lib/ldap/sasl.py -> build/lib.linux-i686-2.4/ldap creating build/lib.linux-i686-2.4/ldap/schema copying Lib/ldap/schema/__init__.py -> build/lib.linux-i686-2.4/ldap/schema copying Lib/ldap/schema/models.py -> build/lib.linux-i686-2.4/ldap/schema copying Lib/ldap/schema/subentry.py -> build/lib.linux-i686-2.4/ldap/schema copying Lib/ldap/schema/tokenizer.py -> build/lib.linux-i686-2.4/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 creating Lib/python_ldap.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 writing manifest file 'Lib/python_ldap.egg-info/SOURCES.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.linux-i686-2.4 creating build/temp.linux-i686-2.4/Modules /usr/bin/gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.1 -IModules -I/usr/local/openldap-2.3/include -I/usr/include/sasl -I/opt/Plone-3.0.4/Python-2.4.4/include/python2.4 -c Modules/LDAPObject.c -o build/temp.linux-i686-2.4/Modules/LDAPObject.o In file included from Modules/LDAPObject.c:21: /usr/include/sasl/sasl.h:349: warning: function declaration isnât a prototype /usr/bin/gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.1 -IModules -I/usr/local/openldap-2.3/include -I/usr/include/sasl -I/opt/Plone-3.0.4/Python-2.4.4/include/python2.4 -c Modules/ldapcontrol.c -o build/temp.linux-i686-2.4/Modules/ldapcontrol.o /usr/bin/gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.1 -IModules -I/usr/local/openldap-2.3/include -I/usr/include/sasl -I/opt/Plone-3.0.4/Python-2.4.4/include/python2.4 -c Modules/common.c -o build/temp.linux-i686-2.4/Modules/common.o /usr/bin/gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.1 -IModules -I/usr/local/openldap-2.3/include -I/usr/include/sasl -I/opt/Plone-3.0.4/Python-2.4.4/include/python2.4 -c Modules/constants.c -o build/temp.linux-i686-2.4/Modules/constants.o Modules/constants.c: In function âLDAPinit_constantsâ: Modules/constants.c:126: error: âLDAP_MOD_INCREMENTâ undeclared (first use in this function) Modules/constants.c:126: error: (Each undeclared identifier is reported only once Modules/constants.c:126: error: for each function it appears in.) Modules/constants.c:179: error: âLDAP_OPT_X_TLS_CRLCHECKâ undeclared (first use in this function) Modules/constants.c:180: error: âLDAP_OPT_X_TLS_CRL_NONEâ undeclared (first use in this function) Modules/constants.c:181: error: âLDAP_OPT_X_TLS_CRL_PEERâ undeclared (first use in this function) Modules/constants.c:182: error: âLDAP_OPT_X_TLS_CRL_ALLâ undeclared (first use in this function) Modules/constants.c:208: error: âLDAP_AVA_NULLâ undeclared (first use in this function) error: command '/usr/bin/gcc' failed with exit status 1 mwilliamson@NYCOSVRLNX02:/opt/Plone-3.0.4/Python-2.4.4/python-ldap-2.3.1$ sudo ../bin/python setup.py install extra_compile_args: extra_objects: include_dirs: /usr/local/openldap-2.3/include /usr/include/sasl library_dirs: /usr/local/openldap-2.3/lib libs: ldap_r lber sasl2 ssl crypto running install running bdist_egg 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' installing library code to build/bdist.linux-i686/egg running install_lib running build_py file Lib/ldap.py (for module ldap) not found file Lib/ldap/schema.py (for module ldap.schema) not found file Lib/ldap.py (for module ldap) not found file Lib/ldap/schema.py (for module ldap.schema) not found running build_ext building '_ldap' extension /usr/bin/gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.1 -IModules -I/usr/local/openldap-2.3/include -I/usr/include/sasl -I/opt/Plone-3.0.4/Python-2.4.4/include/python2.4 -c Modules/constants.c -o build/temp.linux-i686-2.4/Modules/constants.o Modules/constants.c: In function âLDAPinit_constantsâ: Modules/constants.c:126: error: âLDAP_MOD_INCREMENTâ undeclared (first use in this function) Modules/constants.c:126: error: (Each undeclared identifier is reported only once Modules/constants.c:126: error: for each function it appears in.) Modules/constants.c:179: error: âLDAP_OPT_X_TLS_CRLCHECKâ undeclared (first use in this function) Modules/constants.c:180: error: âLDAP_OPT_X_TLS_CRL_NONEâ undeclared (first use in this function) Modules/constants.c:181: error: âLDAP_OPT_X_TLS_CRL_PEERâ undeclared (first use in this function) Modules/constants.c:182: error: âLDAP_OPT_X_TLS_CRL_ALLâ undeclared (first use in this function) Modules/constants.c:208: error: âLDAP_AVA_NULLâ undeclared (first use in this function) error: command '/usr/bin/gcc' failed with exit status 1