You can subscribe to this list here.
| 2000 |
Jan
|
Feb
(34) |
Mar
(9) |
Apr
|
May
(2) |
Jun
(14) |
Jul
(67) |
Aug
(34) |
Sep
(5) |
Oct
(20) |
Nov
(22) |
Dec
(31) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(15) |
Feb
(16) |
Mar
(20) |
Apr
(13) |
May
(72) |
Jun
(42) |
Jul
(41) |
Aug
(11) |
Sep
(19) |
Oct
(67) |
Nov
(59) |
Dec
(57) |
| 2002 |
Jan
(74) |
Feb
(69) |
Mar
(34) |
Apr
(55) |
May
(47) |
Jun
(74) |
Jul
(116) |
Aug
(68) |
Sep
(25) |
Oct
(42) |
Nov
(28) |
Dec
(52) |
| 2003 |
Jan
(19) |
Feb
(18) |
Mar
(35) |
Apr
(49) |
May
(73) |
Jun
(39) |
Jul
(26) |
Aug
(59) |
Sep
(33) |
Oct
(56) |
Nov
(69) |
Dec
(137) |
| 2004 |
Jan
(276) |
Feb
(15) |
Mar
(18) |
Apr
(27) |
May
(25) |
Jun
(7) |
Jul
(13) |
Aug
(2) |
Sep
(2) |
Oct
(10) |
Nov
(27) |
Dec
(28) |
| 2005 |
Jan
(22) |
Feb
(25) |
Mar
(41) |
Apr
(17) |
May
(36) |
Jun
(13) |
Jul
(22) |
Aug
(12) |
Sep
(23) |
Oct
(6) |
Nov
(4) |
Dec
|
| 2006 |
Jan
(11) |
Feb
(3) |
Mar
(5) |
Apr
(22) |
May
(1) |
Jun
(10) |
Jul
(19) |
Aug
(7) |
Sep
(25) |
Oct
(23) |
Nov
(5) |
Dec
(27) |
| 2007 |
Jan
(25) |
Feb
(17) |
Mar
(44) |
Apr
(8) |
May
(33) |
Jun
(31) |
Jul
(42) |
Aug
(16) |
Sep
(12) |
Oct
(16) |
Nov
(23) |
Dec
(73) |
| 2008 |
Jan
(26) |
Feb
(6) |
Mar
(46) |
Apr
(17) |
May
(1) |
Jun
(44) |
Jul
(9) |
Aug
(34) |
Sep
(20) |
Oct
(2) |
Nov
(4) |
Dec
(16) |
| 2009 |
Jan
(14) |
Feb
(3) |
Mar
(45) |
Apr
(52) |
May
(34) |
Jun
(32) |
Jul
(24) |
Aug
(52) |
Sep
(22) |
Oct
(23) |
Nov
(19) |
Dec
(10) |
| 2010 |
Jan
(10) |
Feb
(13) |
Mar
(22) |
Apr
(9) |
May
(1) |
Jun
(1) |
Jul
(8) |
Aug
(9) |
Sep
(10) |
Oct
(1) |
Nov
(2) |
Dec
(3) |
| 2011 |
Jan
|
Feb
(18) |
Mar
(39) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Christian W. <cw...@4i...> - 2001-10-02 16:13:14
|
Hi,
thank you for your reply and support.
In the readme file the module is imported with
>>>import _ldap
but if I try
>>>import ldap
I get the a similar error message.
-----------------------------------------------
>>> import ldap
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/usr/lib/python1.5/site-packages/python-ldap/ldap.py", line 2, in ?
from _ldap import __version__
ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined symbol: ldap_ufn_setfilter
>>>
------------------------------------------------
Greetings,
Christian
Am Tuesday 02 October 2001 17:57 schrieb jml...@ma...:
> I'll look into this immediately. I also hate to bring up a dead horse,
> but are we supposed to import ldap or _ldap?
>
> On Tuesday, October 2, 2001, at 04:09 AM, Christian Wiese wrote:
> > Hi,
> >
> > I want to write some python apps for accessing our LDAP server (OpenLDAP
> > 2.0.15 on RedHat 7.1), but I've problems importing the _ldap module.
> > I'm using the latest module from Joe Little, which compiles well with
> > OpenLDAP 2.0.15
> >
> > This is the error message I get from python:
> >
> > -------------------------------------------------------
> >
> > Python 1.5.2 (#1, Sep 22 2001, 18:07:47) [GCC 2.96 20000731 (Red Hat
> > Linux
> > 7.1 2 on linux-i386
> > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >
> >>>> import _ldap
> >
> > Traceback (innermost last):
> > File "<stdin>", line 1, in ?
> > ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined
> > symbol: ldap_ufn_setfilter
> >
> >
> > -------------------------------------------------------
> >
> > Does anybody have an idea, for solving this problem ?
> >
> > Thank you in advance for any help or suggestions,
> >
> > Best regards,
> >
> > Christian
> >
> > _______________________________________________
> > Python-LDAP-dev mailing list
> > Pyt...@li...
> > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
|
|
From: Michael <mi...@st...> - 2001-10-02 16:12:12
|
Christian Wiese wrote: > > Then I compiled the "official" released sources, and I found the same > warnings again. Compiling the "official" released sources and OpenLDAP 2 libs: See item 3 on: http://python-ldap.sf.net/faq.shtml It's still up-to-date. Ciao, Michael. |
|
From: Michael <mi...@st...> - 2001-10-02 16:09:58
|
jml...@ma... wrote: > > are we supposed to import ldap or _ldap? Good question. I vote for "import ldap" although the docs and demos say sometimes "import _ldap". IMHO "ldap" should be a module package with a ldap/__init__.py importing the symbols from module _ldap (as already done on Unix platforms in [Python's lib path]/site-packages/python-ldap/ldap.py). This makes it possible to add Python modules to module ldap. Ciao, Michael. |
|
From: Joe L. <jl...@op...> - 2001-10-02 16:08:22
|
Ok.. to make sure we are all on the the same page. You are using RedHat 7.1 with Open-IT's openldap-2.0.15 RPMS, as well as the python-ldap-python1.5-1.10alpha3-4.i386.rpm, correct? I want to make sure I match your setup exactly. On Tuesday, October 2, 2001, at 04:09 AM, Christian Wiese wrote: > Hi, > > I want to write some python apps for accessing our LDAP server (OpenLDAP > 2.0.15 on RedHat 7.1), but I've problems importing the _ldap module. > I'm using the latest module from Joe Little, which compiles well with > OpenLDAP 2.0.15 > > This is the error message I get from python: > > ------------------------------------------------------- > > Python 1.5.2 (#1, Sep 22 2001, 18:07:47) [GCC 2.96 20000731 (Red Hat > Linux > 7.1 2 on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>>> import _ldap > Traceback (innermost last): > File "<stdin>", line 1, in ? > ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined > symbol: ldap_ufn_setfilter >>>> > > ------------------------------------------------------- > > Does anybody have an idea, for solving this problem ? > > Thank you in advance for any help or suggestions, > > Best regards, > > Christian > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
|
From: Christian W. <cw...@4i...> - 2001-10-02 15:59:27
|
Hi Donald, thank you very much for your help, but everything seem to be on the right place. Also the permissions are correct. As I wrote in a later email, I found some gcc warnings during compilation of the CVS source. Then I compiled the "official" released sources, and I found the same warnings again. Greetings from Berlin, Christian Am Tuesday 02 October 2001 17:24 schrieb don...@ma...: > Christian, > > You need to make sure the python-ldap library is installed correctly. > make sure it's in /usr/lib/python1.5/site-packages/ > > I had a few problems getting it to be found when i started out and ended > up with copies of it all over the place!! But if it's in the above location > it should all be cool (check permissions too). > > Regards > > Donal > > >-- Original Message -- > > From: Christian Wiese <chr...@we...> > > >To: pyt...@li... > >Subject: Problems importing _ldap module > >Date: Tue, 2 Oct 2001 13:09:30 +0200 > > > > > >Hi, > > > >I want to write some python apps for accessing our LDAP server (OpenLDAP > > > >2.0.15 on RedHat 7.1), but I've problems importing the _ldap module. > >I'm using the latest module from Joe Little, which compiles well with > >OpenLDAP 2.0.15 > > > >This is the error message I get from python: > > > >------------------------------------------------------- > > > >Python 1.5.2 (#1, Sep 22 2001, 18:07:47) [GCC 2.96 20000731 (Red Hat > > Linux > > > >7.1 2 on linux-i386 > >Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > > > >>>> import _ldap > > > >Traceback (innermost last): > > File "<stdin>", line 1, in ? > >ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined > > > >symbol: ldap_ufn_setfilter > > > > > >------------------------------------------------------- > > > >Does anybody have an idea, for solving this problem ? > > > >Thank you in advance for any help or suggestions, > > > >Best regards, > > > >Christian > > > >_______________________________________________ > >Python-LDAP-dev mailing list > >Pyt...@li... > >https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
|
From: <jml...@ma...> - 2001-10-02 15:57:57
|
I'll look into this immediately. I also hate to bring up a dead horse, but are we supposed to import ldap or _ldap? On Tuesday, October 2, 2001, at 04:09 AM, Christian Wiese wrote: > Hi, > > I want to write some python apps for accessing our LDAP server (OpenLDAP > 2.0.15 on RedHat 7.1), but I've problems importing the _ldap module. > I'm using the latest module from Joe Little, which compiles well with > OpenLDAP 2.0.15 > > This is the error message I get from python: > > ------------------------------------------------------- > > Python 1.5.2 (#1, Sep 22 2001, 18:07:47) [GCC 2.96 20000731 (Red Hat > Linux > 7.1 2 on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>>> import _ldap > Traceback (innermost last): > File "<stdin>", line 1, in ? > ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined > symbol: ldap_ufn_setfilter >>>> > > ------------------------------------------------------- > > Does anybody have an idea, for solving this problem ? > > Thank you in advance for any help or suggestions, > > Best regards, > > Christian > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
|
From: Christian W. <chr...@we...> - 2001-10-02 15:54:30
|
Hi Michael,
thank you very much for your reply.
ldd produces following output:
------------------------------------------------------
# ldd /usr/lib/python1.5/site-packages/_ldapmodule.so
libldap.so.2 => /usr/lib/libldap.so.2 (0x40029000)
liblber.so.2 => /usr/lib/liblber.so.2 (0x40052000)
libm.so.6 => /lib/i686/libm.so.6 (0x4005c000)
libc.so.6 => /lib/i686/libc.so.6 (0x4007f000)
libsasl.so.7 => /usr/lib/libsasl.so.7 (0x401ba000)
libkrb4.so.2 => /usr/kerberos/lib/libkrb4.so.2 (0x401c4000)
libdes425.so.3 => /usr/kerberos/lib/libdes425.so.3 (0x401d9000)
libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x401dd000)
libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40235000)
libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40246000)
libssl.so.2 => /lib/libssl.so.2 (0x40249000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x40276000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x4033a000)
libdl.so.2 => /lib/libdl.so.2 (0x40342000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40346000)
libpam.so.0 => /lib/libpam.so.0 (0x40373000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4037b000)
-------------------------------------------------------
But I can't find no _ldap.so
I also downloaded the latest CVS tree and compiled manualy, but with the same
effects described.
During compiling I found some gcc warnings, and I posted the output to the
list. Perhaps this could be helpful.
Greetings from Berlin,
Christian
Am Tuesday 02 October 2001 17:32 schrieb Michael Ströder:
> Christian Wiese wrote:
> > ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined
> > symbol: ldap_ufn_setfilter
>
> What's the output of ldd
> /usr/lib/python1.5/site-packages/_ldapmodule.so ? Is there also a
> _ldap.so (patched for OpenLDAP 2 libs) around?
>
> Ciao, Michael.
>
> _______________________________________________
> Python-LDAP-dev mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
|
|
From: Michael <mi...@st...> - 2001-10-02 15:32:25
|
Christian Wiese wrote: > > ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined > symbol: ldap_ufn_setfilter > >>> What's the output of ldd /usr/lib/python1.5/site-packages/_ldapmodule.so ? Is there also a _ldap.so (patched for OpenLDAP 2 libs) around? Ciao, Michael. |
|
From: <don...@ma...> - 2001-10-02 15:24:59
|
Christian, You need to make sure the python-ldap library is installed correctly. make sure it's in /usr/lib/python1.5/site-packages/ I had a few problems getting it to be found when i started out and ended up with copies of it all over the place!! But if it's in the above locati= on it should all be cool (check permissions too). Regards Donal >-- Original Message -- >From: Christian Wiese <chr...@we...> >To: pyt...@li... >Subject: Problems importing _ldap module >Date: Tue, 2 Oct 2001 13:09:30 +0200 > > >Hi, > >I want to write some python apps for accessing our LDAP server (OpenLDAP= > >2.0.15 on RedHat 7.1), but I've problems importing the _ldap module. >I'm using the latest module from Joe Little, which compiles well with >OpenLDAP 2.0.15 > >This is the error message I get from python: > >------------------------------------------------------- > >Python 1.5.2 (#1, Sep 22 2001, 18:07:47) [GCC 2.96 20000731 (Red Hat Li= nux > >7.1 2 on linux-i386 >Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>>> import _ldap >Traceback (innermost last): > File "<stdin>", line 1, in ? >ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined >symbol: ldap_ufn_setfilter >>>> > >------------------------------------------------------- > >Does anybody have an idea, for solving this problem ? > >Thank you in advance for any help or suggestions, > >Best regards, > >Christian > >_______________________________________________ >Python-LDAP-dev mailing list >Pyt...@li... >https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
|
From: Christian W. <chr...@we...> - 2001-10-02 11:10:21
|
Hi, I want to write some python apps for accessing our LDAP server (OpenLDAP 2.0.15 on RedHat 7.1), but I've problems importing the _ldap module. I'm using the latest module from Joe Little, which compiles well with OpenLDAP 2.0.15 This is the error message I get from python: ------------------------------------------------------- Python 1.5.2 (#1, Sep 22 2001, 18:07:47) [GCC 2.96 20000731 (Red Hat Linux 7.1 2 on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import _ldap Traceback (innermost last): File "<stdin>", line 1, in ? ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined symbol: ldap_ufn_setfilter >>> ------------------------------------------------------- Does anybody have an idea, for solving this problem ? Thank you in advance for any help or suggestions, Best regards, Christian |
|
From: Joe L. <jl...@op...> - 2001-09-27 19:09:27
|
How about you direct them to me.. I'll make sure that they try/use my=20 RPMs, and if they don't match up well enough, we'll work on them until=20= they do.. On Thursday, September 27, 2001, at 12:03 PM, Michael Str=F6der wrote: > jml...@ma... wrote: >> >> please then comment on why _MY_ RPMs are not mature and/or lack which >> patches to not work with web2ldap. I'm here to help make them stable=20= >> and >> not make them useless, afterall. > > 1. I'm not sure if these RPMs are _your_ RPMs. > 2. I have no clue which patches you are providing nowadays with > _your_ RPMs. > > But many people are asking why web2ldap chokes with an exception > when setting some attributes which are not available with OpenLDAP 2 > libs. Most times it turns out that they are using (older?) pre-built > RPMs linked against OpenLDAP 2 libs. I usually don't track down > which particular RPMs they are using. Nor do I track down which > attributes are supported and which are not by that RPM version. > > Unfortunately they are reaching my mailbox. Not the mailbox of the > package maintainer. Whoever that is... > > Ciao, Michael. > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
|
From: Michael <mi...@st...> - 2001-09-27 19:04:10
|
jml...@ma... wrote: > > please then comment on why _MY_ RPMs are not mature and/or lack which > patches to not work with web2ldap. I'm here to help make them stable and > not make them useless, afterall. 1. I'm not sure if these RPMs are _your_ RPMs. 2. I have no clue which patches you are providing nowadays with _your_ RPMs. But many people are asking why web2ldap chokes with an exception when setting some attributes which are not available with OpenLDAP 2 libs. Most times it turns out that they are using (older?) pre-built RPMs linked against OpenLDAP 2 libs. I usually don't track down which particular RPMs they are using. Nor do I track down which attributes are supported and which are not by that RPM version. Unfortunately they are reaching my mailbox. Not the mailbox of the package maintainer. Whoever that is... Ciao, Michael. |
|
From: <jml...@ma...> - 2001-09-27 15:43:05
|
please then comment on why _MY_ RPMs are not mature and/or lack which=20 patches to not work with web2ldap. I'm here to help make them stable and=20= not make them useless, afterall. On Thursday, September 27, 2001, at 08:32 AM, Michael Str=F6der wrote: > Arnaud Fausse wrote: >> >> I would like to use the LDAP_Python library and I downloaded the=20 >> sources. >> My platform is x86 Linux Mandrake 8.0. >> I built the full OpenLDAP 2.0.11 package without difficulties, > > BTW: You can't build the current python-ldap with OpenLDAP 2.0.x > libs without applying additional patches. Grabbing the right patches > is somewhat tricky. > > Ciao, Michael > > P.S.: I'm somewhat sick of people asking why this or that premature > Red Hat RPM built with OpenLDAP 2 libs and issued months ago is not > working with web2ldap... > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
|
From: Michael <mi...@st...> - 2001-09-27 15:33:07
|
Arnaud Fausse wrote: > > I would like to use the LDAP_Python library and I downloaded the sources. > My platform is x86 Linux Mandrake 8.0. > I built the full OpenLDAP 2.0.11 package without difficulties, BTW: You can't build the current python-ldap with OpenLDAP 2.0.x libs without applying additional patches. Grabbing the right patches is somewhat tricky. Ciao, Michael P.S.: I'm somewhat sick of people asking why this or that premature Red Hat RPM built with OpenLDAP 2 libs and issued months ago is not working with web2ldap... |
|
From: Arnaud F. <arn...@li...> - 2001-09-25 20:03:55
|
thanks, I try to set-up and I'll tell you my conclusions regards Arnaud Le Mardi 25 Septembre 2001 15:39, jml...@ma... a =E9crit : > the latest open-it.org SRPMs for python-ldap do let you specify the > version of Python to build against based on the PYTHON environment > variable. These changes to the spec were submitted to me and so I can't > take credit for them, but it may go along way to solving your problems. > > On Tuesday, September 25, 2001, at 06:26 PM, Arnaud Fausse wrote: > > Hi, > > > > I would like to use the LDAP_Python library and I downloaded the > > sources. > > My platform is x86 Linux Mandrake 8.0. > > I built the full OpenLDAP 2.0.11 package without difficulties, same f= or > > LDAP- > > 3.3. By the way, I use Python 2.0. > > I try to build the Python-Ldap in my home directory (name > > '/home/poussin') > > I run the configure command: ./configure ...with tokens for lib and > > include > > locations. > > Configuration script seems OK, but 'make' fails on the 'Modules' part > > where > > there is no target. (same effect being root or not). > > Below you find: > > - the console display > > - the config log as attached doc. > > Can you help me ? > > Did I miss something obvious ? > > Is there anyboday who can help me ? > > Thanks in advance for your help > > Arnaud > > ------------------------------- > > console log > > > > [poussin@wang python-ldap-1.10alpha3]$ ./configure > > loading cache ./config.cache > > checking for gcc... (cached) gcc > > checking whether the C compiler (gcc ) works... yes > > checking whether the C compiler (gcc ) is a cross-compiler... no > > checking whether we are using GNU C... (cached) yes > > checking whether gcc accepts -g... (cached) yes > > (cached) checking python version... (cached) 2.0 > > checking python install prefix... (cached) /usr > > checking for /tmp/ldap-pfx... no > > checking for socket... (cached) yes > > checking for gethostbyname... (cached) yes > > checking for inet_addr... (cached) yes > > checking for inet_ntoa... (cached) yes > > checking for connect... (cached) yes > > checking for fmod... (cached) no > > checking for fmod in -lm... (cached) yes > > checking for floor... (cached) yes > > checking for krb_mk_req... (cached) no > > checking for krb_mk_req in -lkrb... (cached) no > > checking for des_setkey... (cached) no > > checking for des_setkey in -ldes... (cached) no > > checking for library containing ber_free... (cached) -llber > > checking for library containing ldap_open... (cached) -lldap > > checking for ldap_open... (cached) yes > > checking how to run the C preprocessor... (cached) gcc -E > > checking for ldap.h... (cached) yes > > checking for lber.h... (cached) yes > > checking number of arguments to ldap_set_rebind_proc()... (cached) 2 > > checking for ldap_kerberos_bind_s... (cached) no > > checking for ldap_kerberos_bind1... (cached) no > > checking for ldap_kerberos_bind1_s... (cached) no > > checking for ldap_kerberos_bind2... (cached) no > > checking for ldap_kerberos_bind2_s... (cached) no > > checking for ldap_enable_cache... (cached) yes > > checking for ldap_disable_cache... (cached) yes > > checking for ldap_set_cache_options... (cached) yes > > checking for ldap_destroy_cache... (cached) yes > > checking for ldap_flush_cache... (cached) yes > > checking for ldap_uncache_entry... (cached) yes > > checking for ldap_uncache_request... (cached) yes > > checking whether the LDAP type is opaque... (cached) yes > > checking for ldap_modrdn2_s... (cached) yes > > checking for ldap_modrdn2... (cached) yes > > checking for ldap_init_templates... (cached) yes > > checking for disptmpl.h... (cached) yes > > checking python makefile... ./Misc/Makefile.python-1.4 > > creating ./config.status > > creating Modules/Setup > > creating Makefile > > creating Modules/config.h > > Modules/config.h is unchanged > > bootstrapping makefile > > rm -f *.o *~ > > rm -f *.a tags TAGS config.c Makefile.pre python sedscript > > rm -f *.so *.sl so_locations > > VERSION=3D`python -c "import sys; print sys.version[:3]"`; \ > > installdir=3D`python -c "import sys; print sys.prefix"`; \ > > exec_installdir=3D`python -c "import sys; print sys.exec_prefix"`; \ > > make -f ./Makefile.pre.in VPATH=3D. srcdir=3D. \ > > VERSION=3D$VERSION \ > > installdir=3D$installdir \ > > exec_installdir=3D$exec_installdir \ > > Makefile > > make[1]: Entering directory > > `/home/poussin/python/python-ldap-1.10alpha3/Modules' > > make[1]: *** No rule to make target > > `/usr/lib/python2.0/config/Makefile', > > needed by `sedscript'. Stop. > > make[1]: Leaving directory > > `/home/poussin/python/python-ldap-1.10alpha3/Modules'make: *** [boot] > > Error 2 > > [poussin@wang python-ldap-1.10alpha3]$ |
|
From: <jml...@ma...> - 2001-09-25 19:44:38
|
the latest open-it.org SRPMs for python-ldap do let you specify the version of Python to build against based on the PYTHON environment variable. These changes to the spec were submitted to me and so I can't take credit for them, but it may go along way to solving your problems. On Tuesday, September 25, 2001, at 06:26 PM, Arnaud Fausse wrote: > Hi, > > I would like to use the LDAP_Python library and I downloaded the > sources. > My platform is x86 Linux Mandrake 8.0. > I built the full OpenLDAP 2.0.11 package without difficulties, same for > LDAP- > 3.3. By the way, I use Python 2.0. > I try to build the Python-Ldap in my home directory (name > '/home/poussin') > I run the configure command: ./configure ...with tokens for lib and > include > locations. > Configuration script seems OK, but 'make' fails on the 'Modules' part > where > there is no target. (same effect being root or not). > Below you find: > - the console display > - the config log as attached doc. > Can you help me ? > Did I miss something obvious ? > Is there anyboday who can help me ? > Thanks in advance for your help > Arnaud > ------------------------------- > console log > > [poussin@wang python-ldap-1.10alpha3]$ ./configure > loading cache ./config.cache > checking for gcc... (cached) gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > (cached) checking python version... (cached) 2.0 > checking python install prefix... (cached) /usr > checking for /tmp/ldap-pfx... no > checking for socket... (cached) yes > checking for gethostbyname... (cached) yes > checking for inet_addr... (cached) yes > checking for inet_ntoa... (cached) yes > checking for connect... (cached) yes > checking for fmod... (cached) no > checking for fmod in -lm... (cached) yes > checking for floor... (cached) yes > checking for krb_mk_req... (cached) no > checking for krb_mk_req in -lkrb... (cached) no > checking for des_setkey... (cached) no > checking for des_setkey in -ldes... (cached) no > checking for library containing ber_free... (cached) -llber > checking for library containing ldap_open... (cached) -lldap > checking for ldap_open... (cached) yes > checking how to run the C preprocessor... (cached) gcc -E > checking for ldap.h... (cached) yes > checking for lber.h... (cached) yes > checking number of arguments to ldap_set_rebind_proc()... (cached) 2 > checking for ldap_kerberos_bind_s... (cached) no > checking for ldap_kerberos_bind1... (cached) no > checking for ldap_kerberos_bind1_s... (cached) no > checking for ldap_kerberos_bind2... (cached) no > checking for ldap_kerberos_bind2_s... (cached) no > checking for ldap_enable_cache... (cached) yes > checking for ldap_disable_cache... (cached) yes > checking for ldap_set_cache_options... (cached) yes > checking for ldap_destroy_cache... (cached) yes > checking for ldap_flush_cache... (cached) yes > checking for ldap_uncache_entry... (cached) yes > checking for ldap_uncache_request... (cached) yes > checking whether the LDAP type is opaque... (cached) yes > checking for ldap_modrdn2_s... (cached) yes > checking for ldap_modrdn2... (cached) yes > checking for ldap_init_templates... (cached) yes > checking for disptmpl.h... (cached) yes > checking python makefile... ./Misc/Makefile.python-1.4 > creating ./config.status > creating Modules/Setup > creating Makefile > creating Modules/config.h > Modules/config.h is unchanged > bootstrapping makefile > rm -f *.o *~ > rm -f *.a tags TAGS config.c Makefile.pre python sedscript > rm -f *.so *.sl so_locations > VERSION=`python -c "import sys; print sys.version[:3]"`; \ > installdir=`python -c "import sys; print sys.prefix"`; \ > exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \ > make -f ./Makefile.pre.in VPATH=. srcdir=. \ > VERSION=$VERSION \ > installdir=$installdir \ > exec_installdir=$exec_installdir \ > Makefile > make[1]: Entering directory > `/home/poussin/python/python-ldap-1.10alpha3/Modules' > make[1]: *** No rule to make target > `/usr/lib/python2.0/config/Makefile', > needed by `sedscript'. Stop. > make[1]: Leaving directory > `/home/poussin/python/python-ldap-1.10alpha3/Modules'make: *** [boot] > Error 2 > [poussin@wang python-ldap-1.10alpha3]$ > |
|
From: Arnaud F. <arn...@li...> - 2001-09-25 19:26:20
|
Hi,
I would like to use the LDAP_Python library and I downloaded the sources.
My platform is x86 Linux Mandrake 8.0.
I built the full OpenLDAP 2.0.11 package without difficulties, same for LDAP-
3.3. By the way, I use Python 2.0.
I try to build the Python-Ldap in my home directory (name '/home/poussin')
I run the configure command: ./configure ...with tokens for lib and include
locations.
Configuration script seems OK, but 'make' fails on the 'Modules' part where
there is no target. (same effect being root or not).
Below you find:
- the console display
- the config log as attached doc.
Can you help me ?
Did I miss something obvious ?
Is there anyboday who can help me ?
Thanks in advance for your help
Arnaud
-------------------------------
console log
[poussin@wang python-ldap-1.10alpha3]$ ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
(cached) checking python version... (cached) 2.0
checking python install prefix... (cached) /usr
checking for /tmp/ldap-pfx... no
checking for socket... (cached) yes
checking for gethostbyname... (cached) yes
checking for inet_addr... (cached) yes
checking for inet_ntoa... (cached) yes
checking for connect... (cached) yes
checking for fmod... (cached) no
checking for fmod in -lm... (cached) yes
checking for floor... (cached) yes
checking for krb_mk_req... (cached) no
checking for krb_mk_req in -lkrb... (cached) no
checking for des_setkey... (cached) no
checking for des_setkey in -ldes... (cached) no
checking for library containing ber_free... (cached) -llber
checking for library containing ldap_open... (cached) -lldap
checking for ldap_open... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ldap.h... (cached) yes
checking for lber.h... (cached) yes
checking number of arguments to ldap_set_rebind_proc()... (cached) 2
checking for ldap_kerberos_bind_s... (cached) no
checking for ldap_kerberos_bind1... (cached) no
checking for ldap_kerberos_bind1_s... (cached) no
checking for ldap_kerberos_bind2... (cached) no
checking for ldap_kerberos_bind2_s... (cached) no
checking for ldap_enable_cache... (cached) yes
checking for ldap_disable_cache... (cached) yes
checking for ldap_set_cache_options... (cached) yes
checking for ldap_destroy_cache... (cached) yes
checking for ldap_flush_cache... (cached) yes
checking for ldap_uncache_entry... (cached) yes
checking for ldap_uncache_request... (cached) yes
checking whether the LDAP type is opaque... (cached) yes
checking for ldap_modrdn2_s... (cached) yes
checking for ldap_modrdn2... (cached) yes
checking for ldap_init_templates... (cached) yes
checking for disptmpl.h... (cached) yes
checking python makefile... ./Misc/Makefile.python-1.4
creating ./config.status
creating Modules/Setup
creating Makefile
creating Modules/config.h
Modules/config.h is unchanged
bootstrapping makefile
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`python -c "import sys; print sys.version[:3]"`; \
installdir=`python -c "import sys; print sys.prefix"`; \
exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
VERSION=$VERSION \
installdir=$installdir \
exec_installdir=$exec_installdir \
Makefile
make[1]: Entering directory
`/home/poussin/python/python-ldap-1.10alpha3/Modules'
make[1]: *** No rule to make target `/usr/lib/python2.0/config/Makefile',
needed by `sedscript'. Stop.
make[1]: Leaving directory
`/home/poussin/python/python-ldap-1.10alpha3/Modules'make: *** [boot] Error 2
[poussin@wang python-ldap-1.10alpha3]$
|
|
From: Olivier D. <OD...@is...> - 2001-09-12 14:04:19
|
Hello Tim, Novell has probably adjusted security policy on the NDS LDAP test site, = and now, authentication with simple_bind_s() works for admin account. = Now=20 python-ldap and Novell's LDAP library work the same. Some problems remain, = but they are caused by NDS, not by python-ldap. So python-ldap works with = NDS, without needing to compile a Novell library. It is the answer to my = initial question. Thank you very much for your help. Olivier od...@is... >>> Timothy Wilson <wi...@vi...> 07/09/01 19:56:52 >>> On Thu, 6 Sep 2001, Olivier Dewit wrote: > Thank you for your explanation. I'm not sure it is a NDS/LDAP problem. I'm not a python-ldap expert by any stretch of the imagination, but have you tried accessing your NDS using http://web2ldap.de/ ? I use it to query our public directory occasionally. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com=20 W. St. Paul, MN | | http://slashdot.org=20 wi...@vi... | <dtml-var pithy_quote> | http://linux.com=20 |
|
From: Kaeidinejad, S. <Sha...@dg...> - 2001-09-12 07:45:24
|
hi,
i try to compile python-ldap-1.10alpha3 for python-2.1.1 an sun solaris 5.6
but i got error by the make.
can you help me?
the ./configure entired:
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for python... /usr/local/bin/python
checking python version... 2.1
checking python install prefix... /opt/python-2.1.1
checking for socket in -lnsl... no
checking for socket in -lnet... no
checking for socket in -lsocket... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for connect... yes
checking for fmod... no
checking for fmod in -lm... yes
checking for floor... yes
checking for krb_mk_req... no
checking for krb_mk_req in -lkrb... yes
checking for des_setkey... no
checking for des_setkey in -ldes... no
Using LDAP libraries from /usr/site/openldap-1.2.11/lib
Using LDAP includes from /usr/site/openldap-1.2.11/include
checking for library containing ber_free... -llber
checking for library containing ldap_open... -lldap
checking for ldap_open... yes
checking how to run the C preprocessor... gcc -E
checking for ldap.h... yes
checking for lber.h... yes
checking number of arguments to ldap_set_rebind_proc()... 2
checking for ldap_kerberos_bind_s... no
checking for ldap_kerberos_bind1... no
checking for ldap_kerberos_bind1_s... no
checking for ldap_kerberos_bind2... no
checking for ldap_kerberos_bind2_s... no
checking for ldap_enable_cache... yes
checking for ldap_disable_cache... yes
checking for ldap_set_cache_options... yes
checking for ldap_destroy_cache... yes
checking for ldap_flush_cache... yes
checking for ldap_uncache_entry... yes
checking for ldap_uncache_request... yes
checking whether the LDAP type is opaque... no
checking for ldap_modrdn2_s... yes
checking for ldap_modrdn2... yes
checking for ldap_init_templates... yes
checking for disptmpl.h... yes
checking python makefile...
/opt/python-2.1.1/lib/python2.1/config/Makefile.pre.in
updating cache ./config.cache
creating ./config.status
creating Modules/Setup
creating Makefile
creating Modules/config.h
bootstrapping makefile
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`/usr/local/bin/python -c "import sys; print sys.version[:3]"`; \
installdir=`/usr/local/bin/python -c "import sys; print sys.prefix"`; \
exec_installdir=`/usr/local/bin/python -c "import sys; print
sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
VERSION=$VERSION \
installdir=$installdir \
exec_installdir=$exec_installdir \
Makefile
make[1]: Entering directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
sed -n \
-e '1s/.*/1i\\/p' \
-e '2s%.*%# Generated automatically from Makefile.pre.in by sedscript.%p' \
-e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
-e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
-e '/^CXX=/s/^CXX=[ ]*\(.*\)/s%@CXX[@]%\1%/p' \
-e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
-e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
-e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
-e '/^LDLAST=/s/^LDLAST=[ ]*\(.*\)/s%@LDLAST[@]%\1%/p' \
-e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
-e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \
-e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \
-e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \
-e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
-e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
-e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
-e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
-e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
-e '/^SGI_ABI=/s/^SGI_ABI=[ ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \
-e '/^LINKFORSHARED=/s/^LINKFORSHARED=[
]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \
-e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \
-e
'/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p' \
/opt/python-2.1.1/lib/python2.1/config/Makefile >sedscript
echo "/^installdir=/s%=.*%= /opt/python-2.1.1%" >>sedscript
echo "/^exec_installdir=/s%=.*%=/opt/python-2.1.1%" >>sedscript
echo "/^srcdir=/s%=.*%= .%" >>sedscript
echo "/^VPATH=/s%=.*%= .%" >>sedscript
echo "/^LINKPATH=/s%=.*%= %" >>sedscript
echo "/^BASELIB=/s%=.*%= %" >>sedscript
echo "/^BASESETUP=/s%=.*%= %" >>sedscript
sed -f sedscript ./Makefile.pre.in >Makefile.pre
/opt/python-2.1.1/lib/python2.1/config/makesetup \
-m Makefile.pre -c
/opt/python-2.1.1/lib/python2.1/config/config.c.in Setup -n
/opt/python-2.1.1/lib/python2.1/config/Setup.config
/opt/python-2.1.1/lib/python2.1/config/Setup.local
/opt/python-2.1.1/lib/python2.1/config/Setup
make -f Makefile do-it-again
make[2]: Entering directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
/opt/python-2.1.1/lib/python2.1/config/makesetup \
-m Makefile.pre -c
/opt/python-2.1.1/lib/python2.1/config/config.c.in Setup -n
/opt/python-2.1.1/lib/python2.1/config/Setup.config
/opt/python-2.1.1/lib/python2.1/config/Setup.local
/opt/python-2.1.1/lib/python2.1/config/Setup
make[2]: Leaving directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
make[1]: Leaving directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
and the make entired:( there was to big but i cut it)
............
<unknown> 0x440
/usr/site/openldap-1.2.11/lib/libldap.a(getfilter.o)
<unknown> 0xb30
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
<unknown> 0xb38
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
<unknown> 0xb3c
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
<unknown> 0xb40
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[1]: *** [_ldapmodule.so] Error 1
make[1]: Leaving directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
make: *** [_ldapmodule-build] Error 2
thanks
Shahram
|
|
From: Michael <mi...@st...> - 2001-09-08 14:08:23
|
Timothy Wilson wrote: > > On Thu, 6 Sep 2001, Olivier Dewit wrote: > > > Thank you for your explanation. I'm not sure it is a NDS/LDAP problem. > > I'm not a python-ldap expert by any stretch of the imagination, but have > you tried accessing your NDS using http://web2ldap.de/ ? I use it to query > our public directory occasionally. Sorry for jumping on this so late. Always use recent CVS version tagged with OPENLDAP_1_BRANCH for linking against OpenLDAP 1.2.x libs or old Netscape/Novell libs since there were some serious bug fixes done during the last months. AFAIK old Netscape 3 and old Novell libs are not available anymore. Following the discussion thread I'm not sure what the question with Novell NDS really was. 1. If you want to link python-ldap against Novell's NDS libs you might be lost. As I understand some press releases the Novell LDAP libs are based on OpenLDAP libs though I'm not sure. If Novell's lib is based on OpenLDAP 2.0.x libs (likely for leveraging LDAPv3) the same issues arise like linking python-ldap against OpenLDAP 2.0.x libs: You will need a proper patch for HEAD branch but you're on your own working with that. I'd like to hear experiences on that including exact version numbers! 2. You should be able to use python-ldap to access a NDS server. You might wanna try web2ldap's online demo for checking your server, e.g. http://sites.inka.de:8002/web2ldap/ldapurl?ldap://www.nldap.com (note that the demo is running with a patched python-ldap built against OpenLDAP 2.0.x libs). Ciao, Michael. |
|
From: Timothy W. <wi...@vi...> - 2001-09-07 18:08:39
|
On Thu, 6 Sep 2001, Olivier Dewit wrote: > Thank you for your explanation. I'm not sure it is a NDS/LDAP problem. I'm not a python-ldap expert by any stretch of the imagination, but have you tried accessing your NDS using http://web2ldap.de/ ? I use it to query our public directory occasionally. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com W. St. Paul, MN | | http://slashdot.org wi...@vi... | <dtml-var pithy_quote> | http://linux.com |
|
From: Kaeidinejad, S. <Sha...@dg...> - 2001-09-06 09:46:23
|
hi,
the ./configure entired:
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for python... /usr/local/bin/python
checking python version... 2.1
checking python install prefix... /opt/python-2.1.1
checking for socket in -lnsl... no
checking for socket in -lnet... no
checking for socket in -lsocket... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for connect... yes
checking for fmod... no
checking for fmod in -lm... yes
checking for floor... yes
checking for krb_mk_req... no
checking for krb_mk_req in -lkrb... yes
checking for des_setkey... no
checking for des_setkey in -ldes... no
Using LDAP libraries from /usr/site/openldap-1.2.11/lib
Using LDAP includes from /usr/site/openldap-1.2.11/include
checking for library containing ber_free... -llber
checking for library containing ldap_open... -lldap
checking for ldap_open... yes
checking how to run the C preprocessor... gcc -E
checking for ldap.h... yes
checking for lber.h... yes
checking number of arguments to ldap_set_rebind_proc()... 2
checking for ldap_kerberos_bind_s... no
checking for ldap_kerberos_bind1... no
checking for ldap_kerberos_bind1_s... no
checking for ldap_kerberos_bind2... no
checking for ldap_kerberos_bind2_s... no
checking for ldap_enable_cache... yes
checking for ldap_disable_cache... yes
checking for ldap_set_cache_options... yes
checking for ldap_destroy_cache... yes
checking for ldap_flush_cache... yes
checking for ldap_uncache_entry... yes
checking for ldap_uncache_request... yes
checking whether the LDAP type is opaque... no
checking for ldap_modrdn2_s... yes
checking for ldap_modrdn2... yes
checking for ldap_init_templates... yes
checking for disptmpl.h... yes
checking python makefile...
/opt/python-2.1.1/lib/python2.1/config/Makefile.pre.in
updating cache ./config.cache
creating ./config.status
creating Modules/Setup
creating Makefile
creating Modules/config.h
bootstrapping makefile
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`/usr/local/bin/python -c "import sys; print sys.version[:3]"`; \
installdir=`/usr/local/bin/python -c "import sys; print sys.prefix"`; \
exec_installdir=`/usr/local/bin/python -c "import sys; print
sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
VERSION=$VERSION \
installdir=$installdir \
exec_installdir=$exec_installdir \
Makefile
make[1]: Entering directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
sed -n \
-e '1s/.*/1i\\/p' \
-e '2s%.*%# Generated automatically from Makefile.pre.in by sedscript.%p' \
-e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
-e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
-e '/^CXX=/s/^CXX=[ ]*\(.*\)/s%@CXX[@]%\1%/p' \
-e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
-e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
-e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
-e '/^LDLAST=/s/^LDLAST=[ ]*\(.*\)/s%@LDLAST[@]%\1%/p' \
-e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
-e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \
-e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \
-e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \
-e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
-e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
-e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
-e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
-e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
-e '/^SGI_ABI=/s/^SGI_ABI=[ ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \
-e '/^LINKFORSHARED=/s/^LINKFORSHARED=[
]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \
-e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \
-e
'/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p' \
/opt/python-2.1.1/lib/python2.1/config/Makefile >sedscript
echo "/^installdir=/s%=.*%= /opt/python-2.1.1%" >>sedscript
echo "/^exec_installdir=/s%=.*%=/opt/python-2.1.1%" >>sedscript
echo "/^srcdir=/s%=.*%= .%" >>sedscript
echo "/^VPATH=/s%=.*%= .%" >>sedscript
echo "/^LINKPATH=/s%=.*%= %" >>sedscript
echo "/^BASELIB=/s%=.*%= %" >>sedscript
echo "/^BASESETUP=/s%=.*%= %" >>sedscript
sed -f sedscript ./Makefile.pre.in >Makefile.pre
/opt/python-2.1.1/lib/python2.1/config/makesetup \
-m Makefile.pre -c
/opt/python-2.1.1/lib/python2.1/config/config.c.in Setup -n
/opt/python-2.1.1/lib/python2.1/config/Setup.config
/opt/python-2.1.1/lib/python2.1/config/Setup.local
/opt/python-2.1.1/lib/python2.1/config/Setup
make -f Makefile do-it-again
make[2]: Entering directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
/opt/python-2.1.1/lib/python2.1/config/makesetup \
-m Makefile.pre -c
/opt/python-2.1.1/lib/python2.1/config/config.c.in Setup -n
/opt/python-2.1.1/lib/python2.1/config/Setup.config
/opt/python-2.1.1/lib/python2.1/config/Setup.local
/opt/python-2.1.1/lib/python2.1/config/Setup
make[2]: Leaving directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
make[1]: Leaving directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
and the make entired:( there was to big but i cut it)
............
<unknown> 0x440
/usr/site/openldap-1.2.11/lib/libldap.a(getfilter.o)
<unknown> 0xb30
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
<unknown> 0xb38
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
<unknown> 0xb3c
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
<unknown> 0xb40
/usr/site/openldap-1.2.11/lib/liblber.a(decode.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[1]: *** [_ldapmodule.so] Error 1
make[1]: Leaving directory
`/temp/site/source/python-ldap-1.10alpha3/Modules'
make: *** [_ldapmodule-build] Error 2
bye
Shahram
>-----Ursprüngliche Nachricht-----
>Von: David Leonard [mailto:dav...@cs...]
>Gesendet: Donnerstag, 6. September 2001 09:33
>An: Kaeidinejad, Shahram
>Betreff: Re: make error
>
>
>
>hmmm, we'll need a lot more information that that.
>can you cut & paste the entire configure & build process up to
>that point?
>thanks
>
>On Thu, 6 Sep 2001, Kaeidinejad, Shahram typed thusly:
>
>> hi,
>> i try to compile python-ldap-1.10alpha3 for python-2.1.1 an
>son solaris 2.6
>> but i got this
>> error by the make.
>>
>> ld: fatal: relocations remain against allocatable but
>non-writable sections
>> collect2: ld returned 1 exit status
>> make: *** [ldapmodule.so] Error 1
>>
>> can you help me?
>>
>> thank
>>
>> shahram
>>
>>
>> _______________________________________________
>> Python-LDAP-dev mailing list
>> Pyt...@li...
>> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
>>
>
>--
>David Leonard Dav...@ds...
>DSTC Room:78-632 Ph:+61 7 336 54310
>The University of Queensland http://www.dstc.edu.au/
>QLD 4072 AUSTRALIA
>B73CD65FBEF4C089B79A8EBADF1A932F13EA0FC8
>
|
|
From: Olivier D. <OD...@is...> - 2001-09-06 08:27:54
|
Tim, Thank you for your explanation. I'm not sure it is a NDS/LDAP problem. Here is a python script using python-ldap. When a DN is provided to = simple_bind_s(), the script is frozen. When the same DN is provided to a C = Novell LDAP library program using simple_bind_s() (bind.c sample), it = works. An other LDAP tool, LDAP browser/editor (in java - http://www.iit.ed= u/~gawojar/ldap/download.html), works fine with NDS, using the same DN. = For testing, I use the Novell NDS/LDAP Services Access Test Site (http://ww= w.nldap.com/NLDAP/). --------------------- import ldap l =3D ldap.open( 'www.nldap.com', 389 ) #this line is frozen l.simple_bind_s( 'cn=3Dadmin,ou=3DCRD,ou=3Duser,o=3DNOVELL', 'xxxxxx' ) l.unbind() --------------------- Notes : - the real password is not provided in this sample - open(), anonymous simple_bind_s( '', '' ), and unbind() are working - search is working (with anonymous bind) : obj =3D l.search_s( 'ou=3DCRD,ou=3Duser,o=3DNOVELL', ldap.SCOPE_ONELEVEL, = "(objectclass=3D*)" ) print obj >>> Timothy Wilson <wi...@vi...> 05/09/01 19:13:27 >>> On Wed, 5 Sep 2001, Olivier Dewit wrote: > When binding to NDS with simple_bind_s() function, it works fine with a = C program calling the Novell LDAP library, but it doesn't work with a = python script using python-LDAP : the program is frozen. Can you post a code snippet? I'm not a NetWare admin, but from what I understand there's an NDS -> LDAP translation tool that you may have to tweak so that the fields in NDS get mapped correctly to LDAP. I haven't had to mess with it yet, but maybe in your case NDS isn't translating to LDAP in the way your program expects. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com=20 W. St. Paul, MN | | http://slashdot.org=20 wi...@vi... | <dtml-var pithy_quote> | http://linux.com=20 |
|
From: Kaeidinejad, S. <Sha...@dg...> - 2001-09-06 07:01:36
|
hi, i try to compile python-ldap-1.10alpha3 for python-2.1.1 an son solaris 2.6 but i got this error by the make. ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make: *** [ldapmodule.so] Error 1 can you help me? thank shahram |
|
From: Timothy W. <wi...@vi...> - 2001-09-05 17:13:38
|
On Wed, 5 Sep 2001, Olivier Dewit wrote: > When binding to NDS with simple_bind_s() function, it works fine with a C program calling the Novell LDAP library, but it doesn't work with a python script using python-LDAP : the program is frozen. Can you post a code snippet? I'm not a NetWare admin, but from what I understand there's an NDS -> LDAP translation tool that you may have to tweak so that the fields in NDS get mapped correctly to LDAP. I haven't had to mess with it yet, but maybe in your case NDS isn't translating to LDAP in the way your program expects. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com W. St. Paul, MN | | http://slashdot.org wi...@vi... | <dtml-var pithy_quote> | http://linux.com |