../depcomp: line 512: exec: g++: not found

../depcomp: line 512: exec: g++: not found
make[2]: *** [my_new.o] 错误 127
make[2]: Leaving directory `/usr/local/setup/mysql-5.0.51b/mysys'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/setup/mysql-5.0.51b'
make: *** [all] 错误 2
[root@gameserver mysql-5.0.51b]# yum install -y gcc-c++
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* updates: ftp.daum.net


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


猜你喜欢

转载自pcpig.iteye.com/blog/963137