今天在安装编译mysql时出现了以下错误:
checking for tgetent in -ltermcap… no checking for termcap functions library… configure: error: No curses/termcap library found |
[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 |
[root@server CentOS]# rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm Preparing... ########################################### [100%] 1:ncurses-devel ########################################### [100%] |