From: Ben O. <zo...@th...> - 2002-01-02 17:48:50
|
Hi; Got this on make: make[1]: *** [constants.o] Error 1 make[1]: Leaving directory `/usr/local/python-ldap-1.10alpha3/Modules' make: *** [_ldapmodule-build] Error 2 I've used every available flag in my config to try to eliminate any problems: #sh configure --with-ldap=/usr/local/openldap --with-ldap-lib=/usr/local/openldap/libraries --with-ldap-inc=/usr/local/openldap/include --with-python=/usr/local/bin/python --with-kerberos --with-kerberos-lib=/usr/krb5-1.2.2/src/lib What am I missing? TIA, BenO |
From: Peeyush G. <pee...@ka...> - 2002-01-03 02:17:33
|
Hi, I get the following error message while doing a 'make'. In file included from = /home/zope/zope250b2/include/python2.1/Python.h:54, from Modules/common.h:27, from Modules/LDAPObject.c:10: /home/zope/zope250b2/include/python2.1/pyport.h:4:46: config.h: No such = file or directory error: command 'gcc' failed with exit status 1 As I understand the problem is with the file config.h. It simply doesn't = exist in th Python2.1 include directory. But it is referenced in = Python.h. Am I having some files missing in my python installation?? Any thoughts... Thanks, Peeyush. |
From: Jens V. <je...@zo...> - 2002-01-03 02:42:25
|
it looks like your python came as part of a zope binary. those may not=20= include all necessary header files. i suggest you get a separate "real" python install and use the zope = source=20 distribution instead. jens On Wednesday, January 2, 2002, at 09:16 , Peeyush Garg wrote: > Hi, > =A0 > I get the following error message while doing a 'make'. > =A0 > In file included from = /home/zope/zope250b2/include/python2.1/Python.h:54, > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from = Modules/common.h:27, > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from = Modules/LDAPObject.c:10: > /home/zope/zope250b2/include/python2.1/pyport.h:4:46: config.h: No = such=20 > file or directory > error: command 'gcc' failed with exit status 1 > As I understand the problem is with the file config.h. It simply = doesn't=20 > exist in th Python2.1 include directory. But it is referenced in = Python.h. > Am I having some files missing in my python installation?? > Any thoughts... > =A0 > Thanks, > Peeyush. |
From: Peeyush G. <pee...@ka...> - 2002-01-03 02:45:53
|
That's correct. I installed it from a binary. Thanks a lot. But meanwhile, I created an empty config.h and it seems to work. Any problems expected in future because of this?? Peeyush. ----- Original Message ----- From: "Jens Vagelpohl" <je...@zo...> To: "Peeyush Garg" <pee...@ka...> Cc: <pyt...@li...> Sent: Wednesday, January 02, 2002 6:42 PM Subject: Re: Installation Problem it looks like your python came as part of a zope binary. those may not include all necessary header files. i suggest you get a separate "real" python install and use the zope source distribution instead. jens On Wednesday, January 2, 2002, at 09:16 , Peeyush Garg wrote: > Hi, > > I get the following error message while doing a 'make'. > > In file included from /home/zope/zope250b2/include/python2.1/Python.h:54, > from Modules/common.h:27, > from Modules/LDAPObject.c:10: > /home/zope/zope250b2/include/python2.1/pyport.h:4:46: config.h: No such > file or directory > error: command 'gcc' failed with exit status 1 > As I understand the problem is with the file config.h. It simply doesn't > exist in th Python2.1 include directory. But it is referenced in Python.h. > Am I having some files missing in my python installation?? > Any thoughts... > > Thanks, > Peeyush. |
From: Michael <mi...@st...> - 2002-01-03 11:32:17
|
Peeyush Garg wrote: > > From: "Jens Vagelpohl" <je...@zo...> > > > it looks like your python came as part of a zope binary. those may not > > include all necessary header files. > > > > i suggest you get a separate "real" python install and use the zope source > > distribution instead. > > That's correct. I installed it from a binary. Thanks a lot. But meanwhile, I > created an empty config.h and it seems to work. Any problems expected in > future because of this?? Please follow Jens' advice! Get a full install of the Python interpreter with all header files necessary to build Python C extensions! Otherwise we python-ldap people have no chance to help you. (I'm glad that Jens mentioned the stripped binary Python interpreter of Zope since I have no idea about Zope-specific things). Ciao, Michael. |
From: Peeyush G. <pee...@ka...> - 2002-01-04 03:37:22
|
Thanks for the inputs. But, now I get another error... warning: build_py: file Lib/ldap.py (for module ldap) not found can this warning be ignored?? i could not find ldap.py even in current CVS. Even though it is compiled and Zope doesn't complain (it shows installed product), I cannot get to connect to LDAP server. Is this problem because of the above file?? ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Peeyush Garg" <pee...@ka...> Cc: <pyt...@li...> Sent: Thursday, January 03, 2002 3:32 AM Subject: Re: Installation Problem > Peeyush Garg wrote: > > > > From: "Jens Vagelpohl" <je...@zo...> > > > > > it looks like your python came as part of a zope binary. those may not > > > include all necessary header files. > > > > > > i suggest you get a separate "real" python install and use the zope source > > > distribution instead. > > > > That's correct. I installed it from a binary. Thanks a lot. But meanwhile, I > > created an empty config.h and it seems to work. Any problems expected in > > future because of this?? > > Please follow Jens' advice! > > Get a full install of the Python interpreter with all header files > necessary to build Python C extensions! Otherwise we python-ldap > people have no chance to help you. (I'm glad that Jens mentioned the > stripped binary Python interpreter of Zope since I have no idea > about Zope-specific things). > > Ciao, Michael. > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Michael <mi...@st...> - 2002-01-04 14:38:24
|
Peeyush Garg wrote: > > warning: build_py: file Lib/ldap.py (for module ldap) not found You can ignore that. > i could not find ldap.py even in current CVS. It has been substituted by Lib/ldap/*.py. > I cannot get to connect to LDAP server. Is this problem because of > the above file?? No. Any traceback you can send us? Note that _ldap.open() does not work anymore. Use ldap.open() instead. I've updated the README. Ciao, Michael. |
From: Peeyush G. <pee...@ka...> - 2002-01-04 18:46:52
|
Hi, Let me explain the problem in more detail because I do not have a 'direct' traceback. I have Zope(2.5.0b2) and LDAP(2.0.18) server installed on the same Linux machine. If I try to access LDAP server from Zope it says 'connection settings not ok....'. The interesting part is that when I install LDAPUserFolder on another installation of Zope(2.4.3) on a WinNT(4.1 workstation) machine, it connects beautifully with the same settings. Following is a traceback that I get when I try to search for users(without even being connected, just for the purpose of getting some traceback): Traceback (innermost last): File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 151, in publish_module File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 115, in publish File /home/zope/zope250b2/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook (Object: acl_users) File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 99, in publish File /home/zope/zope250b2/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: manage_userrecords) File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 40, in call_object (Object: manage_userrecords) File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in __call__ (Object: manage_userrecords) File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in _bindAndExec (Object: manage_userrecords) File /home/zope/zope250b2/lib/python/App/special_dtml.py, line 172, in _exec (Object: manage_userrecords) File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, line 76, in render (Object: cur_vals="getUserDetails(encoded_dn=user_dn, format='dictionary')") File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_In.py, line 695, in renderwob (Object: getLDAPSchema()) File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, line 75, in render (Object: sk="_['sequence-key']" si="_['sequence-item']" cur_val="_.string.join( cur_vals.get( sk, '' ) )") File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: _.string.join( cur_vals.get( sk, '' ) )) (Info: sk) File <string>, line 0, in ? AttributeError: (see above) Installing on WinNT did take me some half a day to make it working (that was my first experience with LDAP) but getting to connect from the same Linux machine has taken me 2 days without much luck. Any help is appreciated. Thanks, Peeyush. ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Peeyush Garg" <pee...@ka...> Cc: <pyt...@li...> Sent: Friday, January 04, 2002 4:38 AM Subject: Re: Installation Problem > Peeyush Garg wrote: > > > > warning: build_py: file Lib/ldap.py (for module ldap) not found > > You can ignore that. > > > i could not find ldap.py even in current CVS. > > It has been substituted by Lib/ldap/*.py. > > > I cannot get to connect to LDAP server. Is this problem because of > > the above file?? > > No. Any traceback you can send us? Note that _ldap.open() does not > work anymore. Use ldap.open() instead. I've updated the README. > > Ciao, Michael. |
From: Joe L. <jl...@op...> - 2002-01-04 18:56:08
|
This definitely looks like something specific to Zope and this beta release of said product. You likely want to ask lists specific to Zope. There are n= o traces or exceptions coming from access to the python-ldap modules, and so = I would suggest using a released Zope product (2.4.x) instead of the 2.5 beta series. On 1/4/02 10:46 AM, "Peeyush Garg" <pee...@ka...> wrote: > Hi, >=20 > Let me explain the problem in more detail because I do not have a 'direct= ' > traceback. I have Zope(2.5.0b2) and LDAP(2.0.18) server installed on the > same Linux machine. If I try to access LDAP server from Zope it says > 'connection settings not ok....'. The interesting part is that when I > install LDAPUserFolder on another installation of Zope(2.4.3) on a WinNT(= 4.1 > workstation) machine, it connects beautifully with the same settings. >=20 > Following is a traceback that I get when I try to search for users(withou= t > even being connected, just for the purpose of getting some traceback): >=20 > Traceback (innermost last): > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 151, in > publish_module > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 115, in > publish > File /home/zope/zope250b2/lib/python/Zope/__init__.py, line 158, in > zpublisher_exception_hook > (Object: acl_users) > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 99, in > publish > File /home/zope/zope250b2/lib/python/ZPublisher/mapply.py, line 88, in > mapply > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 40, in > call_object > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, line > 252, in __call__ > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, line > 283, in _bindAndExec > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/App/special_dtml.py, line 172, in > _exec > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, line 76, > in render > (Object: cur_vals=3D"getUserDetails(encoded_dn=3Duser_dn, > format=3D'dictionary')") > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_In.py, line 695, > in renderwob > (Object: getLDAPSchema()) > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, line 75, > in render > (Object: sk=3D"_['sequence-key']" > si=3D"_['sequence-item']" > cur_val=3D"_.string.join( cur_vals.get( sk, '' ) )") > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Util.py, line > 159, in eval > (Object: _.string.join( cur_vals.get( sk, '' ) )) > (Info: sk) > File <string>, line 0, in ? > AttributeError: (see above) >=20 >=20 > Installing on WinNT did take me some half a day to make it working (that = was > my first experience with LDAP) but getting to connect from the same Linux > machine has taken me 2 days without much luck. Any help is appreciated. >=20 > Thanks, > Peeyush. > ----- Original Message ----- > From: "Michael Str=F6der" <mi...@st...> > To: "Peeyush Garg" <pee...@ka...> > Cc: <pyt...@li...> > Sent: Friday, January 04, 2002 4:38 AM > Subject: Re: Installation Problem >=20 >=20 >> Peeyush Garg wrote: >>>=20 >>> warning: build_py: file Lib/ldap.py (for module ldap) not found >>=20 >> You can ignore that. >>=20 >>> i could not find ldap.py even in current CVS. >>=20 >> It has been substituted by Lib/ldap/*.py. >>=20 >>> I cannot get to connect to LDAP server. Is this problem because of >>> the above file?? >>=20 >> No. Any traceback you can send us? Note that _ldap.open() does not >> work anymore. Use ldap.open() instead. I've updated the README. >>=20 >> Ciao, Michael. >=20 >=20 > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Michael <mi...@st...> - 2002-01-04 19:02:33
|
Peeyush Garg wrote: > > If I try to access LDAP server from Zope it says > 'connection settings not ok....'. I'd suggest that you write a small test script to figure out if it's a python-ldap issue. You could open connection to your LDAP server and simply read root DSE entry (if LDAPv3 server). Something like ---------------------- snip --------------------- import ldap # Open LDAP connection l=ldap.open('myldaphost:port') # Read the root DSE l.search_s('',ldap.SCOPE_BASE,'(objectClass=*)') # Unbind and disconnect l.unbind_s() ---------------------- snip --------------------- Ciao, Michael. |
From: Peeyush G. <pee...@ka...> - 2002-01-04 22:54:59
|
Michael, Ur script works perfectly and i can see the debugging messages in my LDAP server that it has been connected. But, as Jens pointed out in Zope mailing list that he's able to run it successfully on Zope 2.5.0b3, I too installed the same but it gives me the same error. I seem to be getting nearer to my problem but still far. I still have no clue. Thanks, Peeysuh. ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Peeyush Garg" <pee...@ka...> Cc: <pyt...@li...> Sent: Friday, January 04, 2002 11:03 AM Subject: Re: Installation Problem > Peeyush Garg wrote: > > > > If I try to access LDAP server from Zope it says > > 'connection settings not ok....'. > > I'd suggest that you write a small test script to figure out if it's > a python-ldap issue. You could open connection to your LDAP server > and simply read root DSE entry (if LDAPv3 server). > > Something like > > ---------------------- snip --------------------- > import ldap > > # Open LDAP connection > l=ldap.open('myldaphost:port') > > # Read the root DSE > l.search_s('',ldap.SCOPE_BASE,'(objectClass=*)') > > # Unbind and disconnect > l.unbind_s() > ---------------------- snip --------------------- > > Ciao, Michael. > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Jens V. <je...@zo...> - 2002-01-04 19:48:54
|
this is only "half" the information needed to solve the problem. above = the=20 traceback it should tell you what the attribute error is on. jens P.S.: as the author of the LDAPUserFolder product i can't make any=20 guarantees about zope 2.5 compatibility until there is a released final=20= version of zope 2.5. if you are in doubt you should test the same=20 situation using zope 2.4.3 On Friday, January 4, 2002, at 01:46 , Peeyush Garg wrote: > Hi, > > Let me explain the problem in more detail because I do not have a = 'direct' > traceback. I have Zope(2.5.0b2) and LDAP(2.0.18) server installed on = the > same Linux machine. If I try to access LDAP server from Zope it says > 'connection settings not ok....'. The interesting part is that when I > install LDAPUserFolder on another installation of Zope(2.4.3) on a = WinNT( > 4.1 > workstation) machine, it connects beautifully with the same settings. > > Following is a traceback that I get when I try to search for = users(without > even being connected, just for the purpose of getting some traceback): > > Traceback (innermost last): > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line = 151, in > publish_module > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line = 115, in > publish > File /home/zope/zope250b2/lib/python/Zope/__init__.py, line 158, in > zpublisher_exception_hook > (Object: acl_users) > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 99, = in > publish > File /home/zope/zope250b2/lib/python/ZPublisher/mapply.py, line 88, = in > mapply > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 40, = in > call_object > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, = line > 252, in __call__ > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, = line > 283, in _bindAndExec > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/App/special_dtml.py, line 172, = in > _exec > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, = line=20 > 76, > in render > (Object: cur_vals=3D"getUserDetails(encoded_dn=3Duser_dn, > format=3D'dictionary')") > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_In.py, line=20= > 695, > in renderwob > (Object: getLDAPSchema()) > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, = line=20 > 75, > in render > (Object: sk=3D"_['sequence-key']" > si=3D"_['sequence-item']" > cur_val=3D"_.string.join( cur_vals.get( sk, '' ) )") > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Util.py, = line > 159, in eval > (Object: _.string.join( cur_vals.get( sk, '' ) )) > (Info: sk) > File <string>, line 0, in ? > AttributeError: (see above) > > > Installing on WinNT did take me some half a day to make it working = (that=20 > was > my first experience with LDAP) but getting to connect from the same = Linux > machine has taken me 2 days without much luck. Any help is = appreciated. > > Thanks, > Peeyush. > ----- Original Message ----- > From: "Michael Str=F6der" <mi...@st...> > To: "Peeyush Garg" <pee...@ka...> > Cc: <pyt...@li...> > Sent: Friday, January 04, 2002 4:38 AM > Subject: Re: Installation Problem > > >> Peeyush Garg wrote: >>> >>> warning: build_py: file Lib/ldap.py (for module ldap) not found >> >> You can ignore that. >> >>> i could not find ldap.py even in current CVS. >> >> It has been substituted by Lib/ldap/*.py. >> >>> I cannot get to connect to LDAP server. Is this problem because of >>> the above file?? >> >> No. Any traceback you can send us? Note that _ldap.open() does not >> work anymore. Use ldap.open() instead. I've updated the README. >> >> Ciao, Michael. > > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Michael <mi...@st...> - 2002-01-04 22:56:20
|
Jens Vagelpohl wrote: > > this is only "half" the information needed to solve the problem. above the > traceback it should tell you what the attribute error is on. > > jens > > P.S.: as the author of the LDAPUserFolder product i can't make any > guarantees about zope 2.5 compatibility until there is a released final > version of zope 2.5. if you are in doubt you should test the same > situation using zope 2.4.3 I conclude that this has nothing to do with python-ldap and should therefore be discussed on a Zope-related mailing list. Ciao, Michael. |
From: Rachel F. <rac...@ya...> - 2006-11-20 18:20:08
|
Hi;=0AI'm trying to install on Python 2.3.5/FreeBSD 6.1 but I get this erro= r:=0A=0Apython setup.py install=0Arunning install=0Arunning build=0Arunning= build_py=0Aerror: package directory 'Lib' does not exist=0A=0AWhat do?=0AT= IA,=0ARachel=0A=0A=0A |
From: Jens V. <je...@da...> - 2006-11-20 18:31:56
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20 Nov 2006, at 19:19, Rachel Florentine wrote: > Hi; > I'm trying to install on Python 2.3.5/FreeBSD 6.1 but I get this > error: > > python setup.py install > running install > running build > running build_py > error: package directory 'Lib' does not exist > > What do? > TIA, > Rachel "Rachel Florentine"? How odd, you just communicated with me under the name "Nancy Donnelly". What's this all about? jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFYfR3RAx5nvEhZLIRAv6CAKCZspy7ptjdZ3kbq+HqelVpRkadrgCfTAoT hRTnkH03Jx8uUhPvRrbd80g= =fDCx -----END PGP SIGNATURE----- |
From: Tom M. <tmc...@sd...> - 2006-12-02 03:52:52
|
On Mon, 2006-11-20 at 10:19 -0800, Rachel Florentine wrote: > Hi; > I'm trying to install on Python 2.3.5/FreeBSD 6.1 but I get this > error: > > python setup.py install > running install > running build > running build_py > error: package directory 'Lib' does not exist > > What do? > TIA, > Rachel > Just install from the FreeBSD ports tree. cd /usr/ports/net/py-ldap2 && make install clean tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | | BSD# http://www.mono-project.com/Mono:FreeBSD | |
From: Michael <mi...@st...> - 2002-01-02 17:57:03
|
Ben Ocean wrote: > > make[1]: *** [constants.o] Error 1 > make[1]: Leaving directory `/usr/local/python-ldap-1.10alpha3/Modules' > make: *** [_ldapmodule-build] Error 2 Well, you snipped the compiler's error message. Which version of the OpenLDAP libs are you using? python-ldap-1.10alpha3 can't be compiled against OpenLDAP 2.x. Ciao, Michael. |
From: Ben O. <zo...@th...> - 2002-01-02 18:14:23
|
At 06:58 PM 1/2/02 +0100, you wrote: >Ben Ocean wrote: > > > > make[1]: *** [constants.o] Error 1 > > make[1]: Leaving directory `/usr/local/python-ldap-1.10alpha3/Modules' > > make: *** [_ldapmodule-build] Error 2 > >Well, you snipped the compiler's error message. > >Which version of the OpenLDAP libs are you using? >python-ldap-1.10alpha3 can't be compiled against OpenLDAP 2.x. Darn. I was afraid of that. Is there no bridge for python2x and openldap2x? TIA, BenO |
From: Joe L. <jl...@op...> - 2002-01-02 18:22:16
|
take the latest CVS snapshot or grab my RPMs.. they are designed for OpenLDAP 2.x and do work with python 2.x (2.1 for the RPM) On 1/2/02 10:14 AM, "Ben Ocean" <zo...@th...> wrote: > At 06:58 PM 1/2/02 +0100, you wrote: >> Ben Ocean wrote: >>> >>> make[1]: *** [constants.o] Error 1 >>> make[1]: Leaving directory `/usr/local/python-ldap-1.10alpha3/Modules' >>> make: *** [_ldapmodule-build] Error 2 >> >> Well, you snipped the compiler's error message. >> >> Which version of the OpenLDAP libs are you using? >> python-ldap-1.10alpha3 can't be compiled against OpenLDAP 2.x. > > Darn. I was afraid of that. Is there no bridge for python2x and openldap2x? > TIA, > BenO > > > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Jens V. <je...@zo...> - 2002-01-02 18:23:03
|
there is a FAQ on the python-ldap site (among other docs and searchable list archives): http://python-ldap.sourceforge.net/faq.shtml jens On Wednesday, January 2, 2002, at 01:14 , Ben Ocean wrote: > At 06:58 PM 1/2/02 +0100, you wrote: >> Ben Ocean wrote: >> > >> > make[1]: *** [constants.o] Error 1 >> > make[1]: Leaving directory `/usr/local/python-ldap-1.10alpha3/Modules' >> > make: *** [_ldapmodule-build] Error 2 >> >> Well, you snipped the compiler's error message. >> >> Which version of the OpenLDAP libs are you using? >> python-ldap-1.10alpha3 can't be compiled against OpenLDAP 2.x. > > Darn. I was afraid of that. Is there no bridge for python2x and > openldap2x? > TIA, > BenO > > > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Michael <mi...@st...> - 2002-01-02 18:44:16
|
Ben Ocean wrote: > > Darn. I was afraid of that. Is there no bridge for python2x and openldap2x? There is. Check out recent version from CVS. But beware it *solely* works with OpenLDAP 2 libs which up to now are not available on e.g. Win32. Win32 C compiler hackers jump on in! Ciao, Michael. |
From: Jason T. <ja...@ti...> - 2002-01-03 13:49:33
|
On Wed, Jan 02, 2002 at 07:19:54PM +0100, Michael Ströder wrote: > Ben Ocean wrote: > > Darn. I was afraid of that. Is there no bridge for python2x and openldap2x? > > There is. Check out recent version from CVS. > > But beware it *solely* works with OpenLDAP 2 libs which up to now > are not available on e.g. Win32. Win32 C compiler hackers jump on > in! I don't know about the precise status of Win32, but it works very nicely under Cygwin. Jason |
From: Michael <mi...@st...> - 2002-01-03 14:00:54
|
Jason Tishler wrote: > > On Wed, Jan 02, 2002 at 07:19:54PM +0100, Michael Ströder wrote: > > Ben Ocean wrote: > > > Darn. I was afraid of that. Is there no bridge for python2x and openldap2x? > > > > There is. Check out recent version from CVS. > > > > But beware it *solely* works with OpenLDAP 2 libs which up to now > > are not available on e.g. Win32. Win32 C compiler hackers jump on > > in! > > I don't know about the precise status of Win32, but it works very nicely > under Cygwin. Can you please be more verbose? Did you compile DLLs of OpenLDAP 2 libs? Do you have python-ldap working? Any tweaking necessary during build process? Willing to share Win32 binaries? Ciao, Michael. |
From: Jason T. <ja...@ti...> - 2002-01-03 14:50:35
Attachments:
setup.cfg
|
Michael, On Thu, Jan 03, 2002 at 03:01:53PM +0100, Michael Ströder wrote: > Jason Tishler wrote: > > On Wed, Jan 02, 2002 at 07:19:54PM +0100, Michael Ströder wrote: > > > But beware it *solely* works with OpenLDAP 2 libs which up to now > > > are not available on e.g. Win32. Win32 C compiler hackers jump on > > > in! > > > > I don't know about the precise status of Win32, but it works very nicely > > under Cygwin. > > Can you please be more verbose? Yes, sorry for my terseness. I didn't think people would be interested, so I opted for the short version. > Did you compile DLLs of OpenLDAP 2 libs? No, just static ones. When the Cygwin-ized libtool work is completed, then they should come for free... > Do you have python-ldap working? Yes, I have been using python-ldap under Cygwin since August 2000. The minor Cygwin specific changes were committed to python-ldap CVS in March 2001: http://www.geocrawler.com/archives/3/1568/2001/3/0/5307464/ > Any tweaking necessary during build process? Not much. See attached setup.cfg and the following for a small OpenLDAP 2.x patch: http://sources.redhat.com/ml/cygwin/2001-10/msg01248.html Note that the setup.cfg libs line is only necessary on a temporary basis. It can go back to its default value once a DLL rebase solution to Cygwin's fork() problem is implemented. If interested, see the following: http://sources.redhat.com/ml/cygwin/2001-12/msg00894.html > Willing to share Win32 binaries? Of course! A pre-built version for Cygwin Python 2.2, installable by Cygwin's setup.exe is available at: http://www.tishler.net/jason/software/python-ldap/python-ldap-20020101-1.tar.bz2 If people are interested, then I will formally contribute a pre-built python-ldap to the standard Cygwin distribution. Jason |
From: Ben O. <zo...@th...> - 2002-01-02 19:37:14
|
At 07:19 PM 1/2/02 +0100, you wrote: >Ben Ocean wrote: > > > > Darn. I was afraid of that. Is there no bridge for python2x and openldap2x? > >There is. Check out recent version from CVS. Okay, I d'l'd, edited setup.cfg,v and ran make but it complained that it couldn't find setup.py so I moved setup.py,v to setup.py but that caused an error. This is my first time working with CVS: what am I doing wrong? TIA, BenO P.S. Thanks to Joe Little for similar comments. Thanks to Jens Vagelpohl for recommending the FAQ. |