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
Expand all | Collapse all

GCC 7.2.0-1 installed. Need GCC 8.1.0-2

  • 1.  GCC 7.2.0-1 installed. Need GCC 8.1.0-2

    Posted Wed February 27, 2019 04:22 PM

    Originally posted by: asdfaasdfgasdfasdfasdfasd


    * AIX 7200-03-02-1846.

    * Need GCC 8.1.0-2 for Spectrum Control install. Prerequisite is to install libgcc-8.1.0-2.aix7.2.ppc.rpm.

    * can I easily install GCC 7.2 & 8.1 at the same time?

    * I know this is a classic problem. Just do not work with RPMs enough to know the answer.

    * Removing libgcc-7.2.0-1.ppc and will need to remove at least the following;

    # rpm -e libgcc-7.2.0-1.ppc
    error: Failed dependencies:
            libgcc = 7.2.0-1 is needed by (installed) libstdc++-7.2.0-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) libffi-3.2.1-2.ppc
            libgcc_s.a(shr.o) is needed by (installed) tcl-8.6.6-2.ppc
            libgcc_s.a(shr.o) is needed by (installed) libXcursor-1.1.14-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) libpng-1.6.27-2.ppc
            libgcc_s.a(shr.o) is needed by (installed) openldap-2.4.45-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) libstdc++-7.2.0-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) ncurses-6.1-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) glib2-2.52.2-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) gdbm-1.12-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) expect-5.45-3.ppc
            libgcc_s.a(shr.o) is needed by (installed) file-libs-5.32-1.ppc
            libgcc_s.a(shr.o) is needed by (installed) db-6.2.32-1.ppc

    # rpm -e libstdc++-7.2.0-1.ppc
    error: Failed dependencies:
            libstdc++.a(libstdc++.so.6) is needed by (installed) ncurses-6.1-1.ppc

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: GCC 7.2.0-1 installed. Need GCC 8.1.0-2

    Posted Tue March 19, 2019 02:21 AM

    Originally posted by: Nitish Mishra


    Hi !

    Right now multiple version installation support is not available for any package in AIX toolbox. So, you can't install GCC 7.2 & 8.1 at the same time.

    For your second query, you really don't need to remove rpm (rpm -e) and install newer version freshly.

    You can update the package using yum (if yum is configured in your system).

    Another way is to download all the required rpm in a directory and run the command: rpm -Uvh *

     

    Thanks,

    Nitish


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: GCC 7.2.0-1 installed. Need GCC 8.1.0-2

    Posted Tue March 19, 2019 12:41 PM

    Originally posted by: asdfaasdfgasdfasdfasdfasd


    Morning Nitish,

     

    Thank you.

    • I know all that which you speak of.
    • How can I install Spectrum Control using the newest libraries without breaking all the other packages, such as ssh & bash, & . . .

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: GCC 7.2.0-1 installed. Need GCC 8.1.0-2

    Posted Wed March 20, 2019 03:18 AM

    Originally posted by: Nitish Mishra


    Hi,

    1. GCC-7.2.0 and GCC-8.1.0 libraries are compatible. GCC-8.1 supports all the APIs which 7.2 provides. Any package which is built with GCC-7.2.0 should work with GCC-8.1, So, there should not be any question of incompatibility.

    2. From where are you getting spectrum control, what is the source for it ? Is there any requirement of GCC-8.1 for this spectrum control ?

    3. Updating GCC should NOT break any other packages.

     

    Thanks and Regards,

    Nitish


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: GCC 7.2.0-1 installed. Need GCC 8.1.0-2

    Posted Tue March 26, 2019 11:42 AM

    Originally posted by: asdfaasdfgasdfasdfasdfasd


    Hello Nitish,

     

    Just what I needed to know. Thank you.

     


    #AIX-Open-Source-Software
    #AIXOpenSource