Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  GCC runtime package required for IBM ACE

    Posted Thu December 09, 2021 12:25 PM
    Hi -

    I have recently installed gcc8 on AIX but when i run "rpm -q gcc 2>/dev/null" cmd  it returm msg that the packaag in not installed.

    Can some one share the exact package name of GCC rumtime.

    I have downloaded the gcc package from IBM AIX LINUX TOOLBOX site:

    AIX Toolbox for Linux Applications : Downloads alpha


    Need support.

    Regards,
    Asim



    ------------------------------
    Asim Sardar
    ------------------------------

    #AIXOpenSource



  • 2.  RE: GCC runtime package required for IBM ACE

    Posted Thu December 09, 2021 01:35 PM
    Try running:

        rpm -qa | grep gcc

    And looking at the output. The package is probably named something like "gcc8".

    -- 
    Stephen L. Ulmer
    Enterprise Architect
    Mainline Information Systems
    (m) 352-870-8649








  • 3.  RE: GCC runtime package required for IBM ACE

    Posted Fri December 10, 2021 02:22 AM
    Hi,

    there is a great possibility, that the original toolbox is outdated - sorry.

    please use: https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/

    And look for the gcc regarding your AIX-Version (RPMS/ppc.x.y/....) . you will have to install the ore multiple ground-package and then update to latest version.



    ------------------------------
    Juergen Maehlmann
    ------------------------------



  • 4.  RE: GCC runtime package required for IBM ACE

    Posted Fri December 10, 2021 04:38 AM
    Hi Juergen Maehlmann -

    Still get the following result after installing the package from given link:

    bash-5.1#rpm -q gcc 2>/dev/null
    gcc package not installed

    and

    bash-5.1# rpm -qa |grep gcc
    libgcc10-10.3.0-6.ppc
    gcc10-cpp-10.3.0-6.ppc
    libgcc7-7.2.0-2.ppc
    gcc7-7.2.0-2.ppc
    gcc7-gfortran-7.2.0-2.ppc
    gcc8-cpp-8.3.0-6.ppc
    gcc8-gfortran-8.3.0-6.ppc
    libgcc-10-1.ppc
    gcc10-10.3.0-6.ppc
    gcc7-cpp-7.2.0-2.ppc
    gcc7-c++-7.2.0-2.ppc
    libgcc8-8.3.0-6.ppc
    gcc8-8.3.0-6.ppc
    gcc8-c++-8.3.0-6.ppc
    gcc8-go-8.3.0-6.ppc


    Regards,



    ​​

    ------------------------------
    Asim Sardar
    ------------------------------



  • 5.  RE: GCC runtime package required for IBM ACE

    Posted Fri December 10, 2021 05:15 AM
    Edited by SANGAMESH MALLAYYA Fri December 10, 2021 05:17 AM
    Hi Asim,

    You need to install the corresponding default gcc meta package to launch the commands like gcc or g++.
    Otherwise you need to call the gcc command with version specific binary. For example gcc-8 or g++-8.
    Have a look at this post to know more on gcc multi version support
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2020/12/17/aix-gcc-multi-version-support-improvements?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=recentcommunityblogsdashboard

    For AIX 7.1 and 7.2 the default meta package right now is gcc-8-1.aix7.1.ppc.rpm & gcc-8-1.aix7.2.ppc.rpm which has dependency on gcc8.
    And For AIX 7.3 the default one is gcc-10-1.aix7.3.ppc.rpm which has a dependency on gcc10.

    ------------------------------
    SANGAMESH
    ------------------------------



  • 6.  RE: GCC runtime package required for IBM ACE

    Posted Fri December 10, 2021 02:38 PM
    Hi Sangamesh Mallayya --

    Thanks for your support.

    From which site i will download the gcc meta package for AIX 7.2?

    Kindly share the link.

    Regards,

    ------------------------------
    Asim Sardar
    ------------------------------



  • 7.  RE: GCC runtime package required for IBM ACE

    Posted Mon December 13, 2021 12:47 AM
    gcc meta package is also available on AIX toolbox.
    gcc packages those does not have version number in package name are the meta packages.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 8.  RE: GCC runtime package required for IBM ACE

    Posted Mon December 13, 2021 01:03 AM
    Hello.

    Our application guys did also IIB > ACE upgrade, we installed then gcc pre-reqs via YUM ( yum install gcc-cpp ) , I believe the needed packages are these:

    rpm -qa |grep gc   

    gcc8-cpp-8.3.0-6.ppc

    libgcc-8-1.ppc

    libgcc8-8.3.0-6.ppc

    gcc8-8.3.0-6.ppc

    gcc-cpp-8-1.ppc



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------