AIX Open Source

 View Only
Expand all | Collapse all

Perl 5.28.1 missing CGI module after upgrade AIX to 7200-04-02

  • 1.  Perl 5.28.1 missing CGI module after upgrade AIX to 7200-04-02

    Posted Mon May 10, 2021 03:34 AM
    Edited by CHARIN KUMJUDPAI Mon May 10, 2021 06:21 AM
    IBM Thailand had customer create SF support about perl 5.28.1 missing CGI module.

    Customer problem.
    After customer upgrade AIX to 7200-04-02 and perl upgraded to perl 5.28.1.
    By using perl-5.28.1 while compile perl program getting mising CGI module.

    Customer questions.
    1. If customer needs to stay on Perl-5.28.1 version, How to addition install CGI module?

    1.1 Please provide step by step for addition install CGI module on perl 5.28.1.

    1.2 Is it possible to copy the all CGI and CGI.pm from old version to use for perl 5.28.1?
    For example.
    Is it possible to copy the all CGI and CGI.pm from old version to use for perl 5.28.1?
    # cd /usr/opt/perl5/lib/5.10.1
    # ls -la | grep CGI
    drwxr-xr-x 2 root system 256 Mar 11 2014 CGI
    -r--r--r-- 1 root system 251697 May 19 2013 CGI.pm
    By copy all to /usr/opt/perl5/lib/5.28.1

    2. Which latest of Perl version (Perl-5.2x) was included CGI module?


    Best regards,
    Charin Kumjudpai. (AIX local support)

    ------------------------------
    CHARIN KUMJUDPAI
    ------------------------------


  • 2.  RE: Perl 5.28.1 missing CGI module after upgrade AIX to 7200-04-02

    Posted Mon May 10, 2021 08:37 AM
    Hi, Charin

    See the Deprecations table on  AIX Perl Updates and Support for perl.rte
    ** CGI.pm was removed from the perl distribution in 5.22. See the MetaCpan page.
    If you require this, you will need to download and install the module from CPAN


    Additional tips:

    1) As the technote explains, Users are encouraged to use the latest Perl RPM version available on the AIX Toolbox for Linux® to ensure they are using the latest versions tested on AIX.  This Perl RPM package installs to a unique directory, and does not overwrite the AIX default installation. This option also gives the user control over any Perl updates that could impact their production environment.

    2)  Refer to Resolving CPAN coredumps with Perl on AIX to avoid cpan installation crashes


    ------------------------------
    Jan Harris
    ------------------------------