Installing py-libxml2 from ports fails and the problem is solved at FreeBSD forum. http://forums.freebsd.org/showthread.php?t=10165 Making symbolic links works fine but I believe changing CLAGS is the better way, isn't it? Fix: Add "CFLAGS+=-L/usr/local/lib/pth" to the Makefile. How-To-Repeat: cd /usr/ports/textproc/py-libxml2 && make install ld says "cannot find -lpth".
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback Don't think it's py-libxml2 bug, but in one of Python ports. But I need to make sure first by have you to show me the output of: # python2.6-config --ldflags
State Changed From-To: feedback->open 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 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: python->freebsd-python Canonicalize assignment.
Author: mva Date: Mon Jul 23 17:00:46 2012 New Revision: 301403 URL: http://svn.freebsd.org/changeset/ports/301403 Log: - Fix includes and linker settings for lang/python2*'s PTH options PR: ports/156425 Reported by: Iwao, Koichiro <meta@club.kyutech.ac.jp> Modified: head/textproc/py-libxml2/Makefile (contents, props changed) Modified: head/textproc/py-libxml2/Makefile ============================================================================== --- head/textproc/py-libxml2/Makefile Mon Jul 23 16:11:06 2012 (r301402) +++ head/textproc/py-libxml2/Makefile Mon Jul 23 17:00:46 2012 (r301403) @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc gnome python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,6 +20,8 @@ PLIST= ${.CURDIR}/pkg-plist USE_GNOME= gnomehack libxml2 USE_PYTHON= yes +CPPFLAGS+= `${PYTHON_VERSION}-config --cflags` +LDFLAGS+= `${PYTHON_VERSION}-config --libs` CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed This has been fixed. Thanks for reporting!