Installing XL C/C++ V8.0 to co-reside with earlier versions in the same location

The following procedure describes how to install XL C/C++ V8.0 and update the runtime packages used by an existing version of XL C/C++ in the same location. This procedure assumes the following:
  • You are installing XL C/C++ V8.0 to the same location where XL C/C++ V 7.0 is already installed (by default, /opt/ibmcmp/).
  • Your current working directory contains all XL C/C++ V8.0 packages, and no other RPM packages.
  • The existing runtime component versions listed in Table 1 are installed in the same installation location (by default, /opt/ibmcmp/).
Table 1. XL C/C++ SMP and runtime packages (for RHEL4U2 or SLES9 SP2 installations)
Existing XL C/C++ V7.0 runtime packages New XL C/C++ V8.0 runtime packages
xlsmp.msg.rte-1.5.0-0 xlsmp.msg.rte-1.6.0-0
xlsmp.rte-1.5.0-0 xlsmp.rte-1.6.0-0
xlsmp.lib-1.5.0-0 xlsmp.lib-1.6.0-0
vacpp.rte-7.0.0-0 vacpp.rte-8.0.0-0
To install XL C/C++ V8.0 and update the XL C/C++ V7.0 XL SMP and runtime packages:
  1. To avoid future dependency errors, remove the existing runtime packages by issuing the following commands:
    rpm -e vacpp.rte-7.0.0-0  --nodeps
    rpm -e xlsmp.lib-1.5.0-0  --nodeps
    rpm -e xlsmp.rte-1.5.0-0  --nodeps
    rpm -e xlsmp.msg.rte-1.5.0-0  --nodeps
    Note: This example shows package names with no applied updates. The -0 fix level will be different if you have applied any updates.
  2. To replace the deleted runtime packages and to install XL C/C++ V8.0, issue the following command:
    rpm -ivh *.rpm
  3. As a precaution, make a backup copy of any existing configuration file.
  4. Modify any existing XL C/C++ V7.0 configuration file to use the new configuration path:
      # sed -e "s/xlsmp\/1\.5/xlsmp\/1\.6/g" < /etc/installation_path/vac/7.0/vac.cfg >
        /etc/installation_path/vac/7.0/vac.cfg.new
      # mv /etc/installation_path/vac/7.0/vac.cfg.new
        /etc/installation_path/vac/7.0/vac.cfg
    where installation_path is the location in which all XL C/C++ packages are installed (by default, /opt/ibmcmp/).
    Note: The XL C/C++ V7.0 path does not change.
  5. Generate the default XL C/C++ V8.0 configuration file:
    # /installation_path/vac/8.0/bin/vac_configure -gcc /usr -gcc64 /usr
      -ibmcmp /installation_path/ /opt/ibmcmp/vac/8.0/etc/vac.base.cfg
      -o  /etc/installation_path/vac/8.0/vac.cfg
    where installation_path is the location in which all XL C/C++ packages are installed (by default, /opt/ibmcmp/).