Hello
We recently had an AIX Customer trying to install gcc for IBM
App Connect Enterprise on AIX 72 . He had many dependency errors.
I used these steps to to install gcc 6.3.0 on 7200-04-02-2016
A) SUPPORT INFO:
1) These packages are available on the AIX Toolbox for Linux Applications download site:
https://www.ibm.com/support/pages/node/883796#Z
2) Open Source RPM packages from the AIX Toolbox for Linux Applications are not supported through IBM support; however, if you need assistance installing or configuring a Toolbox package, an "AIX Open Source Software Forum" is available on the IBM Community
*https://community.ibm.com/community/user/power/communities/community-home?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9
3) I suggest "yum" to handle the dependencies. The script for installing yum is available on the Toolbox download site.
- https://www.ibm.com/support/pages/aix-toolbox-linux-applications-downloads-alpha
- See the top of the page:
- For easy yum installation use yum.sh script to download and install rpm.rte and all the packages needed for yum.
The Open Source Toolbox team published an article which may be helpful
- https://developer.ibm.com/articles/configure-yum-on-aix/
B) Steps I used on 7200-04-02-2016 to install gcc 6.3.0.
1) I wanted to start from scratch. There is is an unsupported script that will wipe out all RPM packages and leave you with a clean slate:
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/contrib/destroyRPMS
I removed all packages with the destroyRPMS script.
2) I re-ran the AIX-rpm virtual package tool (this creates a dummy package to store AIX installp provided libraries/modules etc with the RPM runtime)
/usr/sbin/updtvpkg
3) I installed all of the packages with --nodeps so I would not have to keep trying a different package to satisfy dependencies.
You can install from internet if you have access, or from local directory. I have provided both:
Internet:
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/glib2/glib2-2.56.1-2.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gettext/gettext-0.19.8.1-5.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libiconv/libiconv-1.16-1.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ncurses/ncurses-6.1-2.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bash/bash-5.0-1.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/mpfr/mpfr-3.1.2-3.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gmp/gmp-6.1.2-1.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libmpc/libmpc-1.1.0-1.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/texinfo/info-6.6-2.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/libstdcplusplus-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/libgcc-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/gcc-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/gcc-cpp-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libunistring/libunistring-0.9.9-2.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libxml2/libxml2-2.9.9-1.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libffi/libffi-3.2.1-3.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/xz/xz-5.2.2-1.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/xz/xz-libs-5.2.2-1.aix6.1.ppc.rpm
rpm -ivh --nodeps https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/zlib/zlib-1.2.11-1.aix6.1.ppc.rpm
Local:
rpm -ivh --nodeps glib2-2.56.1-2.aix6.1.ppc.rpm
rpm -ivh --nodeps gettext-0.19.8.1-5.aix6.1.ppc.rpm
rpm -ivh --nodeps libiconv-1.16-1.aix6.1.ppc.rpm
rpm -ivh --nodeps ncurses-6.1-2.aix6.1.ppc.rpm
rpm -ivh --nodeps bash-5.0-1.aix6.1.ppc.rpm
rpm -ivh --nodeps mpfr-3.1.2-3.aix6.1.ppc.rpm
rpm -ivh --nodeps gmp-6.1.2-1.aix6.1.ppc.rpm
rpm -ivh --nodeps libmpc-1.1.0-1.aix6.1.ppc.rpm
rpm -ivh --nodeps info-6.6-2.aix6.1.ppc.rpm
rpm -ivh --nodeps libstdcplusplus-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps libgcc-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps gcc-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps gcc-cpp-6.3.0-2.aix7.2.ppc.rpm
rpm -ivh --nodeps libunistring-0.9.9-2.aix6.1.ppc.rpm
rpm -ivh --nodeps libxml2-2.9.9-1.aix6.1.ppc.rpm
rpm -ivh --nodeps libffi-3.2.1-3.aix6.1.ppc.rpm
rpm -ivh --nodeps xz-5.2.2-1.aix6.1.ppc.rpm
rpm -ivh --nodeps xz-libs-5.2.2-1.aix6.1.ppc.rpm
rpm -ivh --nodeps zlib-1.2.11-1.aix6.1.ppc.rpm
4) Next, I verified the packages (important since we installed with --nodeps to speed up the process)
rpm -Va
(There were no errors)
I explained that the AIX Open Source forum team is really helpful and I encouraged them to join the forum. Compiler installation is a common topic. I also want stressed that this only covers the specific gcc 6.3.0. package. Some products may require different versions, and those versions may pull in updates which impact the gcc version. These limitations can be raised on the forum for clarification.
------------------------------
Jan Harris
------------------------------
Original Message:
Sent: Sun July 30, 2017 04:27 AM
From: Archive User
Subject: gcc 6.3.0 Available on AIX toolbox
Originally posted by: sanket
gcc-6.3.0 and all its dependencies are now available on AIX toolbox.
For AIX 6.1: https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-6.1/gcc/gcc-6.3.0-1.aix6.1.ppc.rpm
For AIX 7.1: https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.1/gcc/gcc-6.3.0-1.aix7.1.ppc.rpm
For AIX 7.2: https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/gcc-6.3.0-1.aix7.2.ppc.rpm
You can also use YUM to install/update this version of gcc