pyldap and openldap 2.1.22

Andrew Thomson ajthomson at optushome.com.au
Wed Aug 6 09:05:44 CEST 2003


On Wed, 2003-08-06 at 16:30, Michael Ströder wrote:
> Andrew Thomson wrote:
>  > Just carrying on from my previous query.. any suggestions here.. this is
>  > when I'm trying to build pyldap.
>  >
>  > EQUEST -DLDAPMODULE_VERSION=2.0.0pre04 -IModules -I/usr/local/include
>  > -I/usr/local/include/python2.3 -c Modules/constants.c -o
>  > build/temp.freebsd-5.0-RELEASE-p7-i386-2.3/Modules/constants.o
>  > Modules/constants.c: In function `LDAPinit_constants':
>  > Modules/constants.c:171: `LDAP_FILT_MAXSIZ' undeclared (first use in
>  > this function)
> 
> This does give very much information.
> 
> Did you edit setup.cfg to point to your OpenLDAP client libs?
> 
> Ciao, Michael.
> 

I admit that i'm still using the freebsd ports to compile this..

the port does go through an updated the setup.cfg with the locations of
the ldap libraries and includes.

# Section for compiling the C extension module
# for wrapping OpenLDAP 2 libs

[_ldap]
class = OpenLDAP2
library_dirs = /usr/local/lib
include_dirs = /usr/local/include
libs = lber ldap

# Installation options

[install]

compile = 1
optimize = 1

The port is sitting at py23-ldap2-2.0.0pre04.. I noticed a couple of
newer versions had been released..

thanks for the help,

ajt.

> 
> 
> 


More information about the python-ldap mailing list