System prerequisites

All system prerequisites must be ready on your system before XL C and its documentation can be successfully installed and run.

Verifying the amount of hard disk space available

You can use the following command to determine the amount of space available in the default installation location (/usr/vac/):
df -m /usr
If you plan to install the compiler to a non-default location, you can use the following command:
df -m installation_path
In this command, installation_path represents the non-default location.

Required filesets for installing XL C

The following filesets must be installed on your system in order to install IBM XL C for AIX, V12.1:

Fileset name Fileset description
bos.adt.include Base application development include files
bos.adt.lib Base application development libraries
bos.adt.libm Base application development math libraries
bos.rte Base operating system run time
bos.rte.libc Base application runtime library

At least one of the following locale-specific filesets must be installed on your system:

Fileset name Fileset description
bos.loc.LANG Base locale support
bos.loc.pc.LANG Base system locale PC code set
bos.loc.utf.LANG Base system locale UTF code set
bos.loc.iso.LANG Base system locale ISO code set

You can view information about the installed filesets by using the lslpp command. For example, to determine if the required filesets have been installed, use the following command:

lslpp -L bos.adt.include bos.adt.lib bos.adt.libm bos.loc.* bos.rte bos.rte.libc
Note: If one of the required filesets is missing, an error message might be generated, for example,
MISSING REQUISITES: The following filesets are required by one or more of the selected 
filesets listed above. They are not currently installed and could not be found on the 
installation media.

bos.adt.libm 5.3.7.0 # Base Level Fileset

This message indicates that the bos.adt.libm fileset is required but not installed.

To install a missing fileset, use the following command:

# installp -acXgd installation_path fileset

In this command, installation_path represents the location of the fileset to be installed.

For further information, see the installation video on IBM Education Assistant at http://publib.boulder.ibm.com/infocenter/ieduasst/rtnv1r0/topic/com.ibm.iea.compileraix/compileraix/12.1/Installation/Prereq_installation/libm_installation_viewlet_swf.html?dmuid=20111028142719997096.