首页 > 代码库 > 编译mysql时CMake Error at cmake/readline.cmake:85 (MESSAGE)

编译mysql时CMake Error at cmake/readline.cmake:85 (MESSAGE)

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.

Call Stack (most recent call first):
  cmake/readline.cmake:128 (FIND_CURSES)
  cmake/readline.cmake:202 (MYSQL_USE_BUNDLED_EDITLINE)
  CMakeLists.txt:427 (MYSQL_CHECK_EDITLINE)
-- Configuring incomplete, errors occurred!
解决方法:
#rm -f CMakeCache.txt

编译mysql时CMake Error at cmake/readline.cmake:85 (MESSAGE)