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]$ |