Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2018 22:28:11 +0200
From:      Axel Rau <Axel.Rau@chaos1.de>
To:        Kubilay Kocak <koobs@freebsd.org>
Cc:        Palle Girgensohn <girgen@FreeBSD.org>, python@FreeBSD.org, Michael =?ISO-8859-1?q?Str=F6der?= <michael@stroeder.com>
Subject:   [Resolved] --was: Re: Why are devel/py-setuptools missing -I${LOCALBASE}/include ?
Message-ID:  <C4042FFD-E061-4FE6-BDF6-2F135EC8CFB0@Chaos1.DE>
In-Reply-To: <CC7964E0-CADD-4C11-B713-7AD6C6AF478A@Chaos1.DE>
References:  <9D14E231-BFD7-4442-9418-3878E70A9C71@Chaos1.DE> <3f44c803-df9c-5683-3aa5-7bec1ba721a1@FreeBSD.org> <CC7964E0-CADD-4C11-B713-7AD6C6AF478A@Chaos1.DE>

next in thread | previous in thread | raw e-mail | index | archive | help


> Am 20.09.2018 um 13:59 schrieb Axel Rau <Axel.Rau@chaos1.de>:
>=20
>=20
>=20
>> Am 20.09.2018 um 11:35 schrieb Kubilay Kocak <koobs@FreeBSD.org>:
>=20
>> Standard warning first up: use of pip install as root (without =E2=80=94=
user)
> This setup is in venv.
>>=20
>>=20
>> - 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)
>=20
> Neither
>  python2.7 setup.py build_ext =E2=80=94include-dirs /usr/local/include =
=2D-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
=2D--
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?C4042FFD-E061-4FE6-BDF6-2F135EC8CFB0>