编译Mysql时configure: error: No curses/termcap library found 的错误解决方法

来源:互联网 发布:碰碰软件怎么玩? 编辑:程序博客网 时间:2024/06/11 22:02
编译Mysql时configure: error: No curses/termcap library found 的错误解决方法  文章指数:0  CSDN Blog推出文章指数概念,文章指数是对Blog文章综合评分后推算出的,综合评分项分别是该文章的点击量,回复次数,被网摘收录数量,文章长度和文章类型;满分100,每月更新一次。
编译Mysql时configure: error: No curses/termcap library found 的错误解决方法


在编译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

原创粉丝点击