博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Curses library not found. Please install appropriate package
阅读量:7071 次
发布时间:2019-06-28

本文共 756 字,大约阅读时间需要 2 分钟。

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

转载地址:http://fdhll.baihongyu.com/

你可能感兴趣的文章
SQL Server的CONVERT() 函数介绍
查看>>
关于安装oracle数据库
查看>>
一句励志的英文短句,希望大家喜欢!
查看>>
org.hibernate.AssertionFailure: null id in xxx (don't flush the Session after an exception occurs)
查看>>
我的友情链接
查看>>
Android全局对话框
查看>>
awstats 分析nginx 日志
查看>>
给zabbix添加短信、微信、邮件报警
查看>>
MPChart 使用参考博客
查看>>
java: command not found
查看>>
单机上使用git#180804
查看>>
nginx+tomcat负载均衡
查看>>
php-编译安装
查看>>
微信小程序开发记账应用实战服务端之用户注册与登录基于ThinkPHP5描述
查看>>
感谢2011
查看>>
power shell 远程连接
查看>>
你的灯还亮着吗
查看>>
android手机在slackware linux上的调试
查看>>
mysql性能优化配置
查看>>
JavaScript继承方式详解
查看>>