在编译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
阅读(2213) | 评论(0) | 转发(0) |