mandrake9.1 install problem

Alain Soyeur asoyeur at ac-toulouse.fr
Fri Apr 18 10:28:27 CEST 2003


I used python-ldap without problems on a mandrake 9.0 distribution with redhat 
rpms (option --nodeps), but this does not work anymore with mandrake 9.1.
 I tried to compile python-ldap-2.0.0pre08.tar.gz, modified setup.cfg :

library_dirs = /usr/lib
libs = ldap lber resolv

but I get this message with python setup.py build:

running install
running build
running build_py
warning: build_py: file Lib/ldap.py (for module ldap) not found
warning: build_py: file Lib/ldap/schema.py (for module ldap.schema) not found

I tried an install with python setup.py install, but when I use my old 
scripts, they don't work anymore, with errors like :
NameError: global name 'SCOPE_SUBTREE' is not defined
...
Anyone has an experience with mandrake 9.1 ?

-- 
Alain Soyeur
Lycée Fermat Toulouse
http://asoyeur.free.fr





More information about the python-ldap mailing list