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

Posted 兜风

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译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)的主要内容,如果未能解决你的问题,请参考以下文章

OpenCV for Mac 编译 CMake Error at cmake/OpenCVUtils.cmake:42 (if):

CMake Error at cmake/boost.cmake:76 (MESSAGE)

编译mysql 5.7 源码安装常见问题

运行cmake时出现CMake Error at CMakeLists.txt:5 (ADD_EXECUTABLE):,怎么解决?

CMake Error at cmake/OpenCVModule.cmake:295 (message): No extra modules found in folder:Please pr

cmake mysql时怎么去查看所需要添加编译的参数?