I can't compile lftp 4.3.6 on Ubuntu 12.04 64 bits
$ ./configure --with-modules --with-pager=/usr/bin/less
--without-gnutls --without-openssl
......
$ make
.....
In file included from xstrtol.h:22:0,
from xstrtol.c:31:
./getopt.h:196:8: error: redefinition of 'struct option'
/usr/include/getopt.h:106:8: note: originally defined here
./getopt.h:245:12: error: conflicting types for 'getopt_long'
/usr/include/getopt.h:175:12: note: previous declaration of
'getopt_long' was here
./getopt.h:249:12: error: conflicting types for 'getopt_long_only'
/usr/include/getopt.h:179:12: note: previous declaration of
'getopt_long_only' was here
make[3]: *** [xstrtol.lo] Error 1
make[3]: se sale del directorio
«/home/simon/sources/lftp-4.3.6/lib»
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio
«/home/simon/sources/lftp-4.3.6/lib»
make[1]: *** [all] Error 2
make[1]: se sale del directorio
«/home/simon/sources/lftp-4.3.6/lib»
make: *** [all-recursive] Error 1
|
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp