Home > Database > Mysql Tutorial > mysql编译报错_MySQL

mysql编译报错_MySQL

WBOY
Release: 2016-06-01 13:45:04
Original
1037 people have browsed it

bitsCN.com

今天在给公司的服务器上面源码安装mysql-5.1.44的时候报错。具体表现为configure后make时报错如下:

 

make[2]: *** [do_abi_check] 错误 1

make[2]: 离开目录“/root/mysql-5.1.44”

make[1]: *** [abi_check] 错误 2

make[1]: 离开目录“/root/mysql-5.1.44”

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

在网上google的时候大部分人都说是mysql的bug,从mysql-5.1以上版本和gcc4.5以上版本不和谐导致,最简单的方法是将Makefile文件里面do_abi_check后面一行set -ex; /注释掉就好了。

作者“网络技术”

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template