源码编译mysql报错解决

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了源码编译mysql报错解决相关的知识,希望对你有一定的参考价值。

 [[email protected]]# cmake

出现以下错误提示:

-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readlineNaNake:82(MESSAGE):
  Curses library not found.  Pleaseinstall appropriate package,

      remove CMakeCache.txt andrerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat andderivates it is ncurses-devel.
Call Stack (most recent call first):
  cmake/readlineNaNake:126 (FIND_CURSES)
  cmake/readlineNaNake:216(mysql_USE_BUNDLED_LIBEDIT)
  CMakeLists.txt:250 (MYSQL_CHECK_READLINE)

 

-- Configuring incomplete, errors occurred!

解决方法:

[[email protected] mysql-5.5.11]# rmCMakeCache.txt

[[email protected] mysql-5.5.11]# yum installncurses-devel

Warning: Bison executable not found in PATH
-- Configuring done
-- Generating done
-- Build files have been written to:/software/mysql-5.5.11




本文出自 “辛舒展” 博客,请务必保留此出处http://xinsz08.blog.51cto.com/10565212/1795729

以上是关于源码编译mysql报错解决的主要内容,如果未能解决你的问题,请参考以下文章

iperf工具源码下载编译编译报错解决以及测试网络带宽

源码编译nginx的时候,出现“make: *** 没有指明目标并且找不到 makefile。 停止“。的报错的解决方法

OpenHarmony 3.1 Release源码编译过rk3568后,编译hi3516标准系统,出现ramdisk报错解决方案

OpenHarmony 3.1 Release源码编译过rk3568后,编译hi3516标准系统,出现ramdisk报错解决方案

OpenHarmony 3.1 Release源码编译过rk3568后,编译hi3516标准系统,出现ramdisk报错解决方案

修改java源码解决keys报错