当前位置:Gxlcms > mysql > 编译mysql5.1.68make时候出现./include/my

编译mysql5.1.68make时候出现./include/my

时间:2021-07-01 10:21:17 帮助过:3人阅读

./depcomp: line 512: exec: g: not found make[2]: *** [my_new.o] 错误 127 make[2]: Leaving directory `/usr/local/setup/mysql-5.1.68b/mysys' make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/usr/local/setup/mysql-5.1.68b' make

./depcomp: line 512: exec: g++: not found
make[2]: *** [my_new.o] 错误 127
make[2]: Leaving directory `/usr/local/setup/mysql-5.1.68b/mysys'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/setup/mysql-5.1.68b'
make: *** [all] 错误 2
[root@gameserver mysql-5.1.68b]# yum install -y gcc-c++


解决办法:
yum install -y gcc-c++

../include/my_global.h:1088: 错误:对 C++ 内建类型 ‘bool’ 的重声明

是的话 重新./configure 在make clean make make install 就解决了

人气教程排行