Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)

安装mysql出现Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH),提示解决方法

[[email protected] software]# cd mysql-5.5.11
[[email protected] mysql-5.5.11]# cmake .
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH) 
CMake Error at cmake/readline.cmake:82 (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:126 (FIND_CURSES)
  cmake/readline.cmake:216 (MYSQL_USE_BUNDLED_LIBEDIT)
  CMakeLists.txt:250 (MYSQL_CHECK_READLINE)

-- Configuring incomplete, errors occurred!
[[email protected] mysql-5.5.11]# rm CMakeCache.txt
[[email protected] mysql-5.5.11]# yum install ncurses-devel
Warning: Bison executable not found in PATH
-- Configuring done
-- Generating done
-- Build files have been written to: /software/mysql-5.5.11
[[email protected] mysql-5.5.11]# yum install bison

Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)

时间: 2024-10-08 20:52:36

Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)的相关文章

linux安装mysql出现Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH),提示解决方法

[[email protected] mysql-5.5.11]# cmake . 出现以下错误提示: -- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Error at cmake/readline.cmake:82 (MESSAGE):   Curses library not found.  Please install appropriate package, remove CMak

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

通过源码安装 MySQL 数据库,下载了 mysql-5.5.24 的版本,在使用 cmake 时产生了报错,如下: 1 CMake Error at cmake/readline.cmake:82 (MESSAGE): 2 Curses library not found. Please install appropriate package, 3 4 remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is

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. Ple

mysql 源码编译安装报错-curses_library

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

安装mysql报curses的解决

在安装mysql的时候,有时会报curses not found的错误 ... 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 reru

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 \> -DW

mysql-5.6.27源码安装及错误解决办法

环境:centos6.5.x86_64 wget http://mirrors.sohu.com/mysql/MySQL-5.6/mysql-5.6.27.tar.gz yum install -y cmake  当然也可以自己下载源码包安装,为方便就Yum安装了 useradd -s /sbin/nologin mysql tar zxvf mysql-5.6.27.tar.gz mkdir -p /data/mysql chown -R mysql:mysql /data/mysql cd

mysql5.7源码安装

1.安装所有包 yum -y install gcc-c++ ncurses-devel cmake make perl gcc autoconf automake zlib libxml libgcrypt libtool bison Python-devel 2.创建用户,目录,权限 [[email protected] ~]# groupadd mysql[[email protected] ~]# useradd -r -g mysql -s /bin/false mysql[[emai

cmake编译安装mysql5.5

CMAKE方式编译安装Mysql5.5 1.源码cmake方式编译安装MySQL5.5.32 安装前先安装: yum install ncurses-devel -y 1.1 下载Mysql和cmake安装包: wget http://wwwNaNake.org/files/v2.8/cmake-2.8.8.tar.gz 1.2 查看系统环境 cat /etc/redhat-release uname -r uname -m 1.3 安装cmake包 tar zxf cmake-2.8.8.ta