如果你的服务器是不能上网的,那就说明你要手动安装很多软件,比如gcc;
1,首先到http://vault.centos.org/6.3/os/x86_64/Packages/下载用到的rpm包,包括:
ppl-0.10.2-11.el6.x86_64.rpm 、
cloog-ppl-0.15.7-1.2.el6.x86_64.rpm 、
mpfr-2.4.1-6.el6.x86_64.rpm 、
cpp-4.4.6-4.el6.x86_64.rpm 、
kernel-headers-2.6.32-279.el6.x86_64.rpm 、
glibc-headers-2.12-1.80.el6.x86_64.rpm 、
glibc-devel-2.12-1.80.el6.x86_64.rpm 、
libstdc++-devel-4.4.6-4.el6.x86_64.rpm 、
gcc-4.4.6-4.el6.x86_64.rpm 、
gcc-c++-4.4.6-4.el6.x86_64.rpm
2,软件安装顺序:
# rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm
# rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
# rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm
# rpm -ivh cpp-4.4.6-4.el6.x86_64.rpm
# rpm -ivh kernel-headers-2.6.32-279.el6.x86_64.rpm
# rpm -ivh glibc-headers-2.12-1.80.el6.x86_64.rpm
# rpm -ivh glibc-devel-2.12-1.80.el6.x86_64.rpm
# rpm -ivh gcc-4.4.6-4.el6.x86_64.rpm
# rpm -ivh libstdc++-devel-4.4.6-4.el6.x86_64.rpm
# rpm -ivh gcc-c++-4.4.6-4.el6.x86_64.rpm
3,安装成功