读书人

装配MYSQL出现checking for termcap f

发布时间: 2012-07-16 15:44:59 作者: rapoo

安装MYSQL出现checking for termcap functions library… configure: error: No curses/ter
(原帖:http://www.phpunion.com/%e5%ae%89%e8%a3%85mysql%e5%87%ba%e7%8e%b0checking-for-termcap-functions-library-configure-error-no-cursestermcap-library-found/)
如果编译时出现了以下错误:
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进行安装。

或者

yum install ncurses ncurses-devel

yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel

读书人网 >Ruby Rails

热点推荐