cannot install textproc/py-libxml2

joerg_surmann joerg_surmann at snafu.de
Mon Jun 6 05:37:59 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Wen,

Thanks for your reply but it's the same issue:

/usr/ports/textproc/py-libxml2# make
CFLAGS+=-I/usr/local/include/pth-L/usr/local/lib/pth install
===>  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
- -I/usr/local/include/pth-L/usr/local/lib/pth
- -I/usr/local/include/pth-L/usr/local/lib/pth -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

You have a another idea?

Thanks for help.

Suri

Am 06.06.11 02:03, schrieb wen heping:
> 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 at snafu.de>:
> 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
_______________________________________________
freebsd-ports at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3sZ6oACgkQcEHvP2uxrTPg+gCfbm/FFp9csy3Fdn3uj54886JI
M08AnRl6LOPU2hMB2RYvLkqJ6tLcyz7q
=q0k+
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list