安装mysql 出错

来源:百度知道 编辑:UC知道 时间:2024/05/22 19:58:47
错误提示是
checking for nl_langinfo and CODESET... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for termcap functions library... configure: error: No curses/termcap library found
[root@localhost mysql-5.0.22]#
linux啊。在编译前配置时出的错。

linux 还是 windows?

下载ncurses-5.6

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安装试试。