[python-ldap] Installation on FreeBSD via pypi

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Jun 21 19:29:55 CEST 2015


  Michael Ströder wrote:

> Roman Bogorodskiy wrote:
> > Installation through pip doesn't work out of the box, e.g. running
> > 
> > pip install python-ldap
> > 
> > fails with:
> > [..]
> > This happens because openldap-client installed from FreeBSD ports installs headers
> > into /usr/local/include and libs into /usr/local/lib, however, these are
> > not listed in compiler flags.
> 
> Thinking about different platforms the issue is even broader
> 
> How about this one in setup.cfg:
> 
> library_dirs = /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
> include_dirs = /usr/include /usr/include/sasl /usr/local/include
> /usr/include/local/sasl
       ^^^^^^^^^^^^^

Looks like a typo, needs to be /usr/local/include/sasl I think.

It looks like a good set of defaults for library_dirs and include_dirs.

Thanks

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150621/a8e6ac1f/attachment.sig>


More information about the python-ldap mailing list