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

Curses library not found. Please install appropriate package

时间:2015-12-01 14:25:41      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:

今天安装mysql-5.5.3-m3的时候,报下面的错误:
-- 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
yum -y install ncurses-devel
 
然后再使用cmake编译就可以了.

Curses library not found. Please install appropriate package

标签:

原文地址:http://www.cnblogs.com/yangxiaofei/p/5009761.html

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