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 libncurses5-dev, on Redhat and derivates it is ncurses-devel.
 5 Call Stack (most recent call first):
 6   cmake/readline.cmake:126 (FIND_CURSES)
 7   cmake/readline.cmake:216 (MYSQL_USE_BUNDLED_LIBEDIT)
 8   CMakeLists.txt:250 (MYSQL_CHECK_READLINE)
 9
10 -- Configuring incomplete, errors occurred!

  解决方法:

1 [[email protected] mysql-5.5.24]# rm CMakeCache.txt
2 [[email protected] mysql-5.5.24]# yum install ncurses-devel
3 [[email protected] mysql-5.5.24]# yum install bison
4 [[email protected] mysql-5.5.24]# make
5 [[email protected] mysql-5.5.24]# make install

  安装 ncurses 成功后,再次进行 cmake 就可以了。

原文地址:https://www.cnblogs.com/tosser/p/9906164.html

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

Linux 安装 MySQL 出现 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

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 E

Linux安装mysql

——@梁WP 摘要:Linux安装mysql. 一.下载mysql 1.在百度搜索mysql,看到其中有一条结果是带有MySQL Downloads字样的,点击进入mysql的官网. 2.进入mysql官网之后,在下面能见到MySQL Community Edition (GPL),点击下面的链接,就会进入下载列表. 3.在下载列表找到MySQL Community Server,点击下面的链接,会进入产品选择页面. 4.选择对应的操作系统,然后选择合适的版本(.gz格式),截图选了Linux 

linux安装mysql、tomcat和jdk1.7、Android Studio

linux安装mysql.tomcat和jdk. 一.安装mysql $ sudo apt-get install mysql-server 安装mysql 二.安装JDK 下载jdk 到达/usr/local $ sudo mkdir java 建立一个java文件夹 (注:sudo 请求root权限 ) $ sudo mv jdk1.7.0_67 /usr/local/java 将解压的文件移到刚刚建好的文件夹 $ sudo vim /etc/profile 可能vim编辑器没有安装 因此执

Linux 安装MySql启动Can't locate Data/Dumper.pm in @INC

通过RPM包CentOS7 安装MySQL的时候提示“Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/mysql_install_db l

linux安装MySQL记录

目录 linux安装MySQL记录 1. 在根目录下创建文件夹/software和数据库数据文件/data/mysql 2. 从官网下载相应的MySQL版本 3. 解压并移动到/software目录下 4. 创建mysql用户组和mysql用户 5. 关联myql用户到mysql用户组中 6. 更改文件夹的权限 7. 安装libaio依赖包 8. 初始化mysql命令 9. 修改Mysql配置文件 10. 启动MySQL服务 11. 登录mysql 12. 修改mysql的登录密码 13. My

Linux安装mysql教程

Linux安装mysql教程 1,设置安装路径 安装文件下载目录:/data/softwareMysql目录安装位置:/usr/local/mysql数据库保存位置:/data/mysql日志保存位置:/data/log/mysql 2,下载Mysql 在官网:http://dev.mysql.com/downloads/mysql/ 中,选择以下版本的mysql下载: 执行如下命名:#mkdir /data/software#cd /data/software --下载安装包 --建议:在wi

linux 安装mysql

查看 rpm -qa|grep mysql 或者 rpm -qa | grep -i mysql 如果有就卸载 rpm -e mysql-libs --nodeps 或者 yum remove mysql* 命令卸载mysql及相关组件 上传 MySQL-client-5.6.35-1.el6.x86_64.rpm MySQL-devel-5.6.35-1.el6.x86_64.rpm MySQL-server-5.6.35-1.el6.x86_64.rpm 安装 # rpm -ivh MySQ

【mysql学习】linux安装mysql

1.rpm bundel包下载到 /usr/local/src中: [[email protected] src]# lsmysql-5.7.11-1.el6.x86_64.rpm-bundle.tar 2解压缩bundle包 [[email protected] src]# tar xf mysql-5.7.11-1.el6.x86_64.rpm-bundle.tar  [[email protected] src]# ls mysql-5.7.11-1.el6.x86_64.rpm-bund