From owner-freebsd-python@freebsd.org Sun Sep 23 01:28:13 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 3799F10A9439 for ; Sun, 23 Sep 2018 01:28:13 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) 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 AE7E48AC6C for ; Sun, 23 Sep 2018 01:28:12 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6F8BA10A9436; Sun, 23 Sep 2018 01:28:12 +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 4D9C710A9434 for ; Sun, 23 Sep 2018 01:28:12 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B327B8AC6A; Sun, 23 Sep 2018 01:28:11 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-lf1-f47.google.com with SMTP id t22-v6so4199692lfb.7; Sat, 22 Sep 2018 18:28:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YYIya/VKE9OOzyXV0ebgNGSl6WctcPUB0YF98pKqrxM=; b=cJPjgsLon9D9FKyuwoV8zfj+9hNT/aWngc9dkmxo++sM+RR581gvn1437k/GA33g81 ISlkOwyKq0SCnZFlnVe2K/yRSbAoaJMdgFCu+djKqHvQwEWJLVWCFp/NiEMnSIYMRQjm 6f5/qZTXwMoBT1XxvEDKbc99+X7mlH0gPwq3fLShLKogS1ymG+m+iGzCSAX34+9xv0Ir ze/BpKMpQB6o3/RjeqDnENY4/Ar+i17okCtJz7SOfbTERN0w5a7idKhA69ih6QWLA43I Iwkr9LU6gDVED0U7FNo6drHl6RwK97VEu4oWi2uasHUm38d0ViQWwPCytm1cSE3oeh+2 16vg== X-Gm-Message-State: APzg51Duq2qMBeTOnIuDaRiB+efA9pD25sVbYs/3k63y6l7ulJpVPA5/ g4QmikhKlk2Ko3I9GLUQ8msI6EOTxlJRcag/+qU= X-Google-Smtp-Source: ANB0VdY6UJeAmmx2wz4dDInQdpQ3YauYOdMRkrEaa1azlmR7l4PMUnztBmQ1KaTHZ1UGXywXKn2bRoK0RFpw7tVAHjY= X-Received: by 2002:a19:8fc7:: with SMTP id s68-v6mr2242326lfk.75.1537664647492; Sat, 22 Sep 2018 18:04:07 -0700 (PDT) MIME-Version: 1.0 References: <9D14E231-BFD7-4442-9418-3878E70A9C71@Chaos1.DE> <3f44c803-df9c-5683-3aa5-7bec1ba721a1@FreeBSD.org> In-Reply-To: From: Kubilay Kocak Date: Sun, 23 Sep 2018 11:03:55 +1000 Message-ID: Subject: Re: [Resolved] --was: Re: Why are devel/py-setuptools missing -I${LOCALBASE}/include ? To: Axel Rau Cc: Palle Girgensohn , python@freebsd.org, =?UTF-8?Q?Michael_Str=C3=B6der?= 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: Sun, 23 Sep 2018 01:28:13 -0000 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, wrote: > > > Am 20.09.2018 um 13:59 schrieb Axel Rau : > > > > Am 20.09.2018 um 11:35 schrieb Kubilay Kocak : > > > 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 > >