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参数说明)

posted @ 2015-04-11 22:17  VNX  阅读(355)  评论(0编辑  收藏  举报