Date: Fri, 23 Feb 2007 12:44:30 +0100 From: Bjoern Voigt <bjoern@cs.tu-berlin.de> To: gnome@FreeBSD.org Subject: Bugreport for py-libxml2 and Python 2.5 Message-ID: <45DED39E.3080909@cs.tu-berlin.de>
next in thread | raw e-mail | index | archive | help
Hello! I recently upgraded my FreeBSD 6.2 system (FreeBSD chemnitz 6.2-STABLE FreeBSD 6.2-STABLE #3: Mon Feb 12 22:58:47 CET 2007 root@mybox:/usr/obj/src/sys/GENERIC.bv i386) from Python 2.4 to Python 2.5. Unfortunately the port textproc/py-libxml2 does not build correctly with python25-2.5_1. There is an error in the Makefile (textproc/py-libxml2/Makefile): Instead of CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-python=${LOCALBASE} there should be something like CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-python=${LOCALBASE}/bin/python${PYTHON_VERSION} Unfortunately with this change a linker error comes up. "-lxml2" (from libxml2-2.6.27/python/Makefile) does not find libxml2.so in /usr/local/lib. Inserting a "-L/usr/local/lib" in libxml2-2.6.27/python/Makefile is a hack to repair this. The problem is hard to find, because the port seams to build properly. But if you take a deeper look, you see that " pkg_info -L py25-libxml2-2.6.27|xargs -n 1 ls -1" shown non-existing files. I found this problem because xml2po from gnome-doc-utils-0.7.2_1 failed to "import libxml2". Regards, Björn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45DED39E.3080909>