Home  >  Article  >  Database  >  编译Mysql configure: error: No curses/termcap library found

编译Mysql configure: error: No curses/termcap library found

WBOY
WBOYOriginal
2016-06-07 15:02:001292browse

在编译Mysql时 ./configure –prefix=DIR ,如果出现了以下错误: …… checking for tgetent in -ltermcap… no checking for termcap functions library… configure: error: No curses/termcap library found 说明 curses/termcap 库没有安装 apt-cache s

在编译Mysql时
./configure –prefix=DIR

,如果出现了以下错误:
……
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found

说明 curses/termcap 库没有安装
apt-cache search curses | grep lib

安装 libncurses5-dev ,然后重新运行配置
apt-get install libncurses5-dev

继续……..

我用F10:

上边的具体细节还希望先yum list | grep ncurses下看看。

yum install ncurses-dev

没有安装gcc的也要yum install gcc下先,不然不会编译。


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