Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 19:09:31 GMT
From:      mezz@FreeBSD.org
To:        meta@club.kyutech.ac.jp, mezz@FreeBSD.org, gnome@FreeBSD.org, python@FreeBSD.org
Subject:   Re: ports/156425: lang/python26: Needs to include -L/usr/local/lib/pth in python2.6-config.
Message-ID:  <201105011909.p41J9VB5056283@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105011909.p41J9VB5056283>