On Thursday, September 13, 2007 at 23:27 Eric Carty-Fickes wrote:

> I am trying to build python-ldap (2.3.1) on a RH Linux box.  I
> installed openldap (2.3.38) from source with the default settings and
                     ^^^^^^^^
                     
> include_dirs = /home/eric/openldap-2.2.13/include /usr/include/sasl
                                    ^^^^^^^^

Why do you try to build with 2.2.13 headers, although you already
installed 2.3.38?

I had similar problems when building python-ldap on Mac OSX, where
openldap 2.2.x is installed by default. Simply "stealing" the 2.3
headers from a Linux system did the trick there.

Thus, point include_dirs to the location of your 2.3 headers (presumably
/usr/local/include, if you installed from source) and everything should
work like a charm.

Torsten
-- 
Never make anything simple and efficient when a way can be found to
make it complex and wonderful.              - Murphy's Law No. 13 -


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to