This is a unresolved problem.
Currently you can use "make CFLAGS+=-I/usr/local/include/pth
-L/usr/local/lib/pth install" to install it.
wen
2011/6/6 joerg_surmann <joerg_surmann@snafu.de>:> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi all,
>
> /usr/ports/textproc/py-libxml2# make install clean
> ===> ?Building for py27-libxml2-2.7.8_1
> Making all in .
> gmake[1]: Entering directory
> `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8/python'
> /bin/sh ../libtool --tag=CC ? --mode=link cc ?-O2 -pipe
> - -fno-strict-aliasing -std=gnu89 -pedantic -W -Wformat -Wunused
> - -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
> - -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith
> - -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
> - -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -module
> - -avoid-version ?-L/usr/local/lib -o libxml2mod.la -rpath
> /usr/local/lib/python2.7/site-packages libxml.lo types.lo libxml2-py.lo
> - -lxml2 ? -L/usr/local/lib/python2.7/config -lpth -lutil -lm -lpython2.7
> - -Wl,--export-dynamic
> libtool: link: cc -shared ?.libs/libxml.o .libs/types.o
> .libs/libxml2-py.o ? -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath
> - -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so -lz
> /usr/local/lib/libiconv.so -L/usr/local/lib/python2.7/config -lpth
> - -lutil -lm -lpython2.7 ?-Wl,--export-dynamic ? -Wl,-soname
> - -Wl,libxml2mod.so -o .libs/libxml2mod.so
> /usr/bin/ld: cannot find -lpth
> gmake[1]: *** [libxml2mod.la] Fehler 1
> gmake[1]: Leaving directory
> `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8/python'
> gmake: *** [all-recursive] Fehler 1
> *** Error code 1
>
> Stop in /usr/ports/textproc/py-libxml2.
>
>
> have anyone a idea?
>
> thanks
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk3r3bgACgkQcEHvP2uxrTPMEgCgwnHvxLeDCnSTmy5FuEW4hW/c
> 3bUAnRVHz1vpfRvKq99fuPC3wp1zglRn
> =Q6/i
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
"freebsd-ports-unsubscribe@freebsd.org"
>