Re: [Build-Failed] on ubuntu 14.04

Alexander Lukyanov <[email protected]> Sun, 17 Sep 2017 11:29:57 +0000
Newsgroups gmane.network.lftp.user
Message-ID <CANnoEwoBHkwh468iNs2LurUJSO+vw_u7n49hepMXE=f7E0VczQ@mail.gmail.com>
--===============3335881096101297639==
Content-Type: multipart/alternative; boundary="001a113ec6feb69a69055960f2af"

--001a113ec6feb69a69055960f2af
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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

On =D1=81=D0=B1, 16 =D1=81=D0=B5=D0=BD=D1=82. 2017, 23:52 Yubin Ruan <ablac=
[email protected]> 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=3DCXX   --mode=3Dcompile 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=3DCXX   --mode=3Dcompile 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) =3D=3D ERR)
>        ^
> lftp_tinfo.cc:55:38: error: use of undeclared identifier 'ERR'
>     if(setupterm(NULL, 1, &errret) =3D=3D ERR)
>                                       ^
> lftp_tinfo.cc:73:22: error: use of undeclared identifier 'tigetstr'
>     const char *ret =3D 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
> [email protected]
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp
>

--001a113ec6feb69a69055960f2af
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">You can install ncurses-devel package for a workaround, but =
I have to fix compilation with termcap.</p>
<br><div class=3D"gmail_quote"><div dir=3D"ltr">On =D1=81=D0=B1, 16 =D1=81=
=D0=B5=D0=BD=D1=82. 2017, 23:52 Yubin Ruan &lt;<a href=3D"mailto:ablacktshi=
[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">Hi lftp developer,<br>
<br>
I try to build lftp 4.7.4 ~ 4.7.7 on my Ubuntu 14.04 but it always fail<br>
with a weird message:<br>
<br>
$ make<br>
/bin/bash ../libtool --silent=C2=A0 --tag=3DCXX=C2=A0 =C2=A0--mode=3Dcompil=
e g++<br>
-DHAVE_CONFIG_H -I. -I../lib=C2=A0 -I../lib -I../trio=C2=A0 =C2=A0-O2 -Wall=
<br>
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti<br>
-fno-implement-inlines -MT netrc.lo -MD -MP -MF .deps/netrc.Tpo -c -o<br>
netrc.lo netrc.cc<br>
mv -f .deps/netrc.Tpo .deps/netrc.Plo<br>
/bin/bash ../libtool --silent=C2=A0 --tag=3DCXX=C2=A0 =C2=A0--mode=3Dcompil=
e g++<br>
-DHAVE_CONFIG_H -I. -I../lib=C2=A0 -I../lib -I../trio=C2=A0 =C2=A0-O2 -Wall=
<br>
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti<br>
-fno-implement-inlines -MT lftp_tinfo.lo -MD -MP -MF<br>
.deps/lftp_tinfo.Tpo -c -o lftp_tinfo.lo lftp_tinfo.cc<br>
lftp_tinfo.cc:55:7: error: use of undeclared identifier &#39;setupterm&#39;=
<br>
=C2=A0 =C2=A0 if(setupterm(NULL, 1, &amp;errret) =3D=3D ERR)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>
lftp_tinfo.cc:55:38: error: use of undeclared identifier &#39;ERR&#39;<br>
=C2=A0 =C2=A0 if(setupterm(NULL, 1, &amp;errret) =3D=3D ERR)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>
lftp_tinfo.cc:73:22: error: use of undeclared identifier &#39;tigetstr&#39;=
<br>
=C2=A0 =C2=A0 const char *ret =3D tigetstr(const_cast&lt;char *&gt;(terminf=
o_cap));<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 ^<br>
3 errors generated.<br>
make[2]: *** [lftp_tinfo.lo] Error 1<br>
make[2]: Leaving directory<br>
`/home/sf/Compute/walkerlala-home/Downloads/lftp-4.7.7/src&#39;<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory<br>
`/home/sf/Compute/walkerlala-home/Downloads/lftp-4.7.7&#39;<br>
make: *** [all] Error 2<br>
<br>
<br>
The output of `./configure&#39; have been attached in the attachment.<br>
<br>
regards,<br>
yubinr<br>
_______________________________________________<br>
lftp mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a=
><br>
<a href=3D"http://univ.uniyar.ac.ru/mailman/listinfo/lftp" rel=3D"noreferre=
r" target=3D"_blank">http://univ.uniyar.ac.ru/mailman/listinfo/lftp</a><br>
</blockquote></div>

--001a113ec6feb69a69055960f2af--

--===============3335881096101297639==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

--===============3335881096101297639==--