编译Mysql 5.5时报do_abi_check错误

下载mysql-5.5.3-m3源码后,执行configure无错误,在make的时候却报:

 

make[2]: *** [do_abi_check] 错误 1<br>

make[2]: Leaving directory `/tmp/mysql-5.5.3-m3'<br>

make[1]: *** [abi_check] 错误 2<br>

make[1]: Leaving directory `/tmp/mysql-5.5.3-m3'<br>

make: *** [all-recursive] 错误 1

 

摆渡,谷歌了一圈,居然是mysql的bug,貌似是mysql 5.1.14以上版本跟gcc 4.5不太兼容导致的。

 

貌似我还真用的gcc 4.5。

 

解决方法:

 

在configure完成之后,打开Makefile,删掉1146行至1163行,即do_abi_check:目标后的所有语句。

 

再执行make && make install 就OK了。

posted on 2010-11-17 13:47 wuxinxinggg 阅读(1814) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

导航

统计

常用链接

留言簿

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜