AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Missing CGI.pm file after installed perl 5.28.x

    Posted Tue June 30, 2020 06:40 PM
    Edited by Naveen Vaddepalli Thu July 02, 2020 08:04 AM
    Hello Everyone,

    One of our perl application is not stopped working from last week. Initially we thought the libraries may corrupted, we re-installed perl 5.28.x but throwing below exception.
    Can anyone please help me.

    Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /opt/freeware/lib/perl5/site_perl/5.28.1/ppc-aix-thread-multi /opt/freeware/lib/perl5/site_perl/5.28.1 /opt/freeware/lib/perl5/5.28.1/ppc-aix-thread-multi /opt/freeware/lib/perl5/5.28.1) at /usr/IBM/HTTPServer/cgi-bin/PasswordCreate.pl line 15.
    BEGIN failed--compilation aborted at /usr/IBM/HTTPServer/cgi-bin/PasswordCreate.pl line 15.
    [Tue Jun 30 18:17:42.790941 2020] [cgid:error] [pid 7995400:tid 2314] [client 9.211.156.98:47192] End of script output before headers: PasswordCreate.pl, referer

    We didn't find CGI.pm file any where in perl. I'm not sure this one is bundle with perl or I need to install separately.

    Thanks in advance for helping me to fix this issue.


    ------------------------------
    Naveen Vaddepalli
    Infrastructure Specialist
    IBM
    SOUTHBURY CT
    2034863284
    ------------------------------


  • 2.  RE: Missing CGI.pm file after installed perl 5.28.x

    Posted Wed July 01, 2020 03:01 AM
    perl CGI module is not part of perl bundle. One has to install it separately.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Missing CGI.pm file after installed perl 5.28.x

    Posted Thu July 02, 2020 08:04 AM
    Thanks for your quick reply Ayappan. By chance do you know the resource to download the CGI module?

    ------------------------------
    Naveen Vaddepalli
    Infrastructure Specialist
    IBM
    SOUTHBURY CT
    2034863284
    ------------------------------



  • 4.  RE: Missing CGI.pm file after installed perl 5.28.x

    Posted Thu July 02, 2020 08:46 AM
    Probably you need to use CPAN to install it.

    ------------------------------
    Ayappan P
    ------------------------------