From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27450 invoked by alias); 26 Apr 2005 09:11:44 -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 27379 invoked from network); 26 Apr 2005 09:11:34 -0000 Received: from unknown (HELO smtp05.retemail.es) (62.81.186.15) by sourceware.org with SMTP; 26 Apr 2005 09:11:34 -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 <20050426091133.IOIT22995.smtp05.retemail.es@47-97-136-85.user.auna.net> for ; Tue, 26 Apr 2005 11:11:33 +0200 From: =?iso-8859-1?q?Jos=E9_Miguel?= To: gdb@sources.redhat.com Subject: Re: Error in configure Date: Tue, 26 Apr 2005 09:17:00 -0000 User-Agent: KMail/1.7.1 References: <200504252050.23171.jmiguelbenitez@supercable.es> <20050425185606.GA22661@nevyn.them.org> In-Reply-To: <20050425185606.GA22661@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: <200504261112.32721.jmiguelbenitez@supercable.es> X-SW-Source: 2005-04/txt/msg00190.txt.bz2 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 proces= s: > > > > 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=20 libncurses5 library in /lib and /usr/lib. I can find out the definition of tgetent. It is provided by ncursesw (wide= =20 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 para= m=20 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 t= he=20 problem? Thanks!