From owner-freebsd-gnome@FreeBSD.ORG Mon May 3 16:35:57 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB68916A4D0; Mon, 3 May 2004 16:35:57 -0700 (PDT) Received: from ahk.pu.ru (ahk.pu.ru [193.124.85.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FEDA43D5C; Mon, 3 May 2004 16:35:56 -0700 (PDT) (envelope-from mrj@mrj.spb.ru) Received: from wg.pu.ru (wg.pu.ru [193.124.85.219]) by ahk.pu.ru (8.12.9p2/8.12.9) with ESMTP id i43NZrqv003551; Tue, 4 May 2004 03:35:54 +0400 (MSD) (envelope-from mrj@mrj.spb.ru) Received: from mrj.spb.ru (p91.ppp.pu.ru [194.85.123.91]) by wg.pu.ru (8.9.1a/8.9.1) with ESMTP id XAA06241; Mon, 3 May 2004 23:35:51 GMT Message-ID: <4096D756.5080701@mrj.spb.ru> Date: Tue, 04 May 2004 03:35:50 +0400 From: Roman J Mashirov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: ru, en MIME-Version: 1.0 To: gnome@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit cc: knu@FreeBSD.org Subject: FreeBSD Port: libxml2-2.6.9 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 23:35:57 -0000 Hi! Seems there is a compartibility problem with libxml2-2.6.9 and p5-XML-LibXML-Common-0.13 which is needed for p5-XML-LibXML-1.58 (perl library for libxml). LibXML-Common port steel depends on libxml2.5, and reports following things while is compiled with 2.6.9 main thing here seems: Unrecognized argument in LIBS ignored: '-pthread', which leads to Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest: /usr/local/lib/libxml2.so.5: Undefined symbol "pthread_cond_signal" at /usr/local/lib/perl5/5.6.1/mach/DynaLoader.pm line 206. Can you point, at least, in which direction should i look to fix it (well i really can fix it by just installing 2.5.4 version of libxslt but...) Complete output follows: $perl Makefile.PL DEBUG=1 enable native perl UTF8 running xml2-config... xml2-config --version xml2-config --libs xml2-config --cflags ok looking for -lxml2... perl Makefile.PL 'INC=-I/usr/local/include/libxml2 -I/usr/ local/include' 'DEFINE= -DHAVE_UTF8' 'LIBS=-L/usr/local/lib -lxml2 -lz -pthread -L/usr/local/lib -liconv -lm' INC = -I/usr/local/include/libxml2 -I/usr/local/include DEFINE = -DHAVE_UTF8 LIBS = -L/usr/local/lib -lxml2 -lz -pthread -L/usr/local/lib -liconv -lm Unrecognized argument in LIBS ignored: '-pthread' Writing Makefile for Conftest make test 'OTHERLDFLAGS=' cp Conftest.pm blib/lib/Conftest.pm /usr/bin/perl -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1/BSD PAN /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5. 6.1/ExtUtils/typemap Conftest.xs > Conftest.xsc && mv Conftest.xsc Conftest.c cc -c -I/usr/local/include/libxml2 -I/usr/local/include -DAPPLLIB_EXP="/usr/loca l/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -O -pipe -DVERSION=\"1\" -DXS_VERSION=\"1\" -DPIC -fPIC -I/usr/local/lib/perl5/5.6.1/mac h/CORE -DHAVE_UTF8 Conftest.c Running Mkbootstrap for Conftest () chmod 644 Conftest.bs rm -f blib/arch/auto/Conftest/Conftest.so LD_RUN_PATH="/usr/local/lib:/usr/lib" cc -shared -L/usr/local/lib Conftest.o -o blib/arch/auto/Conftest/Conftest.so -L/usr/local/lib -lxml2 -lz -L/usr/loca l/lib -liconv -lm chmod 755 blib/arch/auto/Conftest/Conftest.so cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs chmod 644 blib/arch/auto/Conftest/Conftest.bs PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5. 6.1/mach -I/usr/local/lib/perl5/5.6.1/BSDPAN test.pl 1..1 Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest: /usr/local /lib/libxml2.so.5: Undefined symbol "pthread_cond_signal" at /usr/local/lib/perl 5/5.6.1/mach/DynaLoader.pm line 206. at test.pl line 2 Compilation failed in require at test.pl line 2. BEGIN failed--compilation aborted at test.pl line 2. *** Error code 255 Stop in /usr/ports/textproc/p5-XML-LibXML-Common/work/XML-LibXML-Common-0.13/.te stlink. system call to 'make test 'OTHERLDFLAGS='' failed at Makefile.PL line 168. no looking for -llibxml2... perl Makefile.PL 'INC=-I/usr/local/include/libxml2 -I/u sr/local/include' 'DEFINE= -DHAVE_UTF8' 'LIBS=-L/usr/local/lib -lxml2 -lz -pthre ad -L/usr/local/lib -liconv -lm' INC = -I/usr/local/include/libxml2 -I/usr/local/include DEFINE = -DHAVE_UTF8 LIBS = -L/usr/local/lib -lxml2 -lz -pthread -L/usr/local/lib -liconv -lm Unrecognized argument in LIBS ignored: '-pthread' Writing Makefile for Conftest make test 'OTHERLDFLAGS=' cp Conftest.pm blib/lib/Conftest.pm /usr/bin/perl -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1/BSD PAN /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5. 6.1/ExtUtils/typemap Conftest.xs > Conftest.xsc && mv Conftest.xsc Conftest.c cc -c -I/usr/local/include/libxml2 -I/usr/local/include -DAPPLLIB_EXP="/usr/loca l/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -O -pipe -DVERSION=\"1\" -DXS_VERSION=\"1\" -DPIC -fPIC -I/usr/local/lib/perl5/5.6.1/mac h/CORE -DHAVE_UTF8 Conftest.c Running Mkbootstrap for Conftest () chmod 644 Conftest.bs rm -f blib/arch/auto/Conftest/Conftest.so LD_RUN_PATH="/usr/local/lib:/usr/lib" cc -shared -L/usr/local/lib Conftest.o -o blib/arch/auto/Conftest/Conftest.so -L/usr/local/lib -lxml2 -lz -L/usr/loca l/lib -liconv -lm chmod 755 blib/arch/auto/Conftest/Conftest.so cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs chmod 644 blib/arch/auto/Conftest/Conftest.bs PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5. 6.1/mach -I/usr/local/lib/perl5/5.6.1/BSDPAN test.pl 1..1 Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest: /usr/local /lib/libxml2.so.5: Undefined symbol "pthread_cond_signal" at /usr/local/lib/perl 5/5.6.1/mach/DynaLoader.pm line 206. at test.pl line 2 Compilation failed in require at test.pl line 2. BEGIN failed--compilation aborted at test.pl line 2. *** Error code 255 Stop in /usr/ports/textproc/p5-XML-LibXML-Common/work/XML-LibXML-Common-0.13/.te stlink. system call to 'make test 'OTHERLDFLAGS='' failed at Makefile.PL line 168. no libxml2 not found Try setting LIBS and INC values on the command line Or get libxml2 from http://www.libxml.org/ If you install via RPMs, make sure you also install the -devel **