Redhat系统 安装Mysql 5.1时, ./configure后报如下错误
checking for tgetent in -lncursesw... no
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
make && make install 报如下错误
[root@localhost mysql-5.1.57]# make && make install
make: *** No targets specified and no makefile found. Stop.
原因:是缺少ncurses安装包,需要安装
查看一下
yum list|grep ncurses
安装
yum -y install ncurses-devel
之后 make && make install 就可以正常安装了!