相逢意气为君饮,系马高楼垂柳边。这篇文章主要讲述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】
推荐阅读
- android 自己定义视频播放器之2/1
- Android短信收到,语音播报
- Android studio 自己定义打包APK名称
- Java国际化编号(带编号的I18N)
- Java国际化日期(带日期的I18N)
- Java货币国际化(使用货币的I18N)
- Java的国际化和本地化
- Java InetAddress类
- 如何从Java中的另一个类调用私有方法