Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 17 Dec 2002 01:46:46 -0300 (E. South America Standard Time)
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <0@pervalidus.net>
To: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
cc: cygwin@cygwin.com, lftp-devel@uniyar.ac.ru
Subject: Re: LFTP: Cygwin and setupterm
In-Reply-To: <4.3.1.2.20021216223035.02636958@pop.rcn.com>
Message-ID: <Pine.WNT.4.51.0212170141360.3348@pervalidus>
References: <4.3.1.2.20021216223035.02636958@pop.rcn.com>
X-X-Sender: fredlwm@fastmail.fm
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id gBH3lqt10114

On Mon, 16 Dec 2002, Larry Hall (RFK Partners, Inc) wrote:

> At 11:03 PM 12/16/2002, Frédéric L. W. Meunier wrote:
> >Anybody know what's wrong ? I tried to compile LFTP 2.6.3 with
> >ncurses 5.2-8 and got the following:
> >
> >/cygdrive/g/Linux/lftp/src/lftp_tinfo.cc: In function `void init_terminfo()':
> >/cygdrive/g/Linux/lftp/src/lftp_tinfo.cc:50: implicit declaration of function `int setupterm(...)'
> >
> >There's the following in lftp_tinfo.cc:
> >
> >#if defined(HAVE_TIGETSTR)
> >static bool terminfo_ok = true;
> >static void init_terminfo()
> >{
> >    static bool initted = false;
> >    if(initted) return;
> >    initted = true;
> >
> >    int errret=0;
> >    if(setupterm(NULL, 1, &errret) == ERR)
> >       terminfo_ok = false;
> >}
> >#endif
> >
> >The same error someone reported some time ago with 2.6.2:
> >
> >http://www.mail-archive.com/lftp@uniyar.ac.ru/msg00888.html
> >
> >I also e-mailed the lftp-devel mailing-list.
>
>
>
> This is a trick question, right?  I mean, you know how to
> search for a prototype in the system include directories
> don't you?  I'm assuming that you have a real question here
> but I can't figure out what it is. Can you enlighten us/me?

Sorry, I just found
http://sources.redhat.com/ml/cygwin/2002-10/msg00122.html

I had to make the symlink (I thought it'd be in ncurses) and
run configure again, since just typing make isn't enough.

I can't reproduce the other problem reported by George Lefter.

I configured with --disable-dependency-tracking --disable-nls
--disable-static

I'm C'cing lftp-devel so that others know the answer in case
they have the same problem.

> BTW, the answer to Joe's question that you reference above is
> "No, setupterm() is not supposed to be part of libc
> (libcygwin.a).

-- 
0@pervalidus.{net, {dyndns.}org}


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

