Curses library not found. Please install appropriate package

使用cmake安装mysql-5.6.10报出以下错误:
– Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:83 (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.
Call Stack (most recent call first):
cmake/readline.cmake:126 (FIND_CURSES)
cmake/readline.cmake:193 (MYSQL_USE_BUNDLED_LIBEDIT)
CMakeLists.txt:325 (MYSQL_CHECK_READLINE)

– Configuring incomplete, errors occurred!
已邀请:

OpenSkill - OpenSkill官方账号

赞同来自:

You can try:
rm -f CMakeCache.txt
yum -y install ncurses-devel

要回复问题请先登录注册