|
From: Matej V. <ve...@de...> - 2007-05-09 15:13:58
|
"Einar N=E6ss Jensen" <ein...@gm...> writes:
> 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)
[...]
>
> I have an earlier version of python-ldap, 2.0-pre19 (I I remember
> correctly) which is no trouble at all installing.
The current version of python-ldap requires version 2.3.0 of OpenLDAP
libraries, while Etch provides 2.1.30. (AFAIK, this is mostly due to
compatibility problems that would arise if an application simultaneously
used differing versions of libldap and libnss-ldap. Etch does ship with
slapd 2.3.30.)
If you don't mind using a slightly older version (2.2.1), simply install
the Debian package:
# apt-get install python-ldap
If you'd like to compile your own, apply the Debian patch from
<http://ftp.debian.org/debian/pool/main/p/python-ldap/python-ldap_2.3-2.dif=
f.gz>.
Cheers,
Matej
|