[xml] libxml2-2.63 compilation error under Linux



Dear Sir,
I am writing to you to inform you of something that
appears to be a bug in libxml2-2.63. I was trying to
install Gnome2 using Garnome when at some point I
noticed compilation had stopped because libxml2 could
not compile. Quite frankly, I don't even know what XML
is it was a code error so I managed to circumvent it.
The problem, which besides the compilation error
probably does not affect me, is in some data structure
which is important only with IP6 support. ./configure
does not provide a way to disable IP6 support ( or I
overlooked one ) so I tried, after editing the
Makefile, to compile with -USUPPORT_IP6. This didn't
help though. It still failed with the same message.
After a couple of minutes I realised that in config.h
there are two SUPPORT_IP6 defines. I commented both of
them out, and it compiled. I don't know whether this
has been fixed, or whether I was not doing something
correctly ( my system is not, AFAIK configured to
support IPv6) but I found it appropriate to submit a
bug report.

I am running SuSE Linux with a 2.4.0 kernel,  2.2.5
glibc, GCC 3.2.1 on a Duron 800 Mhz.

Thanks in advance
Vassilis Pandis

Ps: The error persisted even when I tried to compile
libxml2 independantly of Garnome.

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H
-I. -I. -I. -I./include -I./include  -D_REENTRANT   
-I/home/master/garnome/include -I/usr/X11R6/include 
-g -I/home/master/garnome/include -I/usr/X11R6/include
-L/home/master/garnome/lib -L/usr/X11R6/lib -O2 -pipe
-Wall -c -o nanohttp.lo `test -f 'nanohttp.c' || echo
'./'`nanohttp.c
 cc -DHAVE_CONFIG_H -I. -I. -I. -I./include
-I./include -D_REENTRANT
-I/home/master/garnome/include -I/usr/X11R6/include -g
-I/home/master/garnome/include -I/usr/X11R6/include
-L/home/master/garnome/lib -L/usr/X11R6/lib -O2 -pipe
-Wall -c nanohttp.c -MT nanohttp.lo -MD -MP -MF
.deps/nanohttp.TPlo  -fPIC -DPIC -o .libs/nanohttp.o
nanohttp.c:110:1: warning: "SOCKLEN_T" redefined
In file included from libxml.h:24,
                 from nanohttp.c:19:
config.h:264:1: warning: this is the location of the
previous definition
source='nanoftp.c' object='nanoftp.lo' libtool=yes \
depfile='.deps/nanoftp.Plo'
tmpdepfile='.deps/nanoftp.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H
-I. -I. -I. -I./include -I./include  -D_REENTRANT   
-I/home/master/garnome/include -I/usr/X11R6/include 
-g -I/home/master/garnome/include -I/usr/X11R6/include
-L/home/master/garnome/lib -L/usr/X11R6/lib -O2 -pipe
-Wall -c -o nanoftp.lo `test -f 'nanoftp.c' || echo
'./'`nanoftp.c
 cc -DHAVE_CONFIG_H -I. -I. -I. -I./include
-I./include -D_REENTRANT
-I/home/master/garnome/include -I/usr/X11R6/include -g
-I/home/master/garnome/include -I/usr/X11R6/include
-L/home/master/garnome/lib -L/usr/X11R6/lib -O2 -pipe
-Wall -c nanoftp.c -MT nanoftp.lo -MD -MP -MF
.deps/nanoftp.TPlo  -fPIC -DPIC -o .libs/nanoftp.o
nanoftp.c:98:1: warning: "SOCKLEN_T" redefined
In file included from libxml.h:24,
                 from nanoftp.c:20:
config.h:264:1: warning: this is the location of the
previous definition
nanoftp.c: In function `xmlNanoFTPGetConnection':
nanoftp.c:1554: structure has no member named
`ss_family'
nanoftp.c:1573: structure has no member named
`ss_family'
nanoftp.c:1604: structure has no member named
`ss_family'
nanoftp.c:1641: structure has no member named
`ss_family'
nanoftp.c:1660: structure has no member named
`ss_family'
make[6]: *** [nanoftp.lo] Error 1
make[6]: Leaving directory
`/tmp/garnome-0.28.3/gnome/libxml2/work/main.d/libxml2-2.6.3'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/tmp/garnome-0.28.3/gnome/libxml2/work/main.d/libxml2-2.6.3'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/tmp/garnome-0.28.3/gnome/libxml2/work/main.d/libxml2-2.6.3'
make[3]: ***
[build-work/main.d/libxml2-2.6.3/Makefile] Error 2
make[3]: Leaving directory
`/tmp/garnome-0.28.3/gnome/libxml2'
make[2]: ***
[../../gnome/libxml2/cookies/main.d/install] Error 2
make[2]: Leaving directory
`/tmp/garnome-0.28.3/gnome/GConf'
make[1]: ***
[../../gnome/GConf/cookies/main.d/install] Error 2
make[1]: Leaving directory
`/tmp/garnome-0.28.3/gnome/metacity'
make: ***
[../../gnome/metacity/cookies/main.d/install] Error 2




________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]