CentOS6.6-MySQL报Curses library not found

Posted 东方无解

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS6.6-MySQL报Curses library not found相关的知识,希望对你有一定的参考价值。

cmake . -DCMAKE_INSTALL_PREFIX=/application/mysql-5.6.40
> -DMYSQL_DATADIR=/application/mysql-5.6.40/data
> -DMYSQL_UNIX_ADDR=/application/mysql-5.6.40/tmp/mysql.sock
> -DDEFAULT_CHARSET=utf8
> -DDEFAULT_COLLATION=utf8_general_ci
> -DWITH_EXTRA_CHARSETS=all
> -DWITH_INNOBASE_STORAGE_ENGINE=1
> -DWITH_FEDERATED_STORAGE_ENGINE=1
> -DWITH_BLACKHOLE_STORAGE_ENGINE=1
> -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1
> -DWITH_ZLIB=bundled
> -DWITH_SSL=bundled
> -DENABLED_LOCAL_INFILE=1
> -DWITH_EMBEDDED_SERVER=1
> -DENABLE_DOWNLOADS=1
> -DWITH_DEBUG=0
-- Running cmake version 2.8.12.2
-- MySQL 5.6.40
-- Packaging as: mysql-5.6.40-Linux-x86_64
-- HAVE_VISIBILITY_HIDDEN
-- HAVE_VISIBILITY_HIDDEN
-- HAVE_VISIBILITY_HIDDEN
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:85 (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:128 (FIND_CURSES)
cmake/readline.cmake:218 (MYSQL_USE_BUNDLED_EDITLINE)
CMakeLists.txt:448 (MYSQL_CHECK_EDITLINE)


-- Configuring incomplete, errors occurred!
See also "/home/miss/tools/mysql-5.6.40/CMakeFiles/CMakeOutput.log".
See also "/home/miss/tools/mysql-5.6.40/CMakeFiles/CMakeError.log".



解决方法:

cd /home/miss/tools/mysql-5.6.40

rm CMakeCache.txt

以上是关于CentOS6.6-MySQL报Curses library not found的主要内容,如果未能解决你的问题,请参考以下文章

coures包下载和安装 可解决报错ImportError: No module named '_curses'

MySQL安装报错Curses library not found. Please install appropriate package

原创win7客户端连接CentOS6.6 MySQL数据库

checking for termcap functions library... configure: error: No curses/termcap library found

内核编译出现报错

Linux 安装 MySQL 出现 Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)