yum install gcc gcc-c++

./configure

make 

make install

 

 

安装成功了。