gpt4 book ai didi

mysql-5.5.28源码安装过程中错误总结

转载 作者:qq735679552 更新时间:2022-09-29 22:32:09 24 4
gpt4 key购买 nike

CFSDN坚持开源创造价值,我们致力于搭建一个资源共享平台,让每一个IT人在这里找到属于你的精彩世界.

这篇CFSDN的博客文章mysql-5.5.28源码安装过程中错误总结由作者收集整理,如果你对这篇文章有兴趣,记得点赞哟.

介绍一下关于mysql-5.5.28源码安装过程中几大错误总结,希望此文章对各位同学有所帮助。 系统centOS 6.3 mini (没有任何编译环境) 预编译环境首先装了众所周知的 cmake(yum install cmake -y) 。

复制代码代码如下:

、./bootstrap Error when bootstrapping CMake: Cannot find appropriate C compiler on this system. Please specify one using environment variable CC. See cmake_bootstrap.log for compilers attempted.

好吧还是没准备充分,发现c编译程序没装,也就是GCC了,那就装上(yum install gcc -y) 。

复制代码代码如下:

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. 。

  。

  。

额,这个算是个人新遇见的错误了,到处查找资料,总算明白了,原来了还有一个c++的编译程序没装,好吧(yum install gcc-c++ -y),然后发现已经生成CMakeCache.txt文件了。没办法,删了(rm -rf CMakeCache.txt)继续编译! 。

复制代码代码如下:

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

  。

  。

果断的又懵了,不知道哪里出了问题,猜是什么包没有装吧,最后才看懂On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.这两句,OK装了ncurses-devel这个包(yum install ncurses-devel -y) Warning: Bison executable not found in PATH 总算顺利的配置成功了,提示一个警告,不能放过,一查是缺少Bison,简单了(yum install bison -y)安装解决!接着就make;make install啦!很幸运,顺利完成! 。

最后此篇关于mysql-5.5.28源码安装过程中错误总结的文章就讲到这里了,如果你想了解更多关于mysql-5.5.28源码安装过程中错误总结的内容请搜索CFSDN的文章或继续浏览相关文章,希望大家以后支持我的博客! 。

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com