MySQL-curses/termcap缺失

环境:通前篇

1、错误:缺少 /curses/temrcap

checking for termcap functions library... configure: error: No curses/termcap library found

2、解决方法:

2.1、查看所有已经安装和可以安装的有关ncurses的程序包

技术分享
[root@localhost updates]# yum list | grep ncurses
ncurses.x86_64                         5.7-3.20090208.el6                @anaconda-CentOS-201311272149.x86_64/6.5
ncurses-base.x86_64                    5.7-3.20090208.el6                @anaconda-CentOS-201311272149.x86_64/6.5
ncurses-libs.x86_64                    5.7-3.20090208.el6                @anaconda-CentOS-201311272149.x86_64/6.5
ncurses-devel.i686                     5.7-3.20090208.el6                base   
ncurses-devel.x86_64                   5.7-3.20090208.el6                base   
ncurses-libs.i686                      5.7-3.20090208.el6                base   
ncurses-static.x86_64                  5.7-3.20090208.el6                base   
ncurses-term.x86_64                    5.7-3.20090208.el6                base   
View Code

2.2、安装所需软件

# yum -y install ncurses-devel

3、若为Ubuntu/Debian系列,用:

apt-cache search ncurses

apt-get install libncurses5-dev

(未测试)

以上参考网址:

http://www.shangxueba.com/jingyan/121278.html (问题解决的方法)

http://www.cnblogs.com/chuncn/archive/2010/10/17/1853915.html (yum参数说明)

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。