Re: An install question and a bug

Andrew Cagney
2002-01-28T22:31:34Z

> 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