Date: Sun, 23 Sep 2018 11:03:55 +1000 From: Kubilay Kocak <koobs@freebsd.org> To: Axel Rau <Axel.Rau@chaos1.de> Cc: Palle Girgensohn <girgen@freebsd.org>, python@freebsd.org, =?UTF-8?Q?Michael_Str=C3=B6der?= <michael@stroeder.com> Subject: Re: [Resolved] --was: Re: Why are devel/py-setuptools missing -I${LOCALBASE}/include ? Message-ID: <CAKA3KyfH6h9ruS_PiTeTYBM5=y8WbD=vfYe6Q2KQsWuWWAMYLw@mail.gmail.com> In-Reply-To: <C4042FFD-E061-4FE6-BDF6-2F135EC8CFB0@Chaos1.DE> References: <9D14E231-BFD7-4442-9418-3878E70A9C71@Chaos1.DE> <3f44c803-df9c-5683-3aa5-7bec1ba721a1@FreeBSD.org> <CC7964E0-CADD-4C11-B713-7AD6C6AF478A@Chaos1.DE> <C4042FFD-E061-4FE6-BDF6-2F135EC8CFB0@Chaos1.DE>
next in thread | previous in thread | raw e-mail | index | archive | help
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@chaos1.de> wrote: > > > Am 20.09.2018 um 13:59 schrieb Axel Rau <Axel.Rau@chaos1.de>: > > > > Am 20.09.2018 um 11:35 schrieb Kubilay Kocak <koobs@FreeBSD.org>: > > > Standard warning first up: use of pip install as root (without =E2=80=94u= ser) > > 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 =E2=80=94help for more) > > > Neither > python2.7 setup.py build_ext =E2=80=94include-dirs /usr/local/include > --library-dirs /usr/local/lib > nor > include_dirs =3D /usr/local/include > in setup.cfg worked. > > > Doing carefully what you have proposed, finally worked: > > After building ldap0 with > python setup.py build_ext =E2=80=94include-dirs /usr/local/include > and installing it, a > pip install web2ldap > succeeded. > > Thanks, Axel > --- > PGP-Key:29E99DD6 =E2=98=80 computing @ chaos claudius > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKA3KyfH6h9ruS_PiTeTYBM5=y8WbD=vfYe6Q2KQsWuWWAMYLw>