after "make install" i get the following error message:
...
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
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.0.4 -IModules -I/usr/local/openldap-OPENLDAP_REL_ENG_2_2/include -I/usr/local/sasl/include/sasl -I/usr/include/sasl -I/usr/lib/exchange4linux/include/python2.3-e4l -c Modules/constants.c -o build/temp.linux-i686-2.3/Modules/constants.o
Modules/constants.c:10:18: lber.h: No such file or directory
Modules/constants.c:11:18: ldap.h: No such file or directory
Modules/constants.c: In function `LDAPinit_constants':
Modules/constants.c:52: error: `LDAP_API_VERSION' undeclared (first use in this function)
Modules/constants.c:52: error: (Each undeclared identifier is reported only once
Modules/constants.c:52: error: for each function it appears in.)
....
error: command 'gcc' failed with exit status 1
make: *** [install-python-ldap] Error 1
It seems that the ldap source code is missing ?
How can i get and install the code.
Any idea ?
Thank you
balubaer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
after "make install" i get the following error message:
...
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
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.0.4 -IModules -I/usr/local/openldap-OPENLDAP_REL_ENG_2_2/include -I/usr/local/sasl/include/sasl -I/usr/include/sasl -I/usr/lib/exchange4linux/include/python2.3-e4l -c Modules/constants.c -o build/temp.linux-i686-2.3/Modules/constants.o
Modules/constants.c:10:18: lber.h: No such file or directory
Modules/constants.c:11:18: ldap.h: No such file or directory
Modules/constants.c: In function `LDAPinit_constants':
Modules/constants.c:52: error: `LDAP_API_VERSION' undeclared (first use in this function)
Modules/constants.c:52: error: (Each undeclared identifier is reported only once
Modules/constants.c:52: error: for each function it appears in.)
....
error: command 'gcc' failed with exit status 1
make: *** [install-python-ldap] Error 1
It seems that the ldap source code is missing ?
How can i get and install the code.
Any idea ?
Thank you
balubaer
Hi
on SuSE 9.2 you need these packages:
readline-devel
openssl
openssl-devel
python-openssl
openldap2
openldap2-devel
python-ldap
cyrus-sasl-devel
Seems that you only need the ldap stuff for going on.
regards
hps