报错信息为:
remove CMakeCache.txt and rerun cmake.package name islibncurses5-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:355 (MYSQL_CHECK_READLINE
-- Configuring incomplete, errors occurred!
See also "/root/my/mysql-5.5.37/CMakeFiles/CMakeOutput.log".
解决办法:
说明centos系统没有ncurses-devel
我centos6.6用的是这个版本:ncurses-devel-5.7-3.20090208.el6.i686.rpm