首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

centos 5.7下编译构建可调试的mysql5.1

2012-07-16 
centos 5.7上编译构建可调试的mysql5.1步骤:0.安装g++:yum install gcc-c++*1.安装yum install ncurses-de

centos 5.7上编译构建可调试的mysql5.1
步骤:


0.安装g++:  yum install gcc-c++*

1.安装yum install ncurses-devel, 否则在./configure时可能会遇到 No curses/termcap library found错误 

2. ./configure --with-debug --enable-mysql-maintainer-mode=no #如果没有后面这个参数,会导致warnings being treated as errors,一些警告就会导致安装失败

3. make

4. sudo make install




参考:
http://book.51cto.com/art/201001/180782.htm
http://hi.baidu.com/zys1234/blog/item/a9ae56019256541f1d9583d4.html
http://bugs.mysql.com/bug.php?id=57989
http://www.blogjava.net/chenlb/archive/2007/03/20/105114.html的最后一个评论,解决redeclaration of C++ built-in type ‘bool’

热点排行