Re: [xml] Problem in nanoftp when compiling on Tru64



Tim Winders said:
I am trying to compile libxml2-2.6.7 under Tru64 5.1.  But, it dies
when
it get to nanoftp.  I have tried both gcc3 and the Tru64 cc
compiler.
Here is the error with gcc3:

make[2]: Entering directory `/src/libxml2-2.6.7'
source='nanoftp.c' object='nanoftp.lo' libtool=yes \

<snip>
nanoftp.c: In function `xmlNanoFTPGetConnection':
nanoftp.c:1558: structure has no member named `ss_family'
nanoftp.c:1577: structure has no member named `ss_family'
nanoftp.c:1608: structure has no member named `ss_family'
nanoftp.c:1645: structure has no member named `ss_family'
nanoftp.c:1664: structure has no member named `ss_family'
make[2]: *** [nanoftp.lo] Error 1
make[2]: Leaving directory `/src/libxml2-2.6.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/libxml2-2.6.7'
make: *** [all] Error 2

If I do ./configure with --without-ftp it works fine.
Unfortunately, I
need ftp support in libxml.

I have searched through the archives and bugs and don't see anything
related to this or how to fix it.  Any suggestions?

=== Tim

This error is appearing because of some problem with the include
files related to IpV6 installed on your system. When I compile the
library on HP's "Testdrive" Tru64 system this error does not appear,
and the compilation completes satisfactorily.

Rather than pursue where the error/confusion with IpV6 installation
lies, you may wish to circumvent the problem by adding the flag
   --enable-ipv6=no
when you run ./configure.

Regards,

Bill



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