configure: error: No curses/termcap library found

3570阅读 0评论2008-03-27 jsjzhang
分类:LINUX

今天在ubuntu下编译mysql时出现如下的错误
 
.......
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
 
 
解决方法:

安装 libncurses5-dev 后得以解决
 
 
apt-get install libncurses5-dev
 
 
2.depcomp: line 512: exec: g++: not found
 
解决方法
 
apt-get install g++

make clean
make distclean

并且重新运行

./configure 参数省略

make && make install 



上一篇:用MySQL-Proxy实现MySQL的读写分离[原创]
下一篇:开源官方网站