CentOS6.7中安装Oracle11gR2,在检查包安装情况时,用下面命令来安装gcc-,出现错误

[root@centora Packages]# rpm -ivh gcc-4.4.7-16.el6.x86_64.rpm

warning: gcc-4.4.7-16.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

error: Failed dependencies:

cloog-ppl >= 0.15 is needed by gcc-4.4.7-16.el6.x86_64

cpp = 4.4.7-16.el6 is needed by gcc-4.4.7-16.el6.x86_64


查了一轮资料,发现在安装gcc-时,需要先安装其它包,如下:

kernel-headers-2.6.32-573.el6.x86_64.rpm

glibc-headers-2.12-1.166.el6.x86_64.rpm

glibc-devel-2.12-1.166.el6.x86_64.rpm

libgomp-4.4.7-16.el6.x86_64.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.7-16.el6.x86_64.rpm