因为别人需要装,现在装mysql真的是很麻烦的,先编译安装cmake 删除CMakeCache.txt检查是否安装了ncurses包,如下所示,已经安装了ncurses-5.5-24.20060715,但是缺少ncurses-devel包。