Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2011 07:37:46 +0200
From:      joerg_surmann <joerg_surmann@snafu.de>
To:        wen heping <wenheping@gmail.com>,  FreeBSD_mailiglist_KERNEL <freebsd-stable@freebsd.org>, Freebsd_mailinglist_PORTS <freebsd-ports@freebsd.org>
Subject:   Re: cannot install textproc/py-libxml2
Message-ID:  <4DEC67AA.3060500@snafu.de>
In-Reply-To: <BANLkTindWhfAPkm_cWiFeh6qR3zC16aSGw@mail.gmail.com>
References:  <4DEBDDB8.30001@snafu.de> <BANLkTindWhfAPkm_cWiFeh6qR3zC16aSGw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DEC67AA.3060500>