need some help

Michael Ströder michael at stroeder.com
Sun Mar 9 16:22:28 CET 2003


Venkateswara Rayapaneni wrote:
 > I am on Solaris9, Sunone Directory server 5.1sp2.
 > I have zope2.6.1 and python2.2.2.

As Joe already pointed out you need the OpenLDAP client libs.

 > The first error for
 > me is:
 > Traceback (most recent call last):
 >   File "setup.cfg", line 2, in ?
 >     [_ldap]
 > NameError: name '_ldap' is not defined

To me it seems you invoked setup.cfg instead setup.py. setup.cfg is the 
config file for the build/installation script setup.py.

After installing OpenLDAP libs and tweaking setup.cfg use

$ python setup.py build
               ^^^

Ciao, Michael.






More information about the python-ldap mailing list