Verify Perl installation
-
Verify that the correct version of Perl is installed.
At the Qshell command line, type
/QOpenSys/perl/bin/perl -version
The following information should appear:
This is perl, v5.8.x built for aix
Verify that the symbolic link for Perl was created. Type
/QOpenSys/usr/bin/perl -version
The same information should appear:
This is perl, v5.8.x built for aix
If the correct version of Perl does not display , continue with this procedure to download and install it now.
-
Download the correct version of Perl.
-
Using your browser, go to
http://www.cpan.org
- Select Perl binary distributions ("ports") --> OS/400 --> Perl 5.8.0 binary and libraries (under PASE).
-
Using your browser, go to
-
Unpack and install PASE Perl. Installation
instructions are located at Perl binary distributions ("ports") >
[OS/400] > README for Perl 5.8.0.
Note: There is no need to compile Perl because the extracted binaries work with Lawson products. Perl only needs to be compiled if you are going to modify Perl itself. The instructions for compiling Perl can be ignored .
PASE Perl is downloaded as a
.tgz
file. If the file you downloaded is not a.tgz
file, you must rename it so that it has the.tgz
extension.Files of this type have been compressed with
gzip
, and can be unzipped usinggunzip
or WinZip. If you do not wish to use WinZip, thegunzip
command is part of the GNU utilities download from IBM, or can be obtained fromhttp://www.gzip.org/
.When using WinZip to unpack the download, perform these steps:
- Map a drive from Windows Explorer to your root directory.
- Launch WinZip to unzip the Perl download.
- Click No when WinZip asks whether you want to decompress to a temporary folder.
-
Extract the one
.tar
file in the Perl download to the root directory (/
) of your IFS. -
Open a Qshell command prompt and change to the root
directory. Type
cd /
-
Use the PASE version of the tar command to extract
the Perl files from the Perl download
.tar
file. At the Qshell command prompt, type/QOpenSys/usr/bin/tar -xvf perldownload.tar
where perldownload is the name of the
.tar
file that you extracted. -
The Lawson Java Installer requires that the symlink
mentioned in the cpan.org instructions is created. At the Qshell command
prompt, type
ln -s /QOpenSys/perl/bin/perl /QOpenSys/usr/bin/perl