I have a problem that I am hoping someone out there has already
solved. I need to upgrade gcc from 2.96-98 to 3.2-7 on Redhat 7.2.
My project has a requirement that we run on Redhat 7.2. The problem
is, rpm reports that the upgrade also requires an upgrade to rpm. The
rpm upgrade printout follows:
rpm -Uvh ./gcc-3.2-7.i386.rpm \
error: failed dependencies:
cpp = 3.2-7 is needed by gcc-3.2-7
rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by gcc-3.2-7
gdb < 5.1-2 conflicts with gcc-3.2-7
rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by
gcc = 2.96-98 is needed by gcc-g77-2.96-98
gcc = 2.96-98 is needed by gcc-objc-2.96-98
gcc = 2.96-98 is needed by gcc-c++-2.96-98
I think I know how to upgrade everything but the rpmlib (get all
packages and do an rpm -U followed by all the package names).
But, I can't find out how to upgrade rpmlib. I assume that most
people just upgrade the OS when they want a new compiler, that is why
I can't find much information on this problem.
Any information you can give me would be greatly appreciated. Thanks