1.CentOS下安装Mysql出现error: No curses/termcap library found
比如安装mysal,配置的时候./configure –prefix=/usr/local/mysql --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=innobase 出现
checking for termcap functions library… configure: error: No curses/termcap library found
解决方法:rpm -qa |grep ncurses 有没有这个文件ncurses-devel和ncurses,如果没有就安装
yum install ncurses-devel
或者rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm
2.CentOS下安装Mysql出现error: no acceptable C compiler found in $PATH 错误
解决方法:这只是缺少gcc套件,用yum安装 yum install gcc 即可