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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-28-2005, 02:14 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2004
Posts: 18
Rep:
|
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
|
|
|
|
10-28-2005, 06:06 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Etch/Lenny/Squeeze
Posts: 3,791
|
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
|
|
|
|
10-29-2005, 01:17 AM
|
#3
|
|
LQ Newbie
Registered: Dec 2004
Posts: 18
Original Poster
Rep:
|
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?
|
|
|
|
10-29-2005, 05:32 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2004
Posts: 18
Original Poster
Rep:
|
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
|
|
|
|
10-29-2005, 05:35 AM
|
#5
|
|
Member
Registered: Sep 2005
Posts: 244
Rep:
|
do
Code:
./configure --prefix=/usr && make
try for more options that might help solving the problem.
Last edited by mr_demilord; 10-29-2005 at 05:38 AM.
|
|
|
|
10-30-2005, 02:26 AM
|
#6
|
|
LQ Newbie
Registered: Dec 2004
Posts: 18
Original Poster
Rep:
|
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?
|
|
|
|
10-30-2005, 02:46 AM
|
#7
|
|
LQ Newbie
Registered: Dec 2004
Posts: 18
Original Poster
Rep:
|
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!
|
|
|
|
01-03-2013, 10:08 AM
|
#8
|
|
LQ Newbie
Registered: Jan 2013
Location: Munich
Posts: 6
Rep: 
|
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
|
|
|
|
03-19-2013, 12:09 PM
|
#9
|
|
LQ Newbie
Registered: Mar 2013
Posts: 1
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:53 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|