Re: GDB asks for term lib

Daniel Jacobowitz
2005-04-12T14:53:27Z

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.

--
Daniel Jacobowitz
CodeSourcery, LLC