From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4233 invoked by alias); 26 Apr 2005 13:21:16 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1645 invoked from network); 26 Apr 2005 13:18:09 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 26 Apr 2005 13:18:09 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DQPx0-0006Vt-SA; Tue, 26 Apr 2005 09:18:06 -0400 Date: Tue, 26 Apr 2005 13:23:00 -0000 From: Daniel Jacobowitz To: =?iso-8859-1?Q?Jos=E9?= Miguel Cc: gdb@sources.redhat.com Subject: Re: Error in configure Message-ID: <20050426131806.GA25003@nevyn.them.org> Mail-Followup-To: =?iso-8859-1?Q?Jos=E9?= Miguel , gdb@sources.redhat.com References: <200504252050.23171.jmiguelbenitez@supercable.es> <20050425185606.GA22661@nevyn.them.org> <200504261112.32721.jmiguelbenitez@supercable.es> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200504261112.32721.jmiguelbenitez@supercable.es> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00193.txt.bz2 On Tue, Apr 26, 2005 at 11:12:32AM +0200, José Miguel wrote: > El Lunes, 25 de Abril de 2005 20:56, Daniel Jacobowitz escribió: > > On Mon, Apr 25, 2005 at 08:50:23PM +0200, José Miguel wrote: > > > Hi! > > > > > > I'm trying to compile gdb 5.2.1, but I get an error in configure process: > > > > > > checking for tgetent in -lncurses... (cached) no > > > checking for tgetent in -lHcurses... no > > > checking for tgetent in -ltermlib... no > > > checking for tgetent in -ltermcap... (cached) no > > > checking for tgetent in -lcurses... (cached) no > > > checking for tgetent in -lterminfo... no > > > configure: error: Could not find a term library > > > > > > I run a Debian Sarge and I've got installed the libncurses5 package, so > > > I'm a bit lost. What happens then? > > > > > > Thank you! > > > > Try libncurses5-dev, or "apt-get build-dep gdb". > > It doesn't work. I can't understand, because I've got installed the > libncurses5 library in /lib and /usr/lib. > > I can find out the definition of tgetent. It is provided by ncursesw (wide > character support) package. Why configure cannot? > > matt@madre:/usr/include/ncursesw$ grep -n 'tgetent' *.h > termcap.h:65:extern NCURSES_EXPORT(int) tgetent (char *, const char *); > term.h:770:/* termcap database emulation (XPG4 uses const only for 2nd param > of tgetent) */ > term.h:774:extern NCURSES_EXPORT(int) tgetent (char *, const char *); > > However, it seems that curses.h does not contain that definition. Is that the > problem? Figure out why it says 'cached' on the -lncurses check. -- Daniel Jacobowitz CodeSourcery, LLC