今天在源代码编译安装mysql出现的错误:
checking for termcap functions library... configure: error: No curses/termcap library found
 
解决方法:
        (1)通过安装:ncurses-devel.***.rpm 包解决
       
        (2)去下载一个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进行安装。