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

next in thread | previous in thread | raw e-mail | index | archive | help
This is a unresolved problem.

Currently you can use "make CFLAGS+=3D-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
> =3D=3D=3D> =C2=A0Building 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=3DCC =C2=A0 --mode=3Dlink cc =C2=A0-O2 -pipe
> - -fno-strict-aliasing -std=3Dgnu89 -pedantic -W -Wformat -Wunused
> - -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
> - -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arit=
h
> - -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
> - -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -modul=
e
> - -avoid-version =C2=A0-L/usr/local/lib -o libxml2mod.la -rpath
> /usr/local/lib/python2.7/site-packages libxml.lo types.lo libxml2-py.lo
> - -lxml2 =C2=A0 -L/usr/local/lib/python2.7/config -lpth -lutil -lm -lpyth=
on2.7
> - -Wl,--export-dynamic
> libtool: link: cc -shared =C2=A0.libs/libxml.o .libs/types.o
> .libs/libxml2-py.o =C2=A0 -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 =C2=A0-Wl,--export-dynamic =C2=A0 -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
> =3DQ6/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"
>



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