[root@myserver lamp]#checking for termcap functions library... configure: error: No curses/termca

如果编译时出现了以下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
说明 curses/termcap 库没有安装
去下载一个ncurses-5.6.tar.gz,
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
tar zxvf ncurses-5.6.tar.gz
cd ncurses-5.6
./configure –prefix=/usr –with-shared –without-debug
make
make install clean

然后再重新编译Mysql进行安装。发现还是不行!

这下可苦 了我了,继续查找下,

[root@myserver lamp]# rpm -ivh /RPMS/Server/ncurses-
ncurses-5.5-24.20060715.i386.rpm        ncurses-devel-5.5-24.20060715.i386.rpm
[root@myserver lamp]# rpm -ivh /RPMS/Server/ncurses-devel-5.5-24.20060715.i386.rpm
warning: /RPMS/Server/ncurses-devel-5.5-24.20060715.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:ncurses-devel          ########################################### [100%]
[root@myserver lamp]#

或者可以直接 sudo apt-get install ncureses-dev

现在就可以重新编译Mysql进行安装。