编译mysql时提示 No curses/termcap library found

在源码安装mysql的编译过程中,提示如下
checking for termcap functions library… configure: error: No curses/termcap library found
而中断编译

解决方法,增加如下的参数
--with-named-curses-libs=/usr/lib/libncursesw.so.5


yum install -y ncurses-dev

欢迎转载,但请保留此信息
[我的Linux,让Linux更易用] CentOS精简版,集成lamp,lnmp版,wdcp,wdcdn,wddns,一键安装包,集群负载均衡LVS,智能DNS/CDN,性能优化
本文连接:http://www.wdlinux.cn/old/node/107