安装MYSQL出现checking for termcap functions library

安装MYSQL出现checking for termcap functions library…

 

如果编译时出现了以下错误: 

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 xvzf ncurses-5.6.tar.gz

cd ncurses-5.6

./configure --prefix=/usr –with-shared –without-debug

make

make install clean

 

然后再重新编译Mysql进行安装即可。

你可能感兴趣的:(mysql)