From: Torsten K. <pyt...@tk...> - 2007-09-13 22:18:39
|
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 - |