mysql-5.5.28源码安装过程中错误总结
2013-10-29 16:28
549 查看
介绍一下关于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源码安装过程中错误总结
- mysql-5.5.28源码安装过程中错误总结
- CentOS5.5下rpm安装及卸载MySQL5.5.28过程及总结
- LAMP配置:mysql-5.5.28+apache-2.4.3+php-5.4.8源码安装错误记录
- Hadoop-2.8.0集群搭建、hadoop源码编译和安装、host配置、ssh免密登录、hadoop配置文件中的参数配置参数总结、hadoop集群测试,安装过程中的常见错误
- 安装解压版本的MySQL,安装过程中的常见命令,检查windows系统错误日志的方式来检查MySQL启动错误,关于Fatal error: Can't open and lock privilege
- Red Hat Linux 9下的Mysql5.0.19+Apache 2.2.0 + PHP 5.1.2+GD库源码编译安装过程
- linux中源码编译安装mysql常见错误
- CentOS6.8 x64+Nginx1.3.8/Apache-httpd 2.4.3+PHP5.4.8(php-fpm)+MySQL5.5.28+CoreSeek4.1源码编译安装
- Linux 下 二进制源码包安装mysql 详细过程
- linux中源码编译安装mysql常见错误
- 安装解压版本的MySQL,安装过程中的常见命令,检查windows系统错误日志的方式来检查MySQL启动错误,关于Fatal error: Can't open and lock privilege
- Joomla安装过程中MySQL出现错误
- 修改原CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)环境产生错误
- Windows Vista下安装PHP5.2.8和Apache2.2.8,与Mysql 5.1.3,以及phpMyAdmin3.1.1安装设置过程总结
- Mysql安装过程--使用源码安装 & 常用命令
- CentOS 5.5下LAMP环境搭建之源码安装MySQL(mysql-5.5.28)
- 源码安装和配置apache(httpd)和 PHP 和 mysql全过程(二)
- MySQL 5.7.10最新版本号源码安装具体过程