From owner-freebsd-python@FreeBSD.ORG Sun May 1 19:09:32 2011 Return-Path: Delivered-To: python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 147971065670; Sun, 1 May 2011 19:09:32 +0000 (UTC) (envelope-from mezz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 05DFC8FC08; Sun, 1 May 2011 19:09:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p41J9VHX056287; Sun, 1 May 2011 19:09:31 GMT (envelope-from mezz@freefall.freebsd.org) Received: (from mezz@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p41J9VB5056283; Sun, 1 May 2011 19:09:31 GMT (envelope-from mezz) Date: Sun, 1 May 2011 19:09:31 GMT Message-Id: <201105011909.p41J9VB5056283@freefall.freebsd.org> To: meta@club.kyutech.ac.jp, mezz@FreeBSD.org, gnome@FreeBSD.org, python@FreeBSD.org From: mezz@FreeBSD.org Cc: Subject: Re: ports/156425: lang/python26: Needs to include -L/usr/local/lib/pth in python2.6-config. X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2011 19:09:32 -0000 Old Synopsis: Installing textproc/py-libxml2 fails because of lack of CFLAGS New Synopsis: lang/python26: Needs to include -L/usr/local/lib/pth in python2.6-config. State-Changed-From-To: feedback->open State-Changed-By: mezz State-Changed-When: Sun May 1 19:03:18 UTC 2011 State-Changed-Why: Change the Synopsis/Subject. Change from gnome to python. It's not a py-libxml2 bug, which it's lang/python26 and possible all python2*? When I installed lang/python26 with pth option. The python2.6-config output will have -lpth included. # python2.6-config --ldflags -L/usr/local/lib/python2.6/config -lpth -lutil -lm -lpython2.6 -----------------------------------^^^^^ The pth library lives in /usr/local/lib/pth, so python2.6-config needs to include the -L/usr/local/lib/pth to fix other ports build. I didn't check if other versions of python also need the fix. Responsible-Changed-From-To: gnome->python Responsible-Changed-By: mezz Responsible-Changed-When: Sun May 1 19:03:18 UTC 2011 Responsible-Changed-Why: Change the Synopsis/Subject. Change from gnome to python. It's not a py-libxml2 bug, which it's lang/python26 and possible all python2*? When I installed lang/python26 with pth option. The python2.6-config output will have -lpth included. # python2.6-config --ldflags -L/usr/local/lib/python2.6/config -lpth -lutil -lm -lpython2.6 -----------------------------------^^^^^ The pth library lives in /usr/local/lib/pth, so python2.6-config needs to include the -L/usr/local/lib/pth to fix other ports build. I didn't check if other versions of python also need the fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=156425