LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-28-2005, 02:14 PM   #1
plutonas
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Rep: Reputation: 0
GDB (GNU DeBugger)


Hi I wan't to install gdb (gnu debugger) which I downloaded from the gnu homepage.
I run ./configure, everything OK, but while running make install I get:
[root@ppp14 gdb-6.3]# make install
/bin/sh ./mkinstalldirs /usr/local /usr/local
make[1]: Entering directory `/home/plutonas/programs/GDB/gdb-6.3/bfd'
make[1]: *** No rule to make target `install'. Stop.
make[1]: Leaving directory `/home/plutonas/programs/GDB/gdb-6.3/bfd'
make: *** [install-bfd] Error 2

What does this mean? Where should I look and what should I do to fix this?
Thanks,
plutonas
 
Old 10-28-2005, 06:06 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
It means that make does not know what to do if you tell it to install.

"install" is something which must be described in the Makefile. If it is not described in the Makefile, make does not know how to handle this request.

Which is correct, because the README says that you should do only "configure", then " "make", and then copy the binary to the bin directory.

Have you actually read the README?

jlinkels
 
Old 10-29-2005, 01:17 AM   #3
plutonas
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Original Poster
Rep: Reputation: 0
I have but maybe too fast.
Here the last what I got from make:
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing waddstr... no
checking for library containing tgetent... no
configure: error: no termcap library found
make: *** [configure-gdb] Error 1

And the last from make install:

done; \
fi
make[2]: Entering directory `/home/plutonas/programs/GDB/gdb-6.3/libiberty/tests uite'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/plutonas/programs/GDB/gdb-6.3/libiberty/testsu ite'
make[1]: Leaving directory `/home/plutonas/programs/GDB/gdb-6.3/libiberty'
make[1]: Entering directory `/home/plutonas/programs/GDB/gdb-6.3/readline'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/plutonas/programs/GDB/gdb-6.3/readline'
make[1]: Entering directory `/home/plutonas/programs/GDB/gdb-6.3/sim'
make[1]: Leaving directory `/home/plutonas/programs/GDB/gdb-6.3/sim'
make[1]: Entering directory `/home/plutonas/programs/GDB/gdb-6.3/gdb'
make[1]: *** No rule to make target `install'. Stop.
make[1]: Leaving directory `/home/plutonas/programs/GDB/gdb-6.3/gdb'
make: *** [install-gdb] Error 2


What now?
 
Old 10-29-2005, 05:32 AM   #4
plutonas
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Sorry for posting again. I have a termcap library:
bash-2.05b$ locate libtermcap
/home/plutonas/.kde/share/apps/RecentDocuments/libtermcap-2.0.8-4.m68kmint.rpm.desktop
/home/plutonas/.kde/share/apps/RecentDocuments/libtermcap-2.0.8-36mdk.src.rpm.desktop
/home/plutonas/.kde/share/apps/RecentDocuments/libtermcap-2.0.8-4.m68kmint.rpm[2].desktop
/home/plutonas/programs/GDB/libtermcap-2.0.8-4.m68kmint.rpm
/usr/share/doc/libtermcap2-2.0.8
/usr/share/doc/libtermcap2-2.0.8/ChangeLog
/usr/share/doc/libtermcap2-2.0.8/README
/lib/libtermcap.so.2.0.8
/lib/libtermcap.so.2


----------------------------------------
So, I don't know what to do! I need GDB, but I can't install it. Is there a way that I can tell the make script where to find the termcap. And which tercap from all above is needed?
----------------------------------------
Please help me!
Thx,
plutonas
 
Old 10-29-2005, 05:35 AM   #5
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
do
Code:
./configure --prefix=/usr && make
try
Code:
./configure --help
for more options that might help solving the problem.

Last edited by mr_demilord; 10-29-2005 at 05:38 AM.
 
Old 10-30-2005, 02:26 AM   #6
plutonas
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Original Poster
Rep: Reputation: 0
It doesn't find the termcap again? I am going crazy.
I also tryed ./configure --with-termcap=/usr/share/doc
but it didn't work either. Why cant it find the termcap library when I have it and I also tell it where it can be found? Where is it searching for the termcap library? Maybe I could put a copy there for the configuration so that it will be found. What do you think?
 
Old 10-30-2005, 02:46 AM   #7
plutonas
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Sorry, Just found a solution. I had an rpm in my distribution dvd so I installed it from there. Thanks anyway, you don't need to answer now!
 
Old 01-03-2013, 10:08 AM   #8
jamesoo7
LQ Newbie
 
Registered: Jan 2013
Location: Munich
Posts: 6

Rep: Reputation: Disabled
configure: error: no termcap library found

Hi plutonas,mr_demilord,

I referred your problem with solution but I still don't get it. I have same problem like

configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/xyz/..../xyz'
make: *** [all] Error 2
[xyz/..../xyz]$

Could you please let me know how did you solve this problem?

Thanks
 
Old 03-19-2013, 12:09 PM   #9
suhastheju
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
install libncurses5 which will solve your problem

If you are using any debian machine this command will work

sudo apt-get install libncurses5-dev

otherwise download the libncurses package and install, then try to compile gdb again.
 
  


Reply



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
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
Compiling xmame for debugging: gdb and mame debugger CooManChu Linux - Games 0 05-29-2005 10:22 AM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 03:02 AM
problem i using emacs with gdb debugger? varala_kanth Linux - Software 2 04-05-2004 01:43 AM

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

All times are GMT -5. The time now is 05:24 PM.

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