Verifying that the required GNU, Perl, Java, and browser packages are installed
Before you can install XL C/C++ V8.0, you should verify
that the required versions of GNU, Perl, and Java(TM) packages were installed with the operating
system. For lists of the required packages for each supported operating system,
see the tables in Required GNU, Perl, and Java packages
for supported operating systems.
To enable you to configure the compiler following the installation process,
or to use the documentation supplied with the compiler, you might also want
to confirm that you have the packages that support those tasks. See Packages that support specific tasks.
Required GNU, Perl, and Java packages
for supported operating systems
The GNU, Java, and operating system packages that
must be installed before you install the compiler depend on which Linux(R) operating
system you are using.
Table 6. Required GNU, Perl, and Java packages for the RHEL4 operating system
Package name |
Version requirements |
gcc |
3.4.3 |
gcc-c++ |
3.4.3 |
glibc |
2.3.4 |
glibc-devel |
2.3.4 |
libgcc |
3.4.3 |
libstdc++ |
3.4.3 |
libstdc++-devel |
3.4.3 |
libgcj |
3.4.3 |
Perl |
5.0 or greater
Note:
Perl V5.0 is shipped and automatically installed with the SLES9 and RHEL4 operating
systems. |
Table 7. Required GNU, Perl, and Java packages for the SLES9 operating system
Package name |
Version requirements |
gcc |
3.3.3 |
gcc-c++ |
3.3.3 |
gcc-64bit |
9 |
glibc |
2.3.3 |
glibc-64bit |
9 |
glibc-devel-64bit |
9 |
libgcc |
3.3.3 |
libgcc-64bit |
9 |
libstdc++ |
3.3.3 |
libstdc++-64bit |
9 |
libstdc++-devel-64bit |
9 |
Perl |
5.0 or greater
Note:
Perl V5.0 is shipped and automatically installed with the SLES9 and RHEL4 operating
systems. |
java2 |
1.3.1 |
java2-jre |
1.3.1 |
Packages that support specific tasks
If you are installing the documentation that
is packaged with XL C/C++ V8.0, you will need the graphical desktop environments
(such as K Desktop Environment or Gnome) that support web browsers and PDF
viewers.
Command to verify installation of packages
You can use the following command to verify
that the correct versions of the required packages are installed:
rpm -qa | grep package_name
Example: Determining the installed version
of gcc-c++
To see whether gcc-c++ is installed, query for the gcc-c++ package as follows:
rpm -qa | grep gcc-c++
If gcc-c++ version 3.3.3 is installed, you will get a result
similar to the following output:
gcc-c++-3.3.3-43.24
Note:
On
RHEL4, both 32-bit
and 64-bit
glibc-devel and
libstdc++-devel packages
are required. To ensure that these packages are available before you install
the compiler, follow the instruction in
Could not determine location of 32-bit or 64-bit GCC (RHEL4 only).
Do not use the example in this section to verify that these packages are installed
because the names of the packages on
RHEL4 are structured so that they
have the same name regardless whether they are 32-bit or 64-bit packages.
As a result, the output does not indicate whether 32-bit, 64-bit or both packages
are installed.