libgsf-gnome will not confirgure because libxml2 isn't linked with libpthread

Jeremy Messenger mezz7 at cox.net
Sun Nov 14 13:50:04 PST 2004


On Sun, 14 Nov 2004 13:41:16 -0800, Sean McNeil <sean at mcneil.com> wrote:

> I found this when doing a complete rebuild of my ports:

======================================
% cat /usr/ports/textproc/libxml2/Makefile | grep THREADS
OPTIONS=        THREADS "Enable pthread support (MAY BREAK OTHER PORTS!)"  
off \
.if defined(WITH_THREADS)
======================================

See that 'MAY BREAK OTHER PORTS!' so is it what you want? Maybe, I should  
change by s/MAY/WILL/g to clear up? :-)

Cheers,
Mezz

> /usr/local/lib/libxml2.so.5:
>         libz.so.2 => /lib/libz.so.2 (0x800a62000)
>         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x800b75000)
>         libm.so.3 => /lib/libm.so.3 (0x800d68000)
>
> /usr/ports/devel/libgsf-gnome/work/libgsf-1.10.1/config.log:
> configure:2306: cc -g -O -pipe  -I/usr/local/include -L/usr/local/lib
> -lgsf-1 conftest.c  >&5
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_equal'
> configure:2309: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "libgsf"
> | #define VERSION "1.10.1"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2347: error: C compiler cannot create executables
> See `config.log' for more details.


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-gnome mailing list