From: Arnaud F. <arn...@li...> - 2001-09-25 19:26:20
Attachments:
config.log
|
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: <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 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: 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: <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 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: 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 > |