Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-09-19T12:26:32Z by Bill_Buros
Checkart
Checkart
2 Posts
ACCEPTED ANSWER

Pinned topic installing XLc on RHEL6

‏2013-09-18T21:27:55Z |

I'm trying to install DB2 on RHEL V6 and having difficulty with some of the prerequisites.  Specifically, I need to install XLc 12.1 which requires gcc 4.1.2+, gcc-c++ 4.1.2, and glibc 2.4 for PPC64.  

I can't find rpms for those applications.  Can you point to where they are hiding or to someone who may know?

I am enclosing the XLc install log in case someone needs it:

Thanks for any assistance you can give...

Attachments

  • Bill_Buros
    Bill_Buros
    151 Posts
    ACCEPTED ANSWER

    Re: installing XLc on RHEL6

    ‏2013-09-19T12:26:32Z  in response to Checkart

    You just need to install the distro GCC packages.     The error messages list the minimum required

    error: Failed dependencies:     
      gcc >= 4.1.2 is needed by vac.lib-12.1.0.0-120323.ppc64 
      gcc-c++ >= 4.1.2 is needed by vac.lib-12.1.0.0-120323.ppc64  
      glibc-devel >= 2.4 is needed by vac.lib-12.1.0.0-120323.ppc64    
      gcc >= 4.1.2 is needed by vacpp.rte-12.1.0.0-120323.ppc64    
      gcc-c++ >= 4.1.2 is needed by vacpp.rte-12.1.0.0-120323.ppc64     
      gcc >= 4.1.2 is needed by vac.cmp-12.1.0.0-120323.ppc64    
      gcc-c++ >= 4.1.2 is needed by vac.cmp-12.1.0.0-120323.ppc64    
      glibc-devel >= 2.4 is needed by vac.cmp-12.1.0.0-120323.ppc64

    We generally mount (or point to) the RHEL 6 iso image to enable the yum repo (which we recommend doing anyway).     That way you don't have to manually chase all of the dependencies.

    There's an earlier article here.

     

    The gcc packages for RHEL 6.4 are as follows.    You are looking for the gcc 4.4 images.

    # cat /etc/redhat-release 
    Red Hat Enterprise Linux Server release 6.4 (Santiago)

    # rpm -qa | grep gcc
    gcc-java-4.4.7-3.el6.ppc64
    libgcc-4.4.7-3.el6.ppc64
    gcc-c++-4.4.7-3.el6.ppc64
    libgcc-4.4.7-3.el6.ppc
    gcc-4.4.7-3.el6.ppc64
    gcc-gfortran-4.4.7-3.el6.ppc64

    The RPMs should be on the base DVD image.

    Since you don't yet have the basic GCC packages on the system, we would also highly recommend the basic value-add tools for Power Linux - described here.

     

    Updated on 2013-09-19T12:34:34Z at 2013-09-19T12:34:34Z by Bill_Buros