安装GCC需要一个正确的顺序:

rpm -Uvh kernel-headers-2.6.32-220.el6.i686.rpm

rpm -Uvh glibc-headers-2.12-1.47.el6.i686.rpm

rpm -Uvh glibc-devel-2.12-1.47.el6.i686.rpm

rpm -Uvh ppl-0.10.2-11.el6.i686.rpm

rpm -Uvh cloog-ppl-0.15.7-1.2.el6.i686.rpm

rpm -Uvh mpfr-2.4.1-6.el6.i686.rpm

rpm -Uvh cpp-4.4.6-3.el6.i686.rpm

rpm -Uvh gcc-4.4.6-3.el6.i686.rpm

 

 

注意仅在RHEL6.2下测试,其它版本LINUX相关的软件包和版本可能不同。