This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: An install question and a bug
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Salman Khilji <salmankhilji at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 28 Jan 2002 17:31:23 -0500
- Subject: Re: An install question and a bug
- References: <F84bDsHMtauAeDiIRSw0001a2a4@hotmail.com>
> 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