From: Stephane B. <bor...@ne...> - 2001-04-22 19:28:32
|
I can compile 1.0alpha3 without any problem on my Debian 2.2 ("potato") machine (this is OpenLDAP version 1) but, on a future-2.3 ("woody") machine, which has OpenLDAP 2: % gcc -fPIC -I. -DLDAP_REFERRALS -g -O2 -Wall -Wstrict-prototypes -I/usr/include/python2.0 -I/usr/include/python2.0 -DHAVE_CONFIG_H -c /home/bortzmeyer/tmp/python-ldap-1.10alpha3/Modules/constants.c /home/bortzmeyer/tmp/python-ldap-1.10alpha3/Modules/constants.c: In function `LDAPinit_constants': /home/bortzmeyer/tmp/python-ldap-1.10alpha3/Modules/constants.c:69: `LDAP_MAX_ATTR_LEN' undeclared (first use in this function) /home/bortzmeyer/tmp/python-ldap-1.10alpha3/Modules/constants.c:69: (Each undeclared identifier is reported only once /home/bortzmeyer/tmp/python-ldap-1.10alpha3/Modules/constants.c:69: for each function it appears in.) /home/bortzmeyer/tmp/python-ldap-1.10alpha3/Modules/constants.c:82: `LDAP_REQ_UNBIND_30' undeclared (first use in this function) ... Rightly, I do not find these symbols anywhere in OpenLDAP header files. I've read the archives of the mailing list and noted the thread "compiling against OpenLDAP 2.0.7" last month but I'm pessimistic: it seems there is no known solution. Is is incredible that OpenLDAP 2 is still not supported. Is the software dead? Is there another Python-LDAP solution? <troll>Should I program in Perl?</troll> |