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?
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.
[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?
"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?