[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ldap-dev
Subject:    Re: Sun ONE v5.2 build
From:       Michael_Ströder <michael () stroeder ! com>
Date:       2004-03-27 8:20:47
Message-ID: 4065395F.4010603 () stroeder ! com
[Download RAW message or body]

Michal Kurowski wrote:
> 
> It seems I am supposed to give up and change a directory server ;-).
> I have Sun ONE v5.2 on a Solaris 9 and I need to build python-ldap
> against it. 

You cannot build recent python-ldap with Netscape/Sun libs, you need the 
OpenLDAP 2.1+ libs for that. Off course you can use python-ldap to query a 
SunONE server.

> I use gcc 3.3.1 and python-ldap-2.0.0pre20.

You can build and install the OpenLDAP libs in a completely separate 
directory without the server demons.

./configure --prefix=/usr/local/openldap --disable-slapd --disable-slurpd

Depending whether you need SASL and/or SSL/StartTLS you have to build and 
install Cyrus-SASL and/or OpenSSL before that.

And then adjust python-ldap's setup.cfg to match the prefix above.

library_dirs = /usr/local/openldap/lib
include_dirs = /usr/local/openldap/include

Ciao, Michael.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic