mysql-5.5.28源码安装过程中几大错误总结
发布:smiling 来源: PHP粉丝网 添加日期:2014-09-29 13:19:38 浏览: 评论:0
系统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.//phpfensi.com
果断的又懵了,不知道哪里出了问题,猜是什么包没有装吧,最后才看懂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啦,很幸运,顺利完成.
Tags: mysql-5 5 28 mysql源码安装
相关文章
- ·mysql中unsigned类型字段出现65535错误(2014-09-23)
- ·MySQL 5.5开启慢查询日志方法(2014-09-23)
- ·CentOS6.4安装配置mysql 5.6服务器方法(2014-09-24)
- ·MySQL5.6 Using a password on the command line interface can be insecure(2014-09-24)
- ·mysql数据1135报错问题解决办(2014-09-25)
- ·mysql 5.5与5.6 timestamp 字段 DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIM(2014-09-27)
- ·mysql重装后连接数据库提示1045错误(2014-09-28)
- ·innobackupex-1.5.1: fatal error: no innodb_buffer_pool_filename(2014-09-28)
- ·Mysql5.5 InnoDB存储引擎设置(2014-09-28)
- ·MYSQL错误:Out of memory (Needed 1046596 bytes)(2014-09-28)
- ·mysql5.6设置sql_mode方法详解(2014-09-28)
- ·mysql的root密码丢失重置之ERROR 1045 (28000)(2014-09-29)
- ·mysql 5.5数据库主从配置步骤详解(2014-10-01)
- ·MYSQL开启慢查询与mysql5.6开启慢查询出错(2014-10-01)
- ·MySQL5.5默认编码的设置修改方法详解(2014-10-02)
- ·Linux中MySql5手动安装方法详解(2014-10-04)
推荐文章
热门文章
最新评论文章
- 写给考虑创业的年轻程序员(10)
- PHP新手上路(一)(7)
- 惹恼程序员的十件事(5)
- PHP邮件发送例子,已测试成功(5)
- 致初学者:PHP比ASP优秀的七个理由(4)
- PHP会被淘汰吗?(4)
- PHP新手上路(四)(4)
- 如何去学习PHP?(2)
- 简单入门级php分页代码(2)
- php中邮箱email 电话等格式的验证(2)