编译mysql5.1.68 make时候出现./include/my
./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 就解决了
上一篇: nodejs是做什么的?有哪些功能