You can install ncurses-devel package for a workaround, but I have to fix
compilation with termcap.

On сб, 16 сент. 2017, 23:52 Yubin Ruan <ablacktsh...@gmail.com> wrote:

> Hi lftp developer,
>
> I try to build lftp 4.7.4 ~ 4.7.7 on my Ubuntu 14.04 but it always fail
> with a weird message:
>
> $ make
> /bin/bash ../libtool --silent  --tag=CXX   --mode=compile g++
> -DHAVE_CONFIG_H -I. -I../lib  -I../lib -I../trio   -O2 -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 g++
> -DHAVE_CONFIG_H -I. -I../lib  -I../lib -I../trio   -O2 -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:7: error: use of undeclared identifier 'setupterm'
>     if(setupterm(NULL, 1, &errret) == ERR)
>        ^
> lftp_tinfo.cc:55:38: error: use of undeclared identifier 'ERR'
>     if(setupterm(NULL, 1, &errret) == ERR)
>                                       ^
> lftp_tinfo.cc:73:22: error: use of undeclared identifier 'tigetstr'
>     const char *ret = tigetstr(const_cast<char *>(terminfo_cap));
>                       ^
> 3 errors generated.
> make[2]: *** [lftp_tinfo.lo] Error 1
> make[2]: Leaving directory
> `/home/sf/Compute/walkerlala-home/Downloads/lftp-4.7.7/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/sf/Compute/walkerlala-home/Downloads/lftp-4.7.7'
> make: *** [all] Error 2
>
>
> The output of `./configure' have been attached in the attachment.
>
> regards,
> yubinr
> _______________________________________________
> lftp mailing list
> lftp@uniyar.ac.ru
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp
>
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to