【linux命令】Linux源码编译安装mysql5.7报错Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)解决办法

内容摘要
Linux源码预编译安装mysql5.7报错Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)解决办法:

报错:
Could NOT find Curses (missing: CURSES_LIBRARY
文章正文

Linux源码预编译安装mysql5.7报错Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)解决办法:
报错:

Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:82 (MESSAGE):
Curses library not found.  Please install appropriate package,

解决办法:

rm -f  CMakeCache.txt
yum install ncurses-devel bison -y

重新预编译,问题解决。

代码注释
[!--zhushi--]

作者:喵哥笔记

IDC笔记

学的不仅是技术,更是梦想!