This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Error in configure
El Martes, 26 de Abril de 2005 15:18, Daniel Jacobowitz escribió:
> On Tue, Apr 26, 2005 at 11:12:32AM +0200, José Miguel wrote:
> > El Lunes, 25 de Abril de 2005 20:56, Daniel Jacobowitz escribió:
> > > On Mon, Apr 25, 2005 at 08:50:23PM +0200, José Miguel wrote:
> > > > Hi!
> > > >
> > > > I'm trying to compile gdb 5.2.1, but I get an error in configure
> > > > process:
> > > >
> > > > 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
> > > >
> > > > I run a Debian Sarge and I've got installed the libncurses5 package,
> > > > so I'm a bit lost. What happens then?
> > > >
> > > > Thank you!
> > >
> > > Try libncurses5-dev, or "apt-get build-dep gdb".
> >
> > It doesn't work. I can't understand, because I've got installed the
> > libncurses5 library in /lib and /usr/lib.
> >
> > I can find out the definition of tgetent. It is provided by ncursesw
> > (wide character support) package. Why configure cannot?
> >
> > matt@madre:/usr/include/ncursesw$ grep -n 'tgetent' *.h
> > termcap.h:65:extern NCURSES_EXPORT(int) tgetent (char *, const char *);
> > term.h:770:/* termcap database emulation (XPG4 uses const only for 2nd
> > param of tgetent) */
> > term.h:774:extern NCURSES_EXPORT(int) tgetent (char *, const char *);
> >
> > However, it seems that curses.h does not contain that definition. Is that
> > the problem?
>
> Figure out why it says 'cached' on the -lncurses check.
That's right. Thanks!