linux安装mysql 出现 Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Error at cmake/readline.cmake:83 (MESSAGE): 提示解决方法

2016年12月13日 | 标签: , ,

— MySQL 5.5.28
— Packaging as: mysql-5.5.28-Linux-x86_64
— 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:127 (FIND_CURSES)
cmake/readline.cmake:217 (MYSQL_USE_BUNDLED_LIBEDIT)
CMakeLists.txt:268 (MYSQL_CHECK_READLINE)

— Configuring incomplete, errors occurred!

解决方法:
[root@localhost mysql-5.5.28]# rm CMakeCache.txt
[root@localhost mysql-5.5.28]#  yum install ncurses-devel

目前还没有任何评论.
您必须在 登录 后才能发布评论.