[Resolved] --was: Re: Why are devel/py-setuptools missing -I${LOCALBASE}/include ?
Axel Rau
Axel.Rau at chaos1.de
Sat Sep 22 20:28:17 UTC 2018
> Am 20.09.2018 um 13:59 schrieb Axel Rau <Axel.Rau at chaos1.de>:
>
>
>
>> Am 20.09.2018 um 11:35 schrieb Kubilay Kocak <koobs at FreeBSD.org>:
>
>> Standard warning first up: use of pip install as root (without —user)
> This setup is in venv.
>>
>>
>> - Try CFLAGS/LDFLAGS to pass the -I/-L paths.
>> - Try using the --include-dirs, --libraries and --library-dirs (-L)
>> arguments to the setuptools build_ext command (see pythonX.Y setup.py
>> build_ext —help for more)
>
> Neither
> python2.7 setup.py build_ext —include-dirs /usr/local/include --library-dirs /usr/local/lib
> nor
> include_dirs = /usr/local/include
> in setup.cfg worked.
Doing carefully what you have proposed, finally worked:
After building ldap0 with
python setup.py build_ext —include-dirs /usr/local/include
and installing it, a
pip install web2ldap
succeeded.
Thanks, Axel
---
PGP-Key:29E99DD6 ☀ computing @ chaos claudius
More information about the freebsd-python
mailing list