找回密码
 注册
查看: 596|回复: 2

请教gcc安装不成功??/

[复制链接]
发表于 2003-9-28 11:02:50 | 显示全部楼层 |阅读模式
情况是这样的
[root@localhost gcc3.14rh7.3]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)

我安装gcc3.1时出现这种情况:


file /usr/share/info/gcc.info-14.gz from install of gcc-3.1-1 conflicts with file from package gcc-2.96-110
file /usr/share/info/gcc.info-15.gz from install of gcc-3.1-1 conflicts with file from package gcc-2.96-110
file /usr/share/info/gcc.info-16.gz from install of gcc-3.1-1 conflicts with file from package gcc-2.96-110
file /usr/share/info/gcc.info-17.gz from install of gcc-3.1-1 conflicts with file from package gcc-2.96-110
file /usr/share/info/gcc.info-18.gz from install of gcc-3.1-1 conflicts with file from package gcc-2.96-110
file /usr/share/info/gcc.info-19.gz from install of gcc-3.1-1 conflicts with file from package gcc-2.96-110
难道gcc3.1与2.96不可\更新吗?/
请教:
发表于 2003-9-28 11:49:06 | 显示全部楼层
rh7.3的系统有点老,这里说有冲突
你是用rpm安装的吗?加--force --nodeps看能不能强行安装,但这样不知道会不会有负面影响。
编译的话可能成功率比较大
回复

使用道具 举报

发表于 2003-9-28 12:25:02 | 显示全部楼层
既然是用2进制包安装gcc,就把旧的先rpm -e在装新的吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-7-21 09:51 , Processed in 0.039779 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表