debian编译mysql 5.0 出现错误的解决方法

apt-get install build-essential

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

引用通告地址: 点击获取引用地址
标签: debian mysql library curses
评论: 0 | 引用: 0 | 阅读: 323 | 打印 | 打包 | 转发
 加入网摘