[xml] libxml2-2.6.18 on freebsd

2005-03-15 Thread Alex Shaw
Hi, im trying to install libxml2-2.6.18 from the FreeBSD ports, there is a 
problem with the compile on the system i am using. I have tried several 
versions of libxml2 and they all return the same error, which means its 
probably not an issue involved with libxml, but I cant pin down where the error 
is coming from, or what is causing the problem to occur. I was hoping someone 
on this list would be able to point me in the direction of what is causing this.

The error is:
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.

Any help here is greatly appreciated 

Regards

Alex

-- 
Alex Shaw


___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml


Re: [xml] libxml2-2.6.18 on freebsd

2005-03-15 Thread Alex Shaw
Thanks for you help with this, is there anyway I could apply an edit to the *.c 
files to push this through the compiler ?. I have the problem that im about 
1 miles away from the server this week, which means I cant do any major 
work. If I can get this running, I know I can rebuild it properly next week. I 
have mailed the bsd lists to find out if there is a way to resync the libaries 
or do anything else os related to bring this back online.

I tested gcc as mentioned the hello world app runs and compiles without any 
errors.

Thanks again for you help

Alex

On Tue, 15 Mar 2005 16:06:51 -0500
Daniel Veillard [EMAIL PROTECTED] wrote:

 On Tue, Mar 15, 2005 at 03:58:14PM -0500, Liam R. E. Quin wrote:
  On Tue, 2005-03-15 at 15:49 -0500, Daniel Veillard wrote:
   On Tue, Mar 15, 2005 at 12:29:42PM +, Alex Shaw wrote:
 [...]
../../.libs/libxml2.so: undefined reference to `__signbit'
   
 paphio:~/XML - grep __signbit *.c
 paphio:~/XML - grep __signbit *.c include/libxml/*.h
 paphio:~/XML -
  
  Well, you should search for _signbit or signbit, since the compiler
  may have prepended the _ for a static/private variable.
 
   there is two __ and that's usually a convention when remapping a
 public library (libc in that case) symbol to an internal one or a 
 macro in the system includes. 
   The signbit() call is from trio the compatibility library (apparently
 the libc is missing some of the advanced function libxml2 needs or
 well that configure think it is needed). In this case signbit is for
 floating point portability for XPath.
 
 Daniel
 
 -- 
 Daniel Veillard  | Red Hat Desktop team http://redhat.com/
 [EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
 http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
 ___
 xml mailing list, project page  http://xmlsoft.org/
 xml@gnome.org
 http://mail.gnome.org/mailman/listinfo/xml
 


-- 
Alex Shaw
Technical Manager
BulletOnline

www.bulletonline.com
+44(0)2088343442
+44(0)7790744560

___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml


Re: [xml] libxml2-2.6.18 on freebsd

2005-03-15 Thread Alex Shaw

Im running 5.3, but one of the last things installed a couple of days ago was 
compat4x ... could this have had any effect ??, have also mailed the a  bsd 
list to try and get more os specific help.

THanks

Alex

On Tue, 15 Mar 2005 23:09:20 +0100
Aron Stansvik [EMAIL PROTECTED] wrote:

 On Tue, 15 Mar 2005 12:29:42 +, Alex Shaw
 [EMAIL PROTECTED] wrote:
  Hi, im trying to install libxml2-2.6.18 from the FreeBSD ports, there is a 
  problem with the compile on the system i am using. I have tried several 
  versions of libxml2 and they all return the same error, which means its 
  probably not an issue involved with libxml, but I cant pin down where the 
  error is coming from, or what is causing the problem to occur. I was hoping 
  someone on this list would be able to point me in the direction of what is 
  causing this.
  
  The error is:
  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
 
 I don't really know what your problem might be, and I don't have time
 to investigate, but I just wanted to say that I just installed 2.6.18
 from ports on my 5.3 laptop. I see in the manpage for signbit that
 it's a macro added to the math library starting from version 5.1 of
 FreeBSD, are you running 4.x? Maybe it's a glitch and you should
 contact the port maintainer? Anyway, I don't think it's for this list.
 
 Best regards,
 Aron
 ___
 xml mailing list, project page  http://xmlsoft.org/
 xml@gnome.org
 http://mail.gnome.org/mailman/listinfo/xml
 


-- 
Alex Shaw
Technical Manager
BulletOnline

www.bulletonline.com
+44(0)2088343442
+44(0)7790744560

___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml