From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2699 invoked by alias); 13 Apr 2005 12:59:04 -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 2652 invoked from network); 13 Apr 2005 12:58:54 -0000 Received: from unknown (HELO lakermmtao07.cox.net) (68.230.240.32) by sourceware.org with SMTP; 13 Apr 2005 12:58:54 -0000 Received: from white ([68.9.64.121]) by lakermmtao07.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050413125848.MZAP19214.lakermmtao07.cox.net@white>; Wed, 13 Apr 2005 08:58:48 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DLhSB-000643-00; Wed, 13 Apr 2005 08:58:47 -0400 Date: Wed, 13 Apr 2005 12:59:00 -0000 From: Bob Rossi To: Pablo Silva Cc: gdb@sources.redhat.com Subject: Re: GDB asks for term lib Message-ID: <20050413125847.GA23293@white> Mail-Followup-To: Pablo Silva , gdb@sources.redhat.com References: <1ac35b5005041207493e62287c@mail.gmail.com> <20050412145315.GA15210@nevyn.them.org> <1ac35b5005041304576d8f0018@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ac35b5005041304576d8f0018@mail.gmail.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2005-04/txt/msg00072.txt.bz2 On Wed, Apr 13, 2005 at 08:57:44AM -0300, Pablo Silva wrote: > Daniel, I have this lib installed, do you have anything suggestion? :( > > thanks a lot > > On 4/12/05, Daniel Jacobowitz wrote: > > On Tue, Apr 12, 2005 at 11:49:29AM -0300, Pablo Silva wrote: > > > Hi, > > > > > > When I want to build gdb 5.0 for ARMulator using my ubuntu (Hoary > > > Hedgehg) the gdb asks for a term lib: > > > > > > 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 > > > Configure in /gdb-5.0/gdb failed, exiting. > > > > > > What lib should I take? > > > > The first one it checked for? You want libncurses5-dev, assuming > > Ubuntu has not renamed the package. I have a few quick suggestions. If you have libncurses5-dev installed there is several quick things you can do to see if everything is OK. Create a Hello World ncurses application and try to link it. This will make sure that your ncurses library is installed properly and the compiler can find it. If it does compile properly, use ldd on the program to figure out if it's linked against ncurses. Or you can run ldd on vim, to see what ncurses library or compat library it's linked against. I notice it says (cached) next to the ncurses check. Did you install the library after you realized you didn't have ncurses installed? If so, start from a new builddir and try again. Finally, it's unlikely but possible that the configure rule to check for libncurses is broke. Thanks, Bob Rossi