From: Michael <mi...@st...> - 2000-10-05 19:12:42
|
HI! I tried to build python-ldap against Netscape's LDAP-C-SDK. I had to choose version 4.11 because 3.x is not avaiable for Linux-Kernel 2.2.x and glibc2.1. ./configure --prefix=/usr --with-python=/usr/bin/python1.6 --with-ldap=~/src/ldapsdk-41 runs ok but make fails with: make[1]: Entering directory `/home/michael/Proj/python/ldap/python-ldap/python-ldap/Modules' gcc -fpic -I. -DLDAP_REFERRALS -I~/src/ldapsdk-41/include -g -O2 -I/usr/include/python1.6 -I/usr/include/python1.6 -DHAVE_CONFIG_H -c /home/michael/Proj/python/ldap/python-ldap/python-ldap/Modules/LDAPObject.c /home/michael/Proj/python/ldap/python-ldap/python-ldap/Modules/LDAPObject.c: In function `l_ldap_set_rebind_proc': /home/michael/Proj/python/ldap/python-ldap/python-ldap/Modules/LDAPObject.c:595: too many arguments to function `ldap_set_rebind_proc' /home/michael/Proj/python/ldap/python-ldap/python-ldap/Modules/LDAPObject.c:609: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type /home/michael/Proj/python/ldap/python-ldap/python-ldap/Modules/LDAPObject.c:609: too many arguments to function `ldap_set_rebind_proc' make[1]: *** [LDAPObject.o] Error 1 make[1]: Leaving directory `/home/michael/Proj/python/ldap/python-ldap/python-ldap/Modules' make: *** [_ldapmodule-build] Error 2 I guess Netscape changed the API. Hmm, can this be easily fixed? I would like to have the possibility to bind with LDAPv3 to a server. IMHO this could be achieved with building python-ldap against Netscape's SDK. Ciao, Michael. |