码迷,mamicode.com
首页 > 数据库 > 详细

CentOS6.6-MySQL报Curses library not found

时间:2019-03-25 00:42:21      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:pack   could not   edit   mos   inf   mes   ble   log   ati   

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

标签:pack   could not   edit   mos   inf   mes   ble   log   ati   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!