免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1471 | 回复: 6
打印 上一主题 下一主题

安装gcc-3.3.1-16.i586.rpm出错,带google搜索结果 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-26 22:14 |只看该作者 |倒序浏览
我是centos4,安装系统时没有安装gcc,后来光驱卸了,从网上下的gcc无法安装,请教大家该怎么解决,拜托了。
[root@host rpm]# rpm -ivh gcc-3.3.1-16.i586.rpm
error: Failed dependencies:
        cpp = 3.3.1-16 is needed by gcc-3.3.1-16.i586

google的搜索结果页:
http://lists.suse.com/archive/suse-linux/2004-Feb/2725.html

论坛徽章:
0
2 [报告]
发表于 2005-06-26 22:51 |只看该作者

安装gcc-3.3.1-16.i586.rpm出错,带google搜索结果

cpp = 3.3.1-16 is needed by gcc-3.3.1-16.i586
是告诉你gcc安装是关联cpp这个包的你的把这个包一起装上才可以.

论坛徽章:
0
3 [报告]
发表于 2005-06-26 22:55 |只看该作者

安装gcc-3.3.1-16.i586.rpm出错,带google搜索结果

提示我已经安装了:
[root@host rpm]# rpm -ivh cpp-3.3.1-16.i586.rpm
Preparing...                ########################################### [100%]
        package cpp-3.4.3-9.EL4 (which is newer than cpp-3.3.1-16) is already installed
        file /lib/cpp from install of cpp-3.3.1-16 conflicts with file from package cpp-3.4.3-9.EL4
        file /usr/bin/cpp from install of cpp-3.3.1-16 conflicts with file from package cpp-3.4.3-9.EL4
        file /usr/share/man/man1/cpp.1.gz from install of cpp-3.3.1-16 conflicts with file from package cpp-3.4.3-9.EL4

论坛徽章:
0
4 [报告]
发表于 2005-06-26 22:59 |只看该作者

安装gcc-3.3.1-16.i586.rpm出错,带google搜索结果

还是不行!

论坛徽章:
0
5 [报告]
发表于 2005-06-27 08:12 |只看该作者

安装gcc-3.3.1-16.i586.rpm出错,带google搜索结果

强行把两个包重装一下,忽略依赖

论坛徽章:
0
6 [报告]
发表于 2005-06-27 10:00 |只看该作者

安装gcc-3.3.1-16.i586.rpm出错,带google搜索结果

--force --nodeps看看。

论坛徽章:
0
7 [报告]
发表于 2005-06-27 10:13 |只看该作者

安装gcc-3.3.1-16.i586.rpm出错,带google搜索结果

其實所久缺的包, 在你的安裝碟內, 就可以找到了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP