当前位置: 技术问答>linux和unix
Linux下安装GCC报错
来源: 互联网 发布时间:2016-11-07
本文导语: [root@localhost CentOS]# rpm -ivh gcc-4.1.2-48.el5.i386.rpm warning: gcc-4.1.2-48.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-48.el5.i386 ...
[root@localhost CentOS]# rpm -ivh gcc-4.1.2-48.el5.i386.rpm
warning: gcc-4.1.2-48.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-48.el5.i386
libgomp >= 4.1.2-48.el5 is needed by gcc-4.1.2-48.el5.i386
如上,安装这个软件包的时候报这个错误,找了半天没有找到解决的办法,求大虾指点
warning: gcc-4.1.2-48.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-48.el5.i386
libgomp >= 4.1.2-48.el5 is needed by gcc-4.1.2-48.el5.i386
如上,安装这个软件包的时候报这个错误,找了半天没有找到解决的办法,求大虾指点
|
把你的centos 光盘挂载上,然后到光盘里找包安装就行
|
明显是软件包依赖关系导致的。
|
软件包依赖