[Resolved] --was: Re: Why are devel/py-setuptools missing -I${LOCALBASE}/include ?

Kubilay Kocak koobs at freebsd.org
Sun Sep 23 01:28:13 UTC 2018


Hi Axel, all of that is why I suggested using the existing py-ldap0 port :)

Thanks for letting us know it all worked out

./koobs

On Sun, 23 Sep. 2018, 6:28 am Axel Rau, <Axel.Rau at chaos1.de> wrote:

>
>
> 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