checking for termcap functions library... configure: error: No curses/termcap li
在编译Mysql时./configure --prefix=DIR如果出现了以下错误:
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: Nocurses/termcap library found
说明 curses/termcap 库没有安装
编译安装ncurses-5.7.tar.gz,
wget ftp://invisible-island.net/ncurses/ncurses-5.7.tar.gz
tar zxvf ncurses-5.7.tar.gz
cd ncurses-5.7
./configure -prefix=/usr/local -with-shared -without-debug
make
make install clean