码迷,mamicode.com
首页 > 移动开发 > 详细

Curses library not found. Please install appropriate package

时间:2017-08-14 14:20:37      阅读:299      评论:0      收藏:0      [点我收藏+]

标签:ubuntu   pre   not   rem   could   stream   library   remove   article   

每次安装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

标签:ubuntu   pre   not   rem   could   stream   library   remove   article   

原文地址:http://www.cnblogs.com/yangykaifa/p/7357245.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!