Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20021216230154.0171fa10@pop.rcn.com> X-Sender: lhall AT pop DOT rcn DOT com Date: Mon, 16 Dec 2002 23:11:31 -0500 To: "=?iso-8859-1?Q?Fr=E9d=E9ric?= L. W. Meunier" <0 AT pervalidus DOT net> From: "Larry Hall (RFK Partners, Inc)" Subject: Re: LFTP: Cygwin and setupterm Cc: cygwin AT cygwin DOT com, lftp-devel AT uniyar DOT ac DOT ru In-Reply-To: References: <4 DOT 3 DOT 1 DOT 2 DOT 20021216223035 DOT 02636958 AT pop DOT rcn DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20021216223035 DOT 02636958 AT pop DOT rcn DOT com> 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 gBH4DLq16078 At 11:46 PM 12/16/2002, Frédéric L. W. Meunier wrote: >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 AT uniyar DOT ac DOT 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. Actually sounds to me like this a configuration issue for LFTP. I don't think a change to ncurses should be necessary to make LFTP build. It seems to me that this would be a problem on other platforms using ncurses as well if that were the case. >I can't reproduce the other problem reported by George Lefter. Good! :-) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/