configure error when installing ddd-3.3.12

Dec 27, 2011 at 3:54pm
1
2
3
4
5
6
7
8
checking for elf_version in -lelf... no
checking for tgetent in -lmytinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lterminfo... no
checking for tgetent in -ltermlib... no
configure: error: Cannot find termcap compatible library.


After I enter ./configure at terminal, lots of lines printed out and ended with "configure: error: Cannot find termcap compatible library."

Can anyone tell me what can I do to solve the problem?
Dec 27, 2011 at 4:18pm
closed account (S6k9GNh0)
termcap is this: http://en.wikipedia.org/wiki/Termcap
The ncurses library *I think* provides termcap. If not, you can find termcap and termlib seperately elsewhere.

The error just means you do not have the library in a present location that it can find.
Dec 27, 2011 at 4:43pm
1
2
3
4
5
6
7
8
9
10
11
** Configuration summary for NCURSES 5.9 20110404:

     extended funcs: yes
     xterm terminfo: xterm-new

      bin directory: /usr/bin
      lib directory: /usr/lib
  include directory: /usr/include
      man directory: /usr/man
 terminfo directory: /usr/share/terminfo


I have just tried to install ncurses library, the same error occurs.
Dec 27, 2011 at 5:27pm
1
2
3
4
5
6
7
8
[administrator@localhost ncurses-5.9]$ make install
cd man && make DESTDIR="" install
make[1]: Entering directory `/home/administrator/Desktop/ncurses-5.9/man'
mkdir -p /usr/man
mkdir: cannot create directory `/usr/man': Permission denied
make[1]: *** [/usr/man] Error 1
make[1]: Leaving directory `/home/administrator/Desktop/ncurses-5.9/man'
make: *** [install] Error 2 


Oops.. I thought I have finished installation after configure.
I realized that I need to enter "make" and "make install" commands to continue my installation.
However, when I entered "make install", the above error 1 and error 2 occurred .
How can I solve it?
Dec 27, 2011 at 9:35pm
closed account (S6k9GNh0)
"make install" generally requires heightened permissions. This can be achieved by using the "su" or "sudo" command for temporary use.

It requires heightened permissions because anything in the /usr folder tree (which it's trying to modify) is set to read-only for security purposes. Wouldn't want some strange program altering the folder that held most of your executables would you?
Dec 28, 2011 at 3:27am
So, what can I do to install the nurses library?
Or, simply install ddd debugger completely?
Topic archived. No new replies allowed.