Discussion:
Error to compile lftp 4.4.3
J1 Simón
2013-02-11 15:11:50 UTC
Permalink
Hi,
I'm trying to compile lftp 4.4.3 but it shows this error:

/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT netrc.lo -MD
-MP -MF .deps/netrc.Tpo -c -o netrc.lo netrc.cc
mv -f .deps/netrc.Tpo .deps/netrc.Plo
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT lftp_tinfo.lo
-MD -MP -MF .deps/lftp_tinfo.Tpo -c -o lftp_tinfo.lo lftp_tinfo.cc
lftp_tinfo.cc: In function 'void init_terminfo()':
lftp_tinfo.cc:55:33: error: 'setupterm' was not declared in this scope
lftp_tinfo.cc:55:38: error: 'ERR' was not declared in this scope
lftp_tinfo.cc: In function 'const char* get_string_term_cap(const
char*, const char*)':
lftp_tinfo.cc:72:63: error: 'tigetstr' was not declared in this scope
make[1]: *** [lftp_tinfo.lo] Error 1
make[1]: se sale del directorio «/home/simon/sources/lftp-4.4.3/src»
make: *** [all-recursive] Error 1

The config.log is in: http://paste.ubuntu.com/1636581/
I'm on Ubuntu 12.10 64 bits and I configure with: "--with-modules
--with-pager=/usr/bin/less --without-gnutls --without-openssl".
Regards.
J1 Simón
2013-02-11 19:01:17 UTC
Permalink
It's solved.
Post by J1 Simón
Hi,
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT netrc.lo -MD
-MP -MF .deps/netrc.Tpo -c -o netrc.lo netrc.cc
mv -f .deps/netrc.Tpo .deps/netrc.Plo
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT lftp_tinfo.lo
-MD -MP -MF .deps/lftp_tinfo.Tpo -c -o lftp_tinfo.lo lftp_tinfo.cc
lftp_tinfo.cc:55:33: error: 'setupterm' was not declared in this scope
lftp_tinfo.cc:55:38: error: 'ERR' was not declared in this scope
lftp_tinfo.cc: In function 'const char* get_string_term_cap(const
lftp_tinfo.cc:72:63: error: 'tigetstr' was not declared in this scope
make[1]: *** [lftp_tinfo.lo] Error 1
make[1]: se sale del directorio «/home/simon/sources/lftp-4.4.3/src»
make: *** [all-recursive] Error 1
The config.log is in: http://paste.ubuntu.com/1636581/
I'm on Ubuntu 12.10 64 bits and I configure with: "--with-modules
--with-pager=/usr/bin/less --without-gnutls --without-openssl".
Regards.
Cristian Ionescu-Idbohrn
2013-02-11 19:10:55 UTC
Permalink
Post by J1 Simón
It's solved.
Just for the record, how?
Post by J1 Simón
Post by J1 Simón
Hi,
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT netrc.lo -MD
-MP -MF .deps/netrc.Tpo -c -o netrc.lo netrc.cc
mv -f .deps/netrc.Tpo .deps/netrc.Plo
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT lftp_tinfo.lo
-MD -MP -MF .deps/lftp_tinfo.Tpo -c -o lftp_tinfo.lo lftp_tinfo.cc
lftp_tinfo.cc:55:33: error: 'setupterm' was not declared in this scope
lftp_tinfo.cc:55:38: error: 'ERR' was not declared in this scope
lftp_tinfo.cc: In function 'const char* get_string_term_cap(const
lftp_tinfo.cc:72:63: error: 'tigetstr' was not declared in this scope
make[1]: *** [lftp_tinfo.lo] Error 1
make[1]: se sale del directorio «/home/simon/sources/lftp-4.4.3/src»
make: *** [all-recursive] Error 1
The config.log is in: http://paste.ubuntu.com/1636581/
I'm on Ubuntu 12.10 64 bits and I configure with: "--with-modules
--with-pager=/usr/bin/less --without-gnutls --without-openssl".
Regards.
Cheers,
--
Cristian
J1 Simón
2013-02-12 07:13:43 UTC
Permalink
Post by Cristian Ionescu-Idbohrn
Post by J1 Simón
It's solved.
Just for the record, how?
I don't know.
Yesterday I installed from scratch Ubuntu 12.10 64 bits. I compiled
several programs. When lftp compilation gave that problem, I compiled
other programs, after I tried again with lftp and problem solved.
Something of what I installed to compile those other programs solved
the problem, but I don't know what.
But it isn't the first time that I have a similar problem. It would be
necessary a complete list of dependencies of lftp in README file to
compile.
Regards.
Post by Cristian Ionescu-Idbohrn
Post by J1 Simón
Post by J1 Simón
Hi,
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT netrc.lo -MD
-MP -MF .deps/netrc.Tpo -c -o netrc.lo netrc.cc
mv -f .deps/netrc.Tpo .deps/netrc.Plo
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -fPIC -O2 -Wall
-pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=both
-fivopts -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -MT lftp_tinfo.lo
-MD -MP -MF .deps/lftp_tinfo.Tpo -c -o lftp_tinfo.lo lftp_tinfo.cc
lftp_tinfo.cc:55:33: error: 'setupterm' was not declared in this scope
lftp_tinfo.cc:55:38: error: 'ERR' was not declared in this scope
lftp_tinfo.cc: In function 'const char* get_string_term_cap(const
lftp_tinfo.cc:72:63: error: 'tigetstr' was not declared in this scope
make[1]: *** [lftp_tinfo.lo] Error 1
make[1]: se sale del directorio «/home/simon/sources/lftp-4.4.3/src»
make: *** [all-recursive] Error 1
The config.log is in: http://paste.ubuntu.com/1636581/
I'm on Ubuntu 12.10 64 bits and I configure with: "--with-modules
--with-pager=/usr/bin/less --without-gnutls --without-openssl".
Regards.
Cheers,
Loading...