IBM Support

Installing C/C++ compiler and runtime PTFs on AIX

Technote (troubleshooting)


Problem(Abstract)

How to install an XL C/C++, C for AIX, or VisualAge C++ compiler or runtime PTF on AIX.

Resolving the problem

The recommended method of installing PTFs is using the SMIT utility. You must be logged in as root or have the superuser authority. Follow the instructions below to install a PTF:

  1. Download the desired PTF package - for example vacpp.70.aix50.may2005.ptf.tar.Z. See the Related URL section below for a link to the latest C and C++ compiler updates.
  2. Uncompress and untar the downloaded package into an empty directory:
    1. To uncompress the file use the command uncompress <filename>.tar.Z
    2. To untar the resulting file use the command tar -xvf <filename>.tar
  3. Generate a .toc file in the directory - use the command inutoc <PTF directory>
  4. Use the command smitty install_all to go the appropriate installation screen in SMIT.
  5. Install the PTF filesets:
    1. For INPUT device / directory for software specify the path of the directory where PTF filesets are located.
    2. On the next screen modify the installation options to suit your needs. Usually, it suffices to accept the default options.
      INPUT device / directory for software               <PTF dir>
      SOFTWARE to install                                [ all ]
      PREVIEW only? (install operation will NOT occur)    no
      COMMIT software updates?                            yes
      SAVE replaced files?                                no
      AUTOMATICALLY install requisite software?           yes
      EXTEND file systems if space needed?                yes
      OVERWRITE same or newer versions?                   no
      VERIFY install and check file sizes?                no
      DETAILED output?                                    no
      Process multiple volumes?                           yes
      ACCEPT new license agreements?                      no
      Preview new LICENSE agreements?                     no


    The installation log will be stored to file $HOME/smit.log.
    Note: Reboot is not needed.

    Related information

    Supported C and C++ compilers: latest updates

    Cross Reference information
    Segment Product Component Platform Version Edition
    Software Development XL C Enterprise Edition for AIX Install/Setup/Configuration/Documentation AIX All Versions
    Software Development VisualAge C++ Install/Setup/Configuration/Documentation AIX All versions

    Document information

    More support for: XL C/C++
    Install/Setup/Configuration

    Software version: All

    Operating system(s): AIX

    Reference #: 1215669

    Modified date: 30 August 2005


    Translate this page: