码迷,mamicode.com
首页 > 其他好文 > 详细

error: Failed dependencies: cloog-ppl >= 0.15 is needed by gcc-4.4.7-4.el6.x86_64 cpp = 4.4.7-4.el6

时间:2014-12-04 20:05:44      阅读:904      评论:0      收藏:0      [点我收藏+]

标签:centos   error   failed dependencies   gcc   cpp   

CentOS 6.5下使用rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm命令安装GCC时提示以下错误:

warning: gcc-4.4.7-4.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-4.el6.x86_64
	cpp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64
开始只知道是缺少依赖项,但具体缺少什么没看明白,

使用yum安装的时候都会把依赖项完整的列出来;

后来才看明白,

cloog-ppl 需要大于等于 0.15 版本的
cpp 需要 4.4.7-4.el6 版本的
看懂错误信息就好说了。

rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm 
warning: cloog-ppl-0.15.7-1.2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cloog-ppl              ########################################### [100%]

rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm 
warning: cpp-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cpp                    ########################################### [100%]
rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:gcc                    ########################################### [100%]




error: Failed dependencies: cloog-ppl >= 0.15 is needed by gcc-4.4.7-4.el6.x86_64 cpp = 4.4.7-4.el6

标签:centos   error   failed dependencies   gcc   cpp   

原文地址:http://blog.csdn.net/testcs_dn/article/details/41727601

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!