🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2178

configure: error: Cound not find a term library

#2178
From: nagaraja
Date: Tue, 23 Apr 2002 08:33
46 lines
2917 bytes
Hi All,

Can anyone save me from error mensioned in the subject line.

I am trying to cross-compile gdb+dejagnu-20020419 (the current one)
where the host will be arm-linux and the build  machine is
i586-pc-linux-gnu . After download and umpacking I run the configure
with the following command.

CC="arm-linux-gcc" ./configure --host=arm-linux --target=arm-linux
--build=i586-pc-linux-gnu.

which eventually dies at :

checking compiler warning flags...  -Wimplicit -Wreturn-type -Wcomment
-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
checking for cygwin... no
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: cross-compiling for a non-cygwin target is not supported
configure: error: Could not find a term library
Configure in /home/nags/gdb+dejagnu-20020419/gdb failed, exiting.

when  I tried to solve the above error by installing the
libtermcap*.rpm, libtermcap*-devel.rpm, ncurses*.rpm and
ncurses*-devel.rpm. I found that these rpms are alredy installed in my
distribution(I found in one of mail which replied to the same error says
that ,One of these is bound to make it work).

I am using Redhat 7.1

while the same command work fine for gdb-5.1, since gdb5.1 doesnot have
support for arm cross-compilation( which i found after running make
command)I have been advicsed to try it  on the latest gdb snapshot  by
some experts ,resulted the above error.

Can anyone tell me why I am getting this error in the latest gdb snashot
while it is not there in gdb-5.1.also can any one pass me the roght
configuratiion command and setting if any.

Thanks a lot in advance
nagaraja
Technical Details
Message-ID: <3CC51C68.67C41F3F@ncoretech.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,63272e18c3bbdfc5,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-04-23 01:32:00 PST
x-uunet-gateway: mr0.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Tue, 23 Apr 2002 08:31:54 GMT
Sender: nags@ncoretech.com
Message-ID: <3CC51C68.67C41F3F@ncoretech.com>
Date: Tue, 23 Apr 2002 14:03:44 +0530
From: nagaraja@ncoretech.com (nagaraja)
Organization: Encore
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i586)
X-Accept-Language: en
MIME-Version: 1.0
Subject: configure: error: Cound not find a term library
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses on Tue Apr 23 14:01:41 IST 2002
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Lines: 47