CMake Error: Curses library not found. Please install appropriate package

编译安装MySQL的时候,出现错误:

-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:85 (MESSAGE):
Curses library not found.  Please install appropriate package,

remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
      
解决办法:
rm -f CMakeCache.txt
yum -y install ncurses-devel

posted @ 2016-03-03 14:12  Liemer_Lius  阅读(1058)  评论(0编辑  收藏  举报