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....@chaos1.de> wrote: > > > Am 20.09.2018 um 13:59 schrieb Axel Rau <axel....@chaos1.de>: > > > > Am 20.09.2018 um 11:35 schrieb Kubilay Kocak <ko...@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 > > _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"