ports/156425: Installing textproc/py-libxml2 fails because of lack of CFLAGS

Jeremy Messenger mezz.freebsd at gmail.com
Sun May 1 19:01:23 UTC 2011


2011/5/1 Kouichiro Iwao <meta at club.kyutech.ac.jp>:
> $ python2.6-config --ldflags
> -L/usr/local/lib/python2.6/config -lutil -lm -lpython2.6

Umm.. Do you have still have pth installed? I think your python 2.6
has changed after you submitted PR? I have gone ahead installed
lang/python26 with the pth option. Here's what I get:

# python2.6-config --ldflags
-L/usr/local/lib/python2.6/config -lpth -lutil -lm -lpython2.6
----------------------------------------^^^

> is this mean python-relevant ports (ex. py-*) fail to detect build
> options of python's?

It's a lang/python26 bug. There is nothing that py-libxml2 depends on
pth. Since the python2.6-config has -lpth then it needs to be fixed by
add -L/usr/local/lib/pth in the python2.6-config. Add CC'ing to
python@ and I will change the PR to python.

Cheers,
Mezz


-- 
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org


More information about the freebsd-gnome mailing list