From: Bob Rossi <bob@brasko.net>
To: Pablo Silva <magoguevarapablo@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: GDB asks for term lib
Date: Wed, 13 Apr 2005 12:59:00 -0000 [thread overview]
Message-ID: <20050413125847.GA23293@white> (raw)
In-Reply-To: <1ac35b5005041304576d8f0018@mail.gmail.com>
On Wed, Apr 13, 2005 at 08:57:44AM -0300, Pablo Silva wrote:
> Daniel, I have this lib installed, do you have anything suggestion? :(
>
> thanks a lot
>
> On 4/12/05, Daniel Jacobowitz <drow@false.org> wrote:
> > 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.
I have a few quick suggestions. If you have libncurses5-dev installed
there is several quick things you can do to see if everything is OK.
Create a Hello World ncurses application and try to link it. This will
make sure that your ncurses library is installed properly and the
compiler can find it. If it does compile properly, use ldd on the
program to figure out if it's linked against ncurses.
Or you can run ldd on vim, to see what ncurses library or compat library
it's linked against.
I notice it says (cached) next to the ncurses check. Did you
install the library after you realized you didn't have ncurses
installed? If so, start from a new builddir and try again.
Finally, it's unlikely but possible that the configure rule to check for
libncurses is broke.
Thanks,
Bob Rossi
prev parent reply other threads:[~2005-04-13 12:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-12 14:49 Pablo Silva
2005-04-12 14:53 ` Daniel Jacobowitz
2005-04-13 11:57 ` Pablo Silva
2005-04-13 12:59 ` Bob Rossi [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=20050413125847.GA23293@white \
--to=bob@brasko.net \
--cc=gdb@sources.redhat.com \
--cc=magoguevarapablo@gmail.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