Installing Perl in the Product Master home directory

You can install Perl in the home directory of the IBM® Product Master user.

Before you begin

  • You have installed a C compiler.
  • Make sure that the PATH statement for the Product Master user includes the directory where the C compiler is installed.

Procedure

  1. Download the Perl source code from the following website: http://www.perl.com
  2. Decompress the Perl source code into a writable directory.
  3. Change directories to the directory where you decompressed the Perl source code.
  4. Run the following command to configure the Perl build:
    ./Configure –des –Dprefix=<mdmhome>/perl –Dcc=gcc
    mdmhome is the directory where Product Master is installed.
  5. Run the make command.
  6. Run the make test command.
    Do not proceed until this command completes successfully.
  7. Run the make install command.
    This command copies the Perl interpreter and all standard modules into the directory that you specified earlier as the custom Perl installation directory for Product Master.

What to do next

Make sure to prefix this Perl installation directory to the PATH statement for this user.