最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
mysql-5.5.28源码安装过程中几大错误总结
时间:2013-10-24 编辑:简简单单 来源:一聚教程网
系统centOS 6.3 mini (没有任何编译环境)
预编译环境首先装了众所周知的 cmake(yum install cmake -y)
代码如下 | 复制代码 |
1、./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)
代码如下 | 复制代码 |
2、CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. |
额,这个算是个人新遇见的错误了,到处查找资料,总算明白了,原来了还有一个c++的编译程序没装,好吧(yum install gcc-c++ -y),然后发现已经生成CMakeCache.txt文件了。没办法,删了(rm -rf CMakeCache.txt)继续编译!
代码如下 | 复制代码 |
3、CMake Error at cmake/readline.cmake:82 (MESSAGE): |
果断的又懵了,不知道哪里出了问题,猜是什么包没有装吧,最后才看懂On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.这两句,OK装了ncurses-devel这个包(yum install ncurses-devel -y)
4、Warning: Bison executable not found in PATH
总算顺利的配置成功了,提示一个警告,不能放过,一查是缺少Bison,简单了(yum install bison -y)安装解决!接着就make;make install啦!很幸运,顺利完成!
相关文章
- MySQL安装提示 06-06
- mysql5.7.17安装使用图文教程 05-15
- mysql 5.7以上版本下载及安装图文教程 05-04
- redhat7通过yum安装mysql5.7.17教程 02-10
- MySQL安装与python下的MySQLdb使用 08-22
- Ubuntu下安装搭建MySQL环境步骤介绍 08-11