您现在的位置是:首页> 操作系统> Linux

centos7.4在编译MYSQL5.5时报错

  • 4952人已阅读
  • 时间:2019-08-18 06:52:38
  • 分类:Linux
  • 作者:祥哥

报错如下:

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:369 (MYSQL_CHECK_READLINE)

解决方法:

yum -y install ncurses-devel
删除编译缓存文件
rm CMakeCache.txt
重新编译安装即可


Top