LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GDB installation problem (https://www.linuxquestions.org/questions/linux-software-2/gdb-installation-problem-754765/)

ArthurHuang 09-12-2009 11:05 PM

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!

paulsm4 09-12-2009 11:21 PM

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

knudfl 09-13-2009 04:30 AM

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


All times are GMT -5. The time now is 08:16 AM.