Re: [xml] Error Building libxml2-2.6.4 (nanoftp.c)



On Sun, 2004-01-04 at 09:13, Mark Hawkes wrote:
I've tried building libxml2-2.6.4 but it fails at the "make" stage. Anyone 
have any clues? I'm running an old system... just hoping I can make it last 
a bit longer...

My platform:
* Slackware Linux 7.1 (June 2000)
* Kernel 2.2.16
* glibc 2.1.3
* gcc is egcs 2.91.66


$ ./configure --without-ipv6
<okay>

I think you need to pass in --disable-ipv6, rather than --without-ipv6.
The test in configure.in is looking for enable/disable.


$ make
...
nanoftp.c: In function `xmlNanoFTPGetConnection':
nanoftp.c:1556: structure has no member named `ss_family'
nanoftp.c:1575: structure has no member named `ss_family'
nanoftp.c:1606: structure has no member named `ss_family'
nanoftp.c:1643: structure has no member named `ss_family'
nanoftp.c:1662: structure has no member named `ss_family'
make[2]: *** [nanoftp.lo] Error 1
make[2]: Leaving directory `/home/mhawkes/libxml2-2.6.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mhawkes/libxml2-2.6.4'
make: *** [all] Error 2

This indicates that IPv6 is not disabled. The ultimate test to see if
you have configured things correctly is to look in config.h and see if
SUPPORT_IP6 is defined. If it is, you will get these problems and need
to look at the output of configure a bit more carefully.

Cheers,
Malcolm





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