From: Andrew T. <ajt...@op...> - 2003-08-06 02:51:46
|
Just carrying on from my previous query.. any suggestions here.. this is when I'm trying to build pyldap. thanks, ajt. 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) |
From: <mi...@st...> - 2003-08-06 06:30:26
|
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. |
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 |
From: <mi...@st...> - 2003-08-06 07:45:22
|
Andrew Thomson wrote: > On Wed, 2003-08-06 at 16:30, Michael Str=F6der wrote: > >>Did you edit setup.cfg to point to your OpenLDAP client libs? > > I admit that i'm still using the freebsd ports to compile this.. Since I have no clue about FreeBSD I can't help. Please ask the maintaine= r=20 of the FreeBSD port. > the port does go through an updated the setup.cfg with the locations o= f > 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 Can you find ldap.h in /usr/local/include ? > The port is sitting at py23-ldap2-2.0.0pre04.. I noticed a couple of > newer versions had been released.. 2.0.0pre04 is pretty ancient and I'm rather reluctant giving support for = outdated versions. Ciao, Michael. |
From: Andrew T. <ajt...@op...> - 2003-08-06 07:55:40
|
Thanks Michael, I'll look at updating the port!! -rw-r--r-- 1 root wheel 39901 Aug 5 13:13 ldap.h athomson# pwd /usr/local/include cheers, ajt. On Wed, 2003-08-06 at 17:44, Michael Str=F6der wrote: > Andrew Thomson wrote: > > On Wed, 2003-08-06 at 16:30, Michael Str=F6der wrote: > > > >>Did you edit setup.cfg to point to your OpenLDAP client libs? > > > > I admit that i'm still using the freebsd ports to compile this.. >=20 > Since I have no clue about FreeBSD I can't help. Please ask the maintaine= r=20 > of the FreeBSD port. >=20 > > the port does go through an updated the setup.cfg with the locations o= f > > 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 >=20 > Can you find ldap.h in /usr/local/include ? >=20 > > The port is sitting at py23-ldap2-2.0.0pre04.. I noticed a couple of > > newer versions had been released.. >=20 > 2.0.0pre04 is pretty ancient and I'm rather reluctant giving support for=20 > outdated versions. >=20 > Ciao, Michael. >=20 >=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 |
From: Andrew T. <ajt...@op...> - 2003-08-06 09:19:39
|
On Wed, 2003-08-06 at 17:44, Michael Str=F6der wrote: > Andrew Thomson wrote: > > On Wed, 2003-08-06 at 16:30, Michael Str=F6der wrote: > > > >>Did you edit setup.cfg to point to your OpenLDAP client libs? > > > > I admit that i'm still using the freebsd ports to compile this.. >=20 > Since I have no clue about FreeBSD I can't help. Please ask the maintaine= r=20 > of the FreeBSD port. >=20 > > the port does go through an updated the setup.cfg with the locations o= f > > 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 >=20 > Can you find ldap.h in /usr/local/include ? >=20 > > The port is sitting at py23-ldap2-2.0.0pre04.. I noticed a couple of > > newer versions had been released.. >=20 > 2.0.0pre04 is pretty ancient and I'm rather reluctant giving support for=20 > outdated versions. >=20 thanks again Michael, I hacked up the freebsd port for py-ldap and got it to install with the latest version! pkg_info| grep ldap openldap-2.1.22 Open source LDAP client and server software py23-ldap2-2.0.0pre13 An LDAP module for python, for OpenLDAP2 I'll tell you what, this new version of openldap isn't so carefree with this structual objectclass business.. anyway, thanks for the assistance. ajt. > Ciao, Michael. >=20 >=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 |