From: Andrew T. <ajt...@op...> - 2003-08-06 07:06:21
|
On Wed, 2003-08-06 at 16:30, Michael Str=F6der 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=3D2.0.0pre04 -IModules -I/usr/local/includ= e > > -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) >=20 > This does give very much information. >=20 > Did you edit setup.cfg to point to your OpenLDAP client libs? >=20 > Ciao, Michael. >=20 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 =3D OpenLDAP2 library_dirs =3D /usr/local/lib include_dirs =3D /usr/local/include libs =3D lber ldap # Installation options [install] compile =3D 1 optimize =3D 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. >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/= 01 > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev >=20 |