From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30083 invoked by alias); 28 Jan 2002 22:31:34 -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 30034 invoked from network); 28 Jan 2002 22:31:29 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sources.redhat.com with SMTP; 28 Jan 2002 22:31:29 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 827633D90; Mon, 28 Jan 2002 17:31:23 -0500 (EST) Message-ID: <3C55D13B.90805@cygnus.com> Date: Mon, 28 Jan 2002 14:31:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Salman Khilji Cc: gdb@sources.redhat.com Subject: Re: An install question and a bug References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00325.txt.bz2 > Mandrake Linux 8.1, gcc 2.96, gdb 5.1.1 > > When I configure the source code for gdb 5.1.1, it says after a while . . . > > ... > ... > checking for tgetent in -lterminfo... no > configure: error: Could not find a term library > Configure in /home/salman/softdev/gdb/gdb-5.1.1/gdb failed, exiting. > > What is term library? Where do I install this from? Term, termcap, curses, ncurses, ... are all libraries that can be used when controlling a text based display (a tty). Things like, terminal width and height, but also other things. In the above, it appears that the configuration process can't find a suitable library. There could be two reasons for this: o a library is missing from your system (less likely) o GDB's configuration messed up and didn't detect the library your system has installed (more likely) The script gdb/configure (generated from gdb/configure.in) controls this. You mentioned that you were using 5.1. Was that built by you or did it come with a Mandrake distro? If it came with a Mandrake distro I suspect the first thing to do is find out how that was built - 5.1 and 5.1.1 are only marginally different. Andrew