error when build and install

Einar Næss Jensen einar.nass.jensen at
Wed May 9 15:18:15 CEST 2007

trying to build on debian etch, with ssl, I get this error:
ldap-python version is 2.3
python-version is 2.4.4
openssl and sasl are installed

Modules/constants.c: In function âLDAPinit_constantsâ:
Modules/constants.c:178: error: âLDAP_OPT_X_TLS_CRLCHECKâ undeclared (first
use in this function)
Modules/constants.c:178: error: (Each undeclared identifier is reported only
Modules/constants.c:178: error: for each function it appears in.)
Modules/constants.c:179: error: âLDAP_OPT_X_TLS_CRL_NONEâ undeclared (first
use in this function)
Modules/constants.c:180: error: âLDAP_OPT_X_TLS_CRL_PEERâ undeclared (first
use in this function)
Modules/constants.c:181: error: âLDAP_OPT_X_TLS_CRL_ALLâ undeclared (first
use in this function)
Modules/constants.c:207: error: âLDAP_AVA_NULLâ undeclared (first use in
this function)
error: command 'gcc' failed with exit status 1

I have an earlier version of python-ldap, 2.0-pre19 (I I remember correctly)
which is no trouble at all installing.

any help apreciated

Best regards

Einar Næss Jensen
tlf: +47 90990249
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the python-ldap mailing list