redhat 安装gcc问题
我想安装samba源码包,但是我没有安装gcc编译器,所以我要安装GCC编译器。我下载了gcc3.3.2.2-5.i386.rpm安装安装时又出错了,好像缺什么~~
情高手指教?
[root@mis Desktop]# rpm -ivh gcc-3.2.2-5.i386.rpm
warning: gcc-3.2.2-5.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
cpp = 3.2.2-5 is needed by gcc-3.2.2-5.i386
glibc-devel >= 2.2.90-12 is needed by gcc-3.2.2-5.i386
------解决方案--------------------先装上以下几个包
[root@RHEL4_U5 ~]# rpm -qa|grep glibc
glibc-headers-2.3.4-2.36
glibc-2.3.4-2.36
glibc-kernheaders-2.4-9.1.100.EL
glibc-common-2.3.4-2.36
glibc-devel-2.3.4-2.36
------解决方案--------------------应该系统安装盘里面应该有的吧,装上去就好了