From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6056 invoked by alias); 26 Apr 2005 16:54:37 -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 4975 invoked from network); 26 Apr 2005 16:52:19 -0000 Received: from unknown (HELO smtp05.retemail.es) (62.81.186.15) by sourceware.org with SMTP; 26 Apr 2005 16:52:17 -0000 Received: from 47-97-136-85.user.auna.net ([85.136.97.47]) by smtp05.retemail.es (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with ESMTP id <20050426165210.WKLQ22995.smtp05.retemail.es@47-97-136-85.user.auna.net> for ; Tue, 26 Apr 2005 18:52:10 +0200 From: =?iso-8859-1?q?Jos=E9_Miguel?= To: gdb@sources.redhat.com Subject: Re: Error in configure Date: Wed, 27 Apr 2005 13:44:00 -0000 User-Agent: KMail/1.7.1 References: <200504252050.23171.jmiguelbenitez@supercable.es> <200504261112.32721.jmiguelbenitez@supercable.es> <20050426131806.GA25003@nevyn.them.org> In-Reply-To: <20050426131806.GA25003@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504261853.15291.jmiguelbenitez@supercable.es> X-SW-Source: 2005-04/txt/msg00196.txt.bz2 El Martes, 26 de Abril de 2005 15:18, Daniel Jacobowitz escribi=F3: > On Tue, Apr 26, 2005 at 11:12:32AM +0200, Jos=E9 Miguel wrote: > > El Lunes, 25 de Abril de 2005 20:56, Daniel Jacobowitz escribi=F3: > > > On Mon, Apr 25, 2005 at 08:50:23PM +0200, Jos=E9 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 th= at > > the problem? > > Figure out why it says 'cached' on the -lncurses check. That's right. Thanks!