报错如下:
checking for tgetent in -ltermcap... no

checking for termcap functions library... configure: error: No curses/termcap library found



解决方法:

./configure  \
> --prefix=/usr/local/mysql \    
> --with-extra-charsets=all  \
> --with-named-curses-libs=/usr/lib/libncursesw.so.5   --添上该行信息


编译时添加上的部分即可,保存退出