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 |
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 |
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? |
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 |
do
Code:
./configure --prefix=/usr && make Code:
./configure --help |
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? |
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!
|
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 |
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. |
All times are GMT -5. The time now is 09:16 PM. |