LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2009, 11:05 PM   #1
ArthurHuang
Member
 
Registered: Jan 2006
Posts: 174

Rep: Reputation: 30
GDB installation problem


Hi there, I am trying to install GDB-6.9 on i686-pc-linux-gnu
but there is an error message:

configure: error: no termcap library found
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/usr/lib/gdb-6.8'
make: *** [all] Error 2


Does anyone know what's wrong with it?
Thanks a lot!
 
Old 09-12-2009, 11:21 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Obviously, the first step is to install "termcap" (if you don't already have it).

It sounds like you're trying to build GDB from source. If you're sure you've got "termcap", and it still doesn't work, then try this:
Quote:
./configure --with-termcap=/directory of termcap
http://forums13.itrc.hp.com/service/...readId=1330914

'hope that helps .. PSM
 
Old 09-13-2009, 04:30 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,430

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
When configure asks for "name" it means (lib)name-devel.

So you will have to install one of these :
libtermcap-devel , ncurses-devel , libncurses5-dev
... all depending on which Linux, you have :
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

But anyway : You should really use your package manager
to install 'gdb'. That is the correct Linux way to do it.
.....

Last edited by knudfl; 09-14-2009 at 01:06 AM.
 
  


Reply

Tags
termcap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in using GDB rameshtekumudi Programming 1 09-09-2006 07:55 PM
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 04:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 01:41 PM
GDB problem zaheer031 Linux - Newbie 1 12-26-2004 11:50 PM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration