"install common set of perl modules" problem

thepossum

Member
Jun 19, 2014
12
1
53
cPanel Access Level
Root Administrator
When the cpanel server (latest release 68 on CloudLinux 7.4) was installed the admin skipped the "install common set of perl modules" step.

A year-old thread here:

SOLVED - Install common set of perl modules

suggests using "/scripts/perlinstaller Task::Cpanel::Core"

which fails with this error:

Searching Task::Cpanel::Core on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/Task::Cpanel::Core) ...
Source: fastest CPAN mirror ... ! couldn't find module or a distribution Task::Cpanel::Core
System Expect failed with non-zero exit status: 1​


A quick test that "/scripts/perlinstaller IO::Compress::Base" did work fine. I expect I could also (tediously) install everything as-needed via the "Install a Perl Module" WHM interface.

Is there a different way of manually installing these now? Or at least a list of which modules get installed so that I can script it from the command-line via perlinstaller?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator

thepossum

Member
Jun 19, 2014
12
1
53
cPanel Access Level
Root Administrator
Hi,

The Task::Cpanel::Core meta module was pulled from distribution several years ago. The list of modules it installed is available here:

http://backpan.cpantesters.org/authors/id/C/CP/CPANEL/Task-Cpanel-Core-11.36.004.meta

Apparently, it still shows up in the getting started wizard within WHM. We'll get that removed. Thanks for bringing it to our attention.

I finally got around to installing all of these indivitually, once it turned out that at least one local client was actually using perl. Everything on the list installed except for four things:

Net::AIM (obviously defunct)
strict ("skipping S/SH/SHAY/perl-5.26.1.tar.bz2")
warnings ("skipping S/SH/SHAY/perl-5.26.1.tar.bz2")
Errno ("Couldn't find module or a distribution Errno")

Presumably there should be no issue with these?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Net::AIM (obviously defunct)
strict ("skipping S/SH/SHAY/perl-5.26.1.tar.bz2")
warnings ("skipping S/SH/SHAY/perl-5.26.1.tar.bz2")
Errno ("Couldn't find module or a distribution Errno")

Presumably there should be no issue with these?
Hello,

That's correct. Net::AIM is no longer required now that we've removed AIM notifications from the product. Additionally, the entries for strict, warnings, and Errno in that meta file are not intended to be installed as third-party Perl modules. You can read more about them at:

warnings - perldoc.perl.org
strict - perldoc.perl.org
Errno - perldoc.perl.org

Thank you.