Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 14:01:21 -0500
From:      Jeremy Messenger <mezz.freebsd@gmail.com>
To:        Kouichiro Iwao <meta@club.kyutech.ac.jp>
Cc:        gnome@freebsd.org, python@FreeBSD.org, mezz@freebsd.org
Subject:   Re: ports/156425: Installing textproc/py-libxml2 fails because of lack of CFLAGS
Message-ID:  <BANLkTiki7cOjF4BFav%2Bd19CDEjFwcdjo4w@mail.gmail.com>
In-Reply-To: <20110501175122.GA12759@club.kyutech.ac.jp>
References:  <201104302219.p3UMJQcD087455@freefall.freebsd.org> <20110501175122.GA12759@club.kyutech.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/5/1 Kouichiro Iwao <meta@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@gmail.com - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTiki7cOjF4BFav%2Bd19CDEjFwcdjo4w>