From owner-freebsd-python@freebsd.org Sat Sep 22 20:28:17 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDDB110A309A for ; Sat, 22 Sep 2018 20:28:16 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 76C3A81F95 for ; Sat, 22 Sep 2018 20:28:16 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: by mailman.ysv.freebsd.org (Postfix) id 3796010A3099; Sat, 22 Sep 2018 20:28:16 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13D0310A3098 for ; Sat, 22 Sep 2018 20:28:16 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout4.lrau.net (mailout4.lrau.net [IPv6:2a05:bec0:26:2::73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout4.lrau.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8902181F92; Sat, 22 Sep 2018 20:28:15 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=email1; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version: Content-Type:Message-Id:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AJkDmzUt9m8f2ecWtdLny7IoX8849rSu8kBqSjoBm8w=; b=WAfArMSKyw4M2lMBD3ybsa5sF+ 43ZyNjPFqiSbqZpDJkDsk0G1IFdsE6jhPUF4M/KPDHZXjUbxwY/4mGrH60csvKjjB/vMdVZyuSdAp dBXbcwry1QM+yReyATuZMC5xGYgTB3E6oZvfiHWqGmsD9xRe+T98Sa0mMLJzDt5JwhakHyWgLnlHx JtuMtNEc3vfsFmk3T5Spi1d8YuU0ABBvNuORt/ZNXsJCmY8iAVUTF9AmLJwODCcWp2QcwuyFj7Vqc MIDOUHdb9MQtHEDnVwTSADMOLgYKGoGfys63BK6VGaXLPLplxFkPXNZkkfNZVGEGNzLj5vpzvUpnx gERWXkvw==; Received: from [91.216.35.74] (helo=imap.lrau.net) by mailout4.lrau.net with esmtp (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g3oVh-000F9k-DV; Sat, 22 Sep 2018 20:28:13 +0000 Received: from Axel.Rau@Chaos1.DE by imap.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1537648092-3472-3453/7/17; Sat, 22 Sep 2018 20:28:12 +0000 From: Axel Rau Message-Id: Mime-Version: 1.0 Subject: [Resolved] --was: Re: Why are devel/py-setuptools missing -I${LOCALBASE}/include ? Date: Sat, 22 Sep 2018 22:28:11 +0200 In-Reply-To: Cc: Palle Girgensohn , python@FreeBSD.org, Michael =?ISO-8859-1?q?Str=F6der?= To: Kubilay Kocak References: <9D14E231-BFD7-4442-9418-3878E70A9C71@Chaos1.DE> <3f44c803-df9c-5683-3aa5-7bec1ba721a1@FreeBSD.org> X-Mailer: Apple Mail (2.3445.9.1) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2018 20:28:17 -0000 > Am 20.09.2018 um 13:59 schrieb Axel Rau : >=20 >=20 >=20 >> Am 20.09.2018 um 11:35 schrieb Kubilay Kocak : >=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