Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl Module Issue

Discussion in 'EasyApache' started by Bashed, Jan 24, 2017.

  1. Bashed

    Bashed Well-Known Member

    Joined:
    Dec 18, 2013
    Messages:
    100
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Trying to install the below per client request

    perl LWP OAuth2 library

    Nothing is working. Cant' find it in WHM nor via CLI

    root@server [~]# perl -MCPAN -e shell
    Can't locate File/Path.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /root) at /usr/share/perl5/CPAN/HandleConfig.pm line 4.
    BEGIN failed--compilation aborted at /usr/share/perl5/CPAN/HandleConfig.pm line 4.
    Compilation failed in require at /usr/share/perl5/CPAN.pm line 20.
    BEGIN failed--compilation aborted at /usr/share/perl5/CPAN.pm line 20.
    Compilation failed in require.
    BEGIN failed--compilation aborted.

    root@server [~]# perl install LWP::Authen::OAuth2::Overview
    Can't open perl script "install": No such file or directory

    root@server [~]# pecl install LWP::Authen::OAuth2::Overview
    install failed
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,755
    Likes Received:
    312
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Attaching a screenshot from in WebHost Manager, hope it helps.
     

    Attached Files:

Loading...

Share This Page