Curses library not found. Please install appropriate package

Posted yangykaifa

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Curses library not found. Please install appropriate package相关的知识,希望对你有一定的参考价值。

每次安装mysql5.5的时候总会报出一下错误:

-- Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) 
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) 
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:118 (FIND_CURSES)
cmake/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)
CMakeLists.txt:257 (MYSQL_CHECK_READLINE)


-- Configuring incomplete, errors occurred!
配置无法继续.

这里有一个好的方法。

就是使用例如以下语句:

rm -f CMakeCache.txt

删除刚才编译生成的 CMakeCache.txt 文件
安装 ncurses-devel 包
yum install ncurses-devel








以上是关于Curses library not found. Please install appropriate package的主要内容,如果未能解决你的问题,请参考以下文章

MySQL安装报错Curses library not found. Please install appropriate package

No curses/termcap library found

error: No curses/termcap library found

checking for termcap functions library... configure: error: No curses/termcap library found

error: No curses/termcap library found的解决办法

Linux 安装 MySQL 出现 Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)