Unless you install DNF and have a local repository, it's an iterative death of a thousand cuts.
If gcc8 says it needs gcc8-cpp and gcc8-cpp says it needs gcc8 then you need to install both at the same time.
You need:
info, probably >= 6.6 due to other cross-dependencies.
sed, probably >= 4.8 (same issue)
libiconv, probably >= 1.16
gmp and gmp-devel, >= 6.1.2
libmpc and libmpc-devel, >= 1.1.0
mpfr and mpfr-devel,>= 4.0.2
zlib >= 1.2.11-1
As you install some of these, they may ask for further dependencies.
------------------------------
José Pina Coelho
IT Specialist at Kyndryl
------------------------------
Original Message:
Sent: Sat April 30, 2022 08:52 AM
From: Andrii Voloshyn
Subject: Problems installing gcc for ACE12
Hello!
I have some problems with installing gcc for ACE1.
I has installed rpm.rte version 4.15.1.3 and the following libraries:
root@dc3-p870-acedev /home/root/lib8# ls -l
total 62264
-rw-r--r-- 1 root system 997108 Apr 30 13:35 libgcc8-8.3.0-6.aix7.2.ppc.rpm
-rw-r--r-- 1 root system 1420421 Apr 30 13:36 libgomp8-8.3.0-6.aix7.2.ppc.rpm
-rw-r--r-- 1 root system 12732402 Apr 30 13:33 libstdcplusplus8-8.3.0-6.aix7.2.ppc.rpm
-rw-r--r-- 1 root system 16722240 Apr 30 13:33 libstdcplusplus8-devel-8.3.0-6.aix7.2.ppc.rpm
But when I try to install gcc I get the following errors:
root@dc3-p870-acedev /home/root/gcc8# rpm -ich gcc8-8.3.0-6.aix7.2.ppc.rpm
error: Failed dependencies:
gcc8-cpp = 8.3.0-6 is needed by gcc8-8.3.0-6.ppc
info is needed by gcc8-8.3.0-6.ppc
libiconv.a(libiconv.so.2) is needed by gcc8-8.3.0-6.ppc
sed is needed by gcc8-8.3.0-6.ppc
root@dc3-p870-acedev /home/root/gcc8# rpm -ivh gcc8-cpp-8.3.0-6.aix7.2.ppc.rpm
error: Failed dependencies:
gcc8 = 8.3.0-6 is needed by gcc8-cpp-8.3.0-6.ppc
gmp >= 6.1.2 is needed by gcc8-cpp-8.3.0-6.ppc
libgmp.a(libgmp.so.10) is needed by gcc8-cpp-8.3.0-6.ppc
libiconv.a(libiconv.so.2) is needed by gcc8-cpp-8.3.0-6.ppc
libmpc >= 1.1.0 is needed by gcc8-cpp-8.3.0-6.ppc
libmpc.a(libmpc.so.3) is needed by gcc8-cpp-8.3.0-6.ppc
libmpfr.a(libmpfr.so.6) is needed by gcc8-cpp-8.3.0-6.ppc
mpfr >= 4.0.2 is needed by gcc8-cpp-8.3.0-6.ppc
zlib >= 1.2.11-1 is needed by gcc8-cpp-8.3.0-6.ppc
Can you help me with these mistakes?
------------------------------
Andrii Voloshyn
------------------------------