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.  GTK rpms for AIX 7.2 cannot be installed

    Posted Mon August 13, 2018 09:20 PM

    Originally posted by: ShuLing Cheng


    We have downloaded the GTK rpms from 

       ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/gtk_for_AIX-7.2.0.tar 

     

    However, the rpms would fail to be installed with the following error:

    =====================================================

    The following packages were requested for installation
    but were not found on the media:
    libstdc++-6.3.0-1

    The following errors during installation occurred:
    error: Failed dependencies:
    libstdc++ >= 4.2.3-2 is needed by gmp-6.1.2-1.ppc
    libstdc++.a(libstdc++.so.6) is needed by gmp-6.1.2-1.ppc
    libstdc++.a(libstdc++.so.6) is needed by ncurses-6.1-1.ppc

    =====================================================

     

    Checking the tar archive:

    $ tar tvf gtk_for_AIX-7.2.0.tar |grep stdc
    -rw-r--r-- root/system 12988808 2018-07-03 16:53 gtk_for_AIX-7.2.0/libstdcplusplus-6.3.0-1.aix7.2.ppc.rpm

     

     

    The filename of the rpm is 

       "libstdcplusplus-6.3.0-1.aix7.2.ppc.rpm"

     

    We tried renaming the above file with

    $ mv libstdcplusplus-6.3.0-1.aix7.2.ppc.rpm libstdc++-6.3.0-1.aix7.2.ppc.rpm 

     

    And then the rpms can be installed.

     

    Is this a packaging issue in the 

     ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/gtk_for_AIX-7.2.0.tar 

    If so, can you help to correct it?

     

     

    Thank you.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: GTK rpms for AIX 7.2 cannot be installed

    Posted Tue August 14, 2018 02:33 AM

    Originally posted by: Nitish Mishra


    Hi @ShuLing Cheng 31a8e9bc-f510-45c0-919d-72ea8317341e

    You don't need to rename the file. You can give the command as below:

    # rpm -ivh libstdcplusplus-6.3.0-1.aix7.2.ppc.rpm
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:libstdc++-6.3.0-1                ################################# [100%]

     

    After installation the rpm command will show proper name as below:

    # rpm -qa | grep libstdc++
    libstdc++-6.3.0-1.ppc

     

    We have named it like "plusplus" knowingly because of our upload process implementation. Many users try to install it as "rpm -ivh libstdc++-6.3.0-1.aix7.2.ppc.rpm", so it fails because obviously it is not able to find the file libstdc++-6.3.0-1.aix7.2.ppc.rpm.

    Anyways we are coming up with gtk/dependency tar ball and installation script shortly for all AIX platforms.

     

    Thanks


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: GTK rpms for AIX 7.2 cannot be installed

    Posted Tue August 14, 2018 02:48 AM

    Originally posted by: ShuLing Cheng


    Hello Nitish, thanks for your prompt reply.

     

    My customer is using "smitty" to install the RPMs ( and we did not try to use "rpm -hiv " )

    Here are the high level steps:

     

    # tar xvf gtk_for_AIX-7.2.0.tar

    Update the rpm.rte to the latest level 4.13.0.3 as below:
    # cd rpm4
    # installp -d ./ -acFYN rpm.rte

    Then install the rpm packages of GTK2:
    # cd ../gtk_for_AIX-7.2.0
    # smitty install ---> install all the rpm packages in the current directory.

     

    From smit.log, it is using the following command to install the RPM

    geninstall -I "a -cgNQqwXY -J" -Z -d . -f File 2>&1

     

    Are you able to recreate the same issue as well?

    If so , then it may be a problem specific to the "geninstall" command when working with the filename libstdcplusplus-6.3.0-1.aix7.2.ppc.rpm.

     


     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: GTK rpms for AIX 7.2 cannot be installed

    Posted Tue August 14, 2018 04:50 AM

    Originally posted by: Nitish Mishra


    Hi @ShuLing Cheng 31a8e9bc-f510-45c0-919d-72ea8317341e

    Yeah ! I am able to recreate the issue. smitty install/geninstall is taking the file libstdcplusplus as libstdc++, hence the issue.

    I cant do anything there but for now you can use "rpm -ivh "

     

    Thanks


    #AIXOpenSource
    #AIX-Open-Source-Software