[Pythonmac-SIG] python-ldap install difficulties on Mac OS 10.4.2

brad.allen@omsdal.com brad.allen at omsdal.com
Sat Aug 6 22:38:41 CEST 2005


(this is posted to both the Python-ldap-dev list and the PythonMac list)

I'm running into problems getting Python ldap built and installed
on Mac OS 10.4.2. The postings on this subject in the Python-ldap list
were from people who found that they had to build and install OpenLDAP
from scratch, and were not able to make use of the builtin OpenLDAP
as was possible under Tiger.

http://sourceforge.net/mailarchive/forum.php?thread_id=7610322&forum_id=4346

http://sourceforge.net/mailarchive/forum.php?thread_id=7610322&forum_id=4346

I spent hours working on this with no success. I got stuck at the final 
"make"
stage, working from instructions that came with the BerkeleyDB and 
OpenLDAP
source directories, along with some help from:

http://blogs.nuxeo.com/sections/blogs/florent_guillaume/

This seemed like a lot of ass-ache to get a Python module installed. So I
decided to take a look at seeing if I could get away with installing using
10.4.2's built-in Python 2.3.5 and the built-in OpenLDAP. After all,
there has been a new release of OpenLDAP since those postings.

Well, I got stuck on the basic problem of locating Apple's include and 
library
directories for OpenLDAP and SASL, which are needed for the setup.cfg.

Doing a locate on openldap and sasl turned up lots of directories, but
none of them really fit the expected pattern in the setup.cfg:

library_dirs = /usr/local/openldap-REL_ENG_2_1/lib 
/usr/local/cyrus-sasl/lib
include_dirs = /usr/local/openldap-REL_ENG_2_1/include 
/usr/local/cyrus-sasl/include

Any help on this would be much appreciated. I'm not sure what I could
have read to let me know how to locate those directories...I dug around
in Apple's developer docs but found nothing that jumped out at me.

Thanks!

Btw, I found an easy to install binary of Python-ldap for Windows XP, but 
it contained
no SASL support :-(. I'm guessing SASL is needed for Active Directory
authentication, though I don't know that for sure. 


Brad Allen
IT Desktop Support

brad.allen at omsdal.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20050806/bc007491/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 18067 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20050806/bc007491/attachment-0001.jpeg


More information about the Pythonmac-SIG mailing list