安裝gcc出現報缺失檔案

paynefu發表於2014-06-25

安裝gcc出現報缺失檔案

[root@payne Packages]# rpm -ivh gcc-4.4.7-3.el6.i686.rpm
warning: gcc-4.4.7-3.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
        cloog-ppl >= 0.15 is needed by gcc-4.4.7-3.el6.i686
        cpp = 4.4.7-3.el6 is needed by gcc-4.4.7-3.el6.i686
[root@payne Packages]# rpm -ivh cloog-ppl-0.15.7-1.2.el6.i686.rpm
warning: cloog-ppl-0.15.7-1.2.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
        libppl.so.7 is needed by cloog-ppl-0.15.7-1.2.el6.i686
        libppl_c.so.2 is needed by cloog-ppl-0.15.7-1.2.el6.i686
[root@payne Packages]# ls libppl.so.7*
ls: cannot access libppl.so.7*: No such file or directory
[root@payne Packages]# ls libppl_c.so.2*
ls: cannot access libppl_c.so.2*: No such file or directory
經google知道:這幾個檔案在mpfr-2.4.1-6.el6.i686.rpm和rpm -ivh ppl-0.10.2-11.el6.i686.rpm中
 [root@payne Packages]# rpm -ivh mpfr-2.4.1-6.el6.i686.rpm
warning: mpfr-2.4.1-6.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:mpfr                   ########################################### [100%]

[root@payne Packages]# rpm -ivh ppl-0.10.2-11.el6.i686.rpm
warning: ppl-0.10.2-11.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:ppl                    ########################################### [100%]
[root@payne Packages]# rpm -ivh cloog-ppl-0.15.7-1.2.el6.i686.rpm
warning: cloog-ppl-0.15.7-1.2.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:cloog-ppl              ########################################### [100%]
 [root@payne Packages]# rpm -ivh cpp-4.4.7-3.el6.i686.rpm
warning: cpp-4.4.7-3.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:cpp                    ########################################### [100%]
[root@payne Packages]# rpm -ivh gcc-4.4.7-3.el6.i686.rpm
warning: gcc-4.4.7-3.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:gcc                    ########################################### [100%]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27135177/viewspace-1193614/,如需轉載,請註明出處,否則將追究法律責任。

相關文章