public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Error in configure
@ 2005-04-25 18:56 José Miguel
  2005-04-25 19:28 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: José Miguel @ 2005-04-25 18:56 UTC (permalink / raw)
  To: gdb


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!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error in configure
  2005-04-25 18:56 Error in configure José Miguel
@ 2005-04-25 19:28 ` Daniel Jacobowitz
  2005-04-26  9:17   ` José Miguel
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2005-04-25 19:28 UTC (permalink / raw)
  To: José Miguel; +Cc: gdb

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".

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error in configure
  2005-04-25 19:28 ` Daniel Jacobowitz
@ 2005-04-26  9:17   ` José Miguel
  2005-04-26 13:23     ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: José Miguel @ 2005-04-26  9:17 UTC (permalink / raw)
  To: gdb

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?

Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error in configure
  2005-04-26  9:17   ` José Miguel
@ 2005-04-26 13:23     ` Daniel Jacobowitz
  2005-04-27 13:44       ` José Miguel
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2005-04-26 13:23 UTC (permalink / raw)
  To: José Miguel; +Cc: gdb

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.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error in configure
  2005-04-26 13:23     ` Daniel Jacobowitz
@ 2005-04-27 13:44       ` José Miguel
  0 siblings, 0 replies; 5+ messages in thread
From: José Miguel @ 2005-04-27 13:44 UTC (permalink / raw)
  To: gdb

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!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-26 16:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-25 18:56 Error in configure José Miguel
2005-04-25 19:28 ` Daniel Jacobowitz
2005-04-26  9:17   ` José Miguel
2005-04-26 13:23     ` Daniel Jacobowitz
2005-04-27 13:44       ` José Miguel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).