The following error occurs during mysql compilation and installation today:
Checking for tgetent in-ltermcap... No
Checking for termcap functions library... Configure: error: No curses/termcap library found
It indicates that the curses/termcap library is not installed. Download an ncurses-5.6.tar.gz file.
[Root @ server src] # wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
[Root @ server src] # tar zxvf ncurses-5.6.tar.gz
[Root @ server src] # cd ncurses-5.6
[Root @ server ncurses-5.6] #./configure-prefix =/usr-with-shared-without-debug
[Root @ server ncurses-5.6] # make
[Root @ server ncurses-5.6] # make install clean
Then re-compile Mysql for installation. No! Depressed. Continue searching, finally find the installation successful in the system installation disk: [root @ server CentOS] # rpm-ivh ncurses-devel-5.5-24.20060715.i386.rpm
Preparing... ######################################## ### [100%]
1: ncurses-devel ##################################### ###### [100%]
OK! Now you can recompile Mysql for installation.
This article is from the "second dwelling" blog