这是在configure过程中最后的几步

checking for wint_t in wctype.h... yes
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
[root@jianyifan mysql-5.1.58]# make && make install
make: *** No targets specified and no makefile found.  Stop.

在make和make install过程中出现错误


原因提示的很明显了,

缺少ncurses安装包

 

解决办法:

下载安装相应软件包

一、如果你的系统是RedHat系列:

yum list|grep ncurses

yum -y install ncurses-devel

yum install ncurses-devel

 

二、如果你的系统是Ubuntu或Debian:

apt-cache search ncurses

apt-get install libncurses5-dev


当时在本地搭建环境的时候也出现过这种问题,当时直接用光盘挂载也是可以的,因为系统一般都会集成这个包的

 

待安装completed!之后,再./configure,就没什么问题的了,然后make && make install,就ok了



Logo

更多推荐