Help me to resolve the issue
Hi
I am using Linux RHEL ES 4.When i trying to install my new version of gcc, getting the following error. Code:
[root@localhost rpms]# rpm -ivh gcc-3.4.6-3.i386.rpm Code:
[root@localhost rpms]# rpm -ivh cpp-3.4.6-3.i386.rpm Please help me. wbr shibu. |
try rpm -Uvh cpp-3.4.6-3.i386.rpm
|
Thank you for quick answer and when i try as you said i am getting the following error
Quote:
shibu |
when was the last time that the rpm data base was cleaned
Code:
su |
Quote:
that's why tools like yum annd apt-get were created in the first place, it means you are gonna have to download the proper version of gcc to match the version of cpp you are trying to install and run rpm -Uvh with that, and then see what dependencies it comes up with and download and try and install those with rpm -Uvh package.rpm etc.. yum and apt-get were created to automate this process to make updating as painless as possible... |
here I am trying using yum
Quote:
shibu |
Hi there,
From my experience, you don't need to tell yum the complete package name you want to install. In that sense, you should try to install gcc like this Code:
yum install gcc Cheers |
hi
still im getting the following error Quote:
|
what repos do you have installed on that old rhel 4 ( you do know that rhel 5.2 is the current)
yes 4 is still supported , just like win 98 was still supported for a long time after xp came out . can you post the output of Code:
yum repolist all |
Quote:
Code:
[oracle@localhost etc]$ yum repolist all |
ok then the old yum on rhel 4 dose not have "repolist"
have you installed any 3d party reops for rhel4 Have you looked through the red hat docs for 4 http://www.redhat.com/docs/manuals/enterprise/#RHEL4 http://www.redhat.com/docs/manuals/e...anagement.html you might want to see what ( if any) gcc is installed already with Code:
rpm -qa | grep gcc also i would NOT BOTHER trying to do such a small upgrade from gcc 3.4.3 to gcc 3.4.6 on that old of a operating system |
Quote:
shibu |
with gcc 4 installed why do you want to install 3.4.6 .
|
All times are GMT -5. The time now is 09:02 PM. |