public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "José Miguel" <jmiguelbenitez@supercable.es>
To: gdb@sources.redhat.com
Subject: Re: Error in configure
Date: Wed, 27 Apr 2005 13:44:00 -0000	[thread overview]
Message-ID: <200504261853.15291.jmiguelbenitez@supercable.es> (raw)
In-Reply-To: <20050426131806.GA25003@nevyn.them.org>

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!

      reply	other threads:[~2005-04-26 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-25 18:56 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504261853.15291.jmiguelbenitez@supercable.es \
    --to=jmiguelbenitez@supercable.es \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).