ports/156425: lang/python26: Needs to include -L/usr/local/lib/pth in python2.6-config.

mezz at FreeBSD.org mezz at FreeBSD.org
Sun May 1 19:09:32 UTC 2011


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


More information about the freebsd-gnome mailing list