请选择 进入手机版 | 继续访问电脑版

编译安装mysql 8 报错:Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)

[复制链接]
查看1109 | 回复0 | 2019-7-3 16:14:02 | 显示全部楼层 |阅读模式
一、故障现象

编译安装mysql 8,执行cmake命令后,报错:
  1. Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
  2. CMake Error at cmake/readline.cmake:71 (MESSAGE):
  3.   Curses library not found.  Please install appropriate package,

  4.       remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
  5. Call Stack (most recent call first):
  6.   cmake/readline.cmake:100 (FIND_CURSES)
  7.   cmake/readline.cmake:194 (MYSQL_USE_BUNDLED_EDITLINE)
  8.   CMakeLists.txt:1006 (MYSQL_CHECK_EDITLINE)


  9. -- Configuring incomplete, errors occurred!
  10. See also "/usr/local/mysql-8.0.16/CMakeFiles/CMakeOutput.log".
  11. See also "/usr/local/mysql-8.0.16/CMakeFiles/CMakeError.log".
复制代码


二、解决方法

# yum -y install ncurses-devel




上一篇:编译安装Mysql 8 报错:Cannot find appropriate system libraries for WITH_SSL=system.
下一篇:CentOS 7 编译安装mysql 8
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1249

主题

2736

帖子

7万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
70208
QQ