AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Missing dependency for gcc and gcc-c++7.2 on AIX 7.2.1

  • 1.  Missing dependency for gcc and gcc-c++7.2 on AIX 7.2.1

    Posted Thu July 05, 2018 12:03 PM

    Originally posted by: leftie


    Hi folks,

    I'm currently trying to install the RPM C and C++ compiler on an AIX 7.2.1.2 and I'm getting some dependency failures I cannot solve through the available packages from the AIX Toolbox für Linux applications.

     

    These are the RPM packages I have installed

    bash-4.3.30-1
    tcl-8.4.7-3
    tk-8.4.7-3
    expect-5.42.1-3
    sudo-1.8.6-9
    rsync-3.1.2-1
    bash-doc-4.3.30-1
    cvs-1.11.23-1
    cvsps-2.2b1-1
    info-4.6-1
    zlib-1.2.11-1
    zlib-devel-1.2.11-1
    wget-1.17.1-1
    bzip2-1.0.6-1
    gettext-0.19.7-1
    libiconv-1.15-1
    unzip-6.0-6
    curl-7.44.0-2
    tar-1.29-1
    coreutils-8.23-1
    AIX-rpm-7.2.1.0-16

     

    These are the packages I try to install in addition.

    gcc-7.2.0-1.aix7.2.ppc.rpm
    gcc-cpp-7.2.0-1.aix7.2.ppc.rpm
    gcc-cplusplus-7.2.0-1.aix7.2.ppc.rpm
    libgcc-7.2.0-1.aix7.2.ppc.rpm
    libmpc-1.0.3-1.aix6.1.ppc.rpm
    gmp-6.1.2-1.aix6.1.ppc.rpm
    mpfr-3.1.2-3.aix6.1.ppc.rpm
    libstdcplusplus-7.2.0-1.aix7.2.ppc.rpm
    libstdcplusplus-devel-7.2.0-1.aix7.2.ppc.rpm

     

    Trying to install these packages gives me de following dependency failure

    error: failed dependencies:
            rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by gcc-7.2.0-1
            rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by gcc-c++-7.2.0-1

     

    Does anyone know where this comes from or how I can fix this?

     

    Thanks in advance



  • 2.  Re: Missing dependency for gcc and gcc-c++7.2 on AIX 7.2.1

    Posted Fri July 06, 2018 05:30 AM

    Originally posted by: AyappanP


    I think your rpm version is 3.0.5. Try to install the latest rpm from ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/rpm.rte.4.13.0.3 . That will fix this issue.



  • 3.  Re: Missing dependency for gcc and gcc-c++7.2 on AIX 7.2.1

    Posted Fri July 06, 2018 06:03 AM

    Originally posted by: leftie


    You're right, that was the outdated package.

     

    Thanks!