From owner-freebsd-questions@FreeBSD.ORG Tue Mar 15 22:22:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8890E16A4CE for ; Tue, 15 Mar 2005 22:22:35 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E477F43D67 for ; Tue, 15 Mar 2005 22:22:34 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id j2FMMOQW013659; Tue, 15 Mar 2005 14:22:25 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Tue, 15 Mar 2005 14:22:31 -0800 User-Agent: KMail/1.7.2 References: <20050315133834.6c4fa792@zaphod.icarix.net> <200503151400.17350.kstewart@owt.com> <20050315140824.40d3a0d0@zaphod.icarix.net> In-Reply-To: <20050315140824.40d3a0d0@zaphod.icarix.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503151422.31618.kstewart@owt.com> cc: Alex Shaw Subject: Re: libxml2 complier X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 22:22:35 -0000 On Tuesday 15 March 2005 06:08 am, Alex Shaw wrote: > thanks for this ... i ran portupgrade -Rf libxml2 > > after a little time it returned the following What version of FreeBSD are you running? Could you be using a version that is too old? Kent > > cc -O -pipe -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 -o > .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz > -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: > undefined reference to `__signbit' > gmake[3]: *** [xpath1] Error 1 > gmake[3]: Leaving directory > `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** > [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] > Error 2 > *** Error code 2 > > Stop in /usr/ports/textproc/libxml2. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade2791.2 make** Fix the problem and try again. ** > Listing the failed packages (*:skipped / !:failed) > ! textproc/libxml2 (libxml2-2.6.13) (linker error) > ---> Packages processed: 2 done, 0 ignored, 0 skipped and 1 failed > > same problem :( > > regards > > Alex > > > > > > > On Tue, 15 Mar 2005 14:00:17 -0800 > > Kent Stewart wrote: > > On Tuesday 15 March 2005 05:38 am, Alex Shaw wrote: > > > Hi, > > > > > > I have a problem compiling libxml2 from the ports. the error is > > > this: > > > > > > cc -O -pipe -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 > > > -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so > > > -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib > > > ../../.libs/libxml2.so: undefined reference to `__signbit' > > > gmake[3]: *** [xpath1] Error 1 > > > gmake[3]: Leaving directory > > > `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' > > > gmake[2]: *** [all-recursive] Error 1 > > > gmake[2]: Leaving directory > > > `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: > > > *** [all-recursive] Error 1 > > > gmake[1]: Leaving directory > > > `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** > > > [all] Error 2 > > > *** Error code 2 > > > > > > Ive tried compiling several different versions of libxml all > > > produce the same error. I contacted the xml list for libxml2 and > > > have been directed towards os help with the compiler, apperntly > > > the compiler includes are not in sync with the installed libc. I > > > know compat4x was installed recently and dont know if this has > > > and relation. > > > > > > I have included the text of the conversation on the libxml list > > > for reference, Ideally I need to get this back up so i can get > > > php-xml to run. Any suggestions here would be useful as I am out > > > of my depth when it come to compilers and how they work. > > > > > > unfortuantly rebuilding the box is out of the question, im away > > > on a busiessness trip about 10000 miles from the server :(, so > > > any solution that might be a temporary fix till i can get back > > > next week would be a start > > > > > > Also worth noting I complied a "hello world" app to test gcc and > > > it worked.... dont know how much this will help. > > > > FWIW, I have rebuilt in on 4-stable and 5-stable and didn't see > > your problem. I would suspect that you have a dependancy out of > > date. I don't think a "portugrade -Rf libxml2" would take long. IF > > it fails, it will leave the old version installed. > > > > Kent > > > > > Regards > > > > > > Alex > > > > -- > > Kent Stewart > > Richland, WA > > > > http://users.owt.com/kstewart/index.html -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html