当前位置:Gxlcms > 数据库问题 > mysql 源码编译安装报错-curses_library

mysql 源码编译安装报错-curses_library

时间:2021-07-01 10:21:17 帮助过:11人阅读

Curses library not found. Please install appropriate package


今天安装mysql-5.5.47的时候,报下面的错误:

-- 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编译就可以了.


本文出自 “IT网管运维” 博客,请务必保留此出处http://03301216.blog.51cto.com/4550876/1734340

mysql 源码编译安装报错-curses_library

标签:ncureses

人气教程排行