Home >Database >Mysql Tutorial >"checking for termcap functions library… &quot_MySQL

"checking for termcap functions library… &quot_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:43:591017browse

bitsCN.com 今天在安装编译mysql时出现了以下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
说明curses/termcap 库没有安装,去下载一个ncurses-5.6.tar.gz
[root@server src]# wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
[root@server src]# tar zxvf ncurses-5.6.tar.gz
[root@server src]# cd ncurses-5.6
[root@server ncurses-5.6]# ./configure –prefix=/usr –with-shared –without-debug
[root@server ncurses-5.6]# make
[root@server ncurses-5.6]# make install clean 
然后再重新编译Mysql进行安装。发现还是不行!郁闷。继续查找下,终于在系统安装盘里找到安装成功:[root@server CentOS]# rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm
Preparing...                ########################################### [100%]
   1:ncurses-devel          ########################################### [100%]
OK!现在可以重新编译Mysql进行安装了。
 
本文出自 “300second的蜗居” 博客 bitsCN.com

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn