question about Gcc and install
I am having some trouble upgrading/installing some packages and wanted to ask for suggestions. I am relatively new to this, and have been searching for similar problems but have been unable to find any.
I just did a fresh install of Redhat 7.3 on a P2, 233 machine. I did the custom install and added the software development and kernel packages.
I want to run a program that requires the following packages
gcc3-3.0.1-3.src.rpm
gcc3-c++-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
libstdc++3-3.0.1-3.i386.rpm
libstdc++3-devel-3.0.1-3.i386.rpm
I was able to install the last 3 packages and receive the following when I look for them.
[root@redhat home]# rpm -qa | grep libstdc
libstdc++3-3.0.1-3
libstdc++-devel-2.96-110
compat-libstdc++-6.2-2.9.0.16
libstdc++-2.96-110
libstdc++3-devel-3.0.1-3
[root@redhat home]# rpm - qa | grep gcc
gcc-g77-2.96-110
gcc-2.96-110
libgcc-3.0.1-3
gcc-c++-2.96-110
gcc-objc-2.96-110
Now, it appears that I have the old version (2.96-110) still installed for the libstdc packages.
I used a rpm-Uvh (package) command to try to upgrade.
My first question is this going to be a problem having multiple versions of these packages?
My next question is regarding the gcc.
When I try to install the first product, I get:
[root@redhat home]# rpm -Uvh gcc3-3.0.1-3.src.rpm
1:gcc3 ########################################### [100%]
which appears to install, but then:
[root@redhat home]# rpm -qa | grep gcc3
[root@redhat home]#
showing it isn't installed.
when I try to upgrade the other package:
[root@redhat home]# rpm -Uvh gcc3-c++-3.0.1-3.i386.rpm
error: failed dependencies:
gcc3 = 3.0.1-3 is needed by gcc3-c++-3.0.1-3
confirming that the first package is not installed.
Any suggestions are appreciated!
-Chris
|