首页 > 数据库技术 > 详细

CentOS6.6-MySQL报Curses library not found

时间:2019-03-25 00:57:01      阅读:192      评论:0      收藏:0      [点我收藏+]

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

原文:https://www.cnblogs.com/slyy/p/10591393.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!