標籤:
環境:通前篇
1、錯誤:缺少 /curses/temrcap
checking for termcap functions library... configure: error: No curses/termcap library found
2、解決方案:
2.1、查看所有已經安裝和可以安裝的有關ncurses的程式包
[[email protected] updates]# yum list | grep ncursesncurses.x86_64 5.7-3.20090208.el6 @anaconda-CentOS-201311272149.x86_64/6.5ncurses-base.x86_64 5.7-3.20090208.el6 @anaconda-CentOS-201311272149.x86_64/6.5ncurses-libs.x86_64 5.7-3.20090208.el6 @anaconda-CentOS-201311272149.x86_64/6.5ncurses-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 ncursesapt-get install libncurses5-dev
(未測試)
以上參考網址:
http://www.shangxueba.com/jingyan/121278.html (問題解決的方法)
http://www.cnblogs.com/chuncn/archive/2010/10/17/1853915.html (yum參數說明)
MySQL-curses/termcap缺失