This section describes the steps to install PTFs for the XL C/C++ compiler
on the PASE system.
Before installing the PTFs, you must have already installed the
compilers on the PASE system using the steps in
Installing on an IBM i V6.1 PASE system. To install
PTFs for the
XL C/C++ compiler
on i V6.1 PASE, follow these steps:
- Obtain the PTF package files to be installed.
- Uncompress and then untar the PTF package files. If you have downloaded
the compressed TAR images to the /QOpenSys/vacptf/ directory,
you can use the following commands from a QP2TERM command line:
cd /QOpenSys/ptf
uncompress <filename.tar.Z>
tar -xvf <filename.tar>
- Create a file containing a list of the PTF packages to be installed.
To do so, use the following commands on a QP2TERM command line:
cd /QOpenSys/ptf
ls *.bff > ptflist.txt
- Check and update, if necessary, the non-default installation (NDI)
tool itself. The updated version of the NDI tool needs to be restored
first in order to use the updated version to install the rest of the
PTF package. To do so, use the following commands:
cd /
ls /QOpenSys/ptf/vacpp.ndi.*
restore -qf vacpp.ndi.V.R.M.F.bff ./usr/vacpp/bin/vacppndi
- Run the installation script to install the PTFs. Enter the following
command from the QP2TERM command line:
/QIBM/ProdData/DeveloperTools/pase/bin/perl /usr/vacpp/bin/vacppndi \
/QOpenSys/ptf -b /QOpenSys/xlcpp -u /QOpenSys/ptf/ptflist.txt
The installation script creates a compressed TAR backup of the
compiler files that exist before the PTF update. If you use the directories
as shown in these instructions, this file is named /QOpensys/xlcpp.backup.tar.Z. If a problem
is encountered with the installation of the PTF update or with the
PTF update itself, you can restore from this backup to uninstall the
PTF update.