Problem installing Perl Modules

djblamire

Well-Known Member
May 3, 2003
255
1
168
I'm trying to install a few perl modules on my new cPanel server (Dedicated with root access), but it is failing.

The first I'm trying to install is the 'CGI' perl module, but I get the following error in WHM:
Code:
Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Tue Apr 30 16:38:41 2019)
Tuned C compiler not available because it is not enabled....Done
Installer: cpanm: Not Available: Perl Expect (Could not load expect perl module: Can't locate IO/Tty.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/local/cpanel/Cpanel/cPCPAN/Install.pm line 67.
)
Method: Using System Expect, Installer: cpanm
spawn /usr/local/cpanel/bin/cpanm --notest --notest --verbose --perl=/usr/local/cpanel/scripts/cpan_sandbox/x86_64/perl CGI
--perl is deprecated since it's known to be fragile in figuring out dependencies. Run `/usr/local/cpanel/scripts/cpan_sandbox/x86_64/perl -S cpanm` instead.
cpanm (App::cpanminus) 1.7043 on perl 5.016003 built for x86_64-linux-thread-multi
Work directory is /home/.cpanm/work/1556718252.27207
You have make /bin/make
Falling back to HTTP::Tiny 0.056
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /bin/unzip
Testing connection speed...(using fast method)...Done
Ping:1.0006103515625 (ticks) Testing connection speed to mirror.checkdomain.de using pureperl...(cached .. 40258.26 bytes/s)...Done
Ping:1.00058507919312 (ticks) Testing connection speed to ftp.gwdg.de using pureperl...(cached .. 27039.89 bytes/s)...Done
Ping:1.00052642822266 (ticks) Testing connection speed to mirrors.nic.cz using pureperl...(cached .. 16528.81 bytes/s)...Done
Ping:1.00093793869019 (ticks) Testing connection speed to ftp.ntua.gr using pureperl...(cached .. 11297.11 bytes/s)...Done
Ping:1.00084209442139 (ticks) Testing connection speed to mirrors.neusoft.edu.cn using pureperl...(cached .. 1297.12 bytes/s)...Done
Five usable mirrors located
Ping:1.01471400260925 (ticks) Testing connection speed to 66.71.244.18 using pureperl...(using cached speed)...Done
Ping:1.01691293716431 (ticks) Testing connection speed to 184.94.196.92 using pureperl...(using cached speed)...Done
Ping:1.01604199409485 (ticks) Testing connection speed to 204.10.37.146 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching The Comprehensive Perl Archive Network - www.cpan.org (connected:0).......(request attempt 1/12)...Resolving mirror.checkdomain.de...(resolve attempt 1/65)[email protected] success......Done
Mirror Check passed for mirror.checkdomain.de (/index.html)
Searching on cpanmetadb ...
Searching CGI on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/CGI) ...
Use of uninitialized value in string eq at Cpanel/cPCPAN/cpanminus.pm line 80.
Source: fastest CPAN mirror ... --> Working on CGI
Fetching http://mirror.checkdomain.de/CPAN///authors/id/L/LE/LEEJO/CGI-4.42.tar.gz ... OK
Unpacking CGI-4.42.tar.gz
CGI-4.42/
CGI-4.42/Changes
CGI-4.42/MANIFEST
CGI-4.42/LICENSE
CGI-4.42/t/
CGI-4.42/META.yml
CGI-4.42/META.json
CGI-4.42/README.md
CGI-4.42/examples/
CGI-4.42/lib/
CGI-4.42/Makefile.PL
CGI-4.42/lib/Fh.pm
CGI-4.42/lib/CGI/
CGI-4.42/lib/CGI.pod
CGI-4.42/lib/CGI.pm
CGI-4.42/lib/CGI/File/
CGI-4.42/lib/CGI/Carp.pm
CGI-4.42/lib/CGI/Util.pm
CGI-4.42/lib/CGI/Cookie.pm
CGI-4.42/lib/CGI/Pretty.pm
CGI-4.42/lib/CGI/HTML/
CGI-4.42/lib/CGI/Push.pm
CGI-4.42/lib/CGI/HTML/Functions.pm
CGI-4.42/lib/CGI/HTML/Functions.pod
CGI-4.42/lib/CGI/File/Temp.pm
CGI-4.42/examples/crash.cgi
CGI-4.42/examples/mojo_proxy.pl
CGI-4.42/examples/file_upload.cgi
CGI-4.42/examples/clickable_image.cgi
CGI-4.42/examples/cookie.cgi
CGI-4.42/examples/wikipedia_example.cgi
CGI-4.42/examples/wilogo.gif
CGI-4.42/t/rt-57524.t
CGI-4.42/t/multipart_start.t

CGI-4.42/t/upload_post_text.txt
CGI-4.42/t/pretty.t
CGI-4.42/t/multipart_globals.t
CGI-4.42/t/rt-84767.t
CGI-4.42/t/sorted.t
CGI-4.42/t/command_line.t
CGI-4.42/t/http.t
CGI-4.42/t/html.t
CGI-4.42/t/rt_31107.txt
CGI-4.42/t/start_end_end.t
CGI-4.42/t/form.t
CGI-4.42/t/redirect_query_string.t
CGI-4.42/t/hidden.t
CGI-4.42/t/unescapeHTML.t
CGI-4.42/t/charset.t
CGI-4.42/t/delete.t
CGI-4.42/t/rt-75628.t
CGI-4.42/t/APR/
CGI-4.42/t/can.t
CGI-4.42/t/headers.t
CGI-4.42/t/cookie.t
CGI-4.42/t/param_list_context.t
CGI-4.42/t/query_string.t
CGI-4.42/t/carp.t
CGI-4.42/t/checkbox_group.t
CGI-4.42/t/arbitrary_handles.t
CGI-4.42/t/Apache2/
CGI-4.42/t/postdata.t
CGI-4.42/t/url.t
CGI-4.42/t/multipart_init.t
CGI-4.42/t/headers/
CGI-4.42/t/ModPerl/
CGI-4.42/t/changes.t
CGI-4.42/t/Apache.pm
CGI-4.42/t/autoescape.t
CGI-4.42/t/request.t
CGI-4.42/t/util.t
CGI-4.42/t/no_tabindex.t
CGI-4.42/t/rt_75628.txt
CGI-4.42/t/gh-155.t
CGI-4.42/t/start_end_start.t
CGI-4.42/t/compiles_pod.t
CGI-4.42/t/end_form.t
CGI-4.42/t/html_functions.t
CGI-4.42/t/push.t
CGI-4.42/t/init.t
CGI-4.42/t/init_test.txt
CGI-4.42/t/rt-31107.t
CGI-4.42/t/popup_menu.t
CGI-4.42/t/rt-52469.t
CGI-4.42/t/function.t
CGI-4.42/t/uploadInfo.t
CGI-4.42/t/util-58.t
CGI-4.42/t/upload.t
CGI-4.42/t/Dump.t
CGI-4.42/t/param_fetch.t
CGI-4.42/t/cgi.t
CGI-4.42/t/save_read_roundtrip.t
CGI-4.42/t/utf8.t
CGI-4.42/t/user_agent.t
CGI-4.42/t/start_end_asterisk.t
CGI-4.42/t/ModPerl/Util.pm
CGI-4.42/t/headers/type.t
CGI-4.42/t/headers/charset.t
CGI-4.42/t/headers/attachment.t
CGI-4.42/t/headers/cookie.t
CGI-4.42/t/headers/target.t
CGI-4.42/t/headers/nph.t
CGI-4.42/t/headers/p3p.t
CGI-4.42/t/headers/default.t
CGI-4.42/t/Apache2/RequestRec.pm
CGI-4.42/t/Apache2/RequestIO.pm
CGI-4.42/t/Apache2/Response.pm
CGI-4.42/t/Apache2/RequestUtil.pm
CGI-4.42/t/APR/Pool.pm
Entering CGI-4.42
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... No
==> Found dependencies: ExtUtils::MakeMaker
Searching ExtUtils::MakeMaker on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/ExtUtils::MakeMaker) ...
Use of uninitialized value in string eq at Cpanel/cPCPAN/cpanminus.pm line 80.
Source: fastest CPAN mirror ... --> Working on ExtUtils::MakeMaker
Fetching http://mirror.checkdomain.de/CPAN///authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.36.tar.gz ... OK
Unpacking ExtUtils-MakeMaker-7.36.tar.gz
ExtUtils-MakeMaker-7.36/
ExtUtils-MakeMaker-7.36/my/
ExtUtils-MakeMaker-7.36/my/bundles.pm
ExtUtils-MakeMaker-7.36/bin/
ExtUtils-MakeMaker-7.36/bin/instmodsh
ExtUtils-MakeMaker-7.36/bundled/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/Prereqs.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/Spec.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/Converter.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/Merge.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/Validator.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/Feature.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta/CPAN/Meta/History.pm
ExtUtils-MakeMaker-7.36/bundled/Parse-CPAN-Meta/
ExtUtils-MakeMaker-7.36/bundled/Parse-CPAN-Meta/Parse/
ExtUtils-MakeMaker-7.36/bundled/Parse-CPAN-Meta/Parse/CPAN/
ExtUtils-MakeMaker-7.36/bundled/Parse-CPAN-Meta/Parse/CPAN/Meta.pm
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-YAML/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-YAML/CPAN/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-YAML/CPAN/Meta/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-YAML/CPAN/Meta/YAML.pm
ExtUtils-MakeMaker-7.36/bundled/File-Temp/
ExtUtils-MakeMaker-7.36/bundled/File-Temp/File/
ExtUtils-MakeMaker-7.36/bundled/File-Temp/File/Temp.pm
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Manifest/
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Manifest/ExtUtils/
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Manifest/ExtUtils/Manifest.pm
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Manifest/ExtUtils/MANIFEST.SKIP
ExtUtils-MakeMaker-7.36/bundled/JSON-PP/
ExtUtils-MakeMaker-7.36/bundled/JSON-PP/JSON/
ExtUtils-MakeMaker-7.36/bundled/JSON-PP/JSON/PP.pm
ExtUtils-MakeMaker-7.36/bundled/JSON-PP/JSON/PP/
ExtUtils-MakeMaker-7.36/bundled/JSON-PP/JSON/PP/Boolean.pm
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Install/
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Install/ExtUtils/
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Install/ExtUtils/Install.pm
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Install/ExtUtils/Packlist.pm
ExtUtils-MakeMaker-7.36/bundled/ExtUtils-Install/ExtUtils/Installed.pm
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/Scalar/
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/Scalar/Util.pm
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/Scalar/Util/
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/Scalar/Util/PP.pm
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/List/
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/List/Util.pm
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/List/Util/
ExtUtils-MakeMaker-7.36/bundled/Scalar-List-Utils/List/Util/PP.pm
ExtUtils-MakeMaker-7.36/bundled/README
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-Requirements/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-Requirements/CPAN/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-Requirements/CPAN/Meta/
ExtUtils-MakeMaker-7.36/bundled/CPAN-Meta-Requirements/CPAN/Meta/Requirements.pm
ExtUtils-MakeMaker-7.36/META.json
ExtUtils-MakeMaker-7.36/README.packaging
ExtUtils-MakeMaker-7.36/MANIFEST
ExtUtils-MakeMaker-7.36/t/
ExtUtils-MakeMaker-7.36/t/unicode.t
ExtUtils-MakeMaker-7.36/t/fix_libs.t
ExtUtils-MakeMaker-7.36/t/META_for_testing.yml
ExtUtils-MakeMaker-7.36/t/miniperl.t
ExtUtils-MakeMaker-7.36/t/testdata/
ExtUtils-MakeMaker-7.36/t/testdata/reallylongdirectoryname/
ExtUtils-MakeMaker-7.36/t/testdata/reallylongdirectoryname/arch2/
ExtUtils-MakeMaker-7.36/t/testdata/reallylongdirectoryname/arch2/Config.pm
ExtUtils-MakeMaker-7.36/t/testdata/reallylongdirectoryname/arch1/
ExtUtils-MakeMaker-7.36/t/testdata/reallylongdirectoryname/arch1/Config.pm
ExtUtils-MakeMaker-7.36/t/installed_file.t
ExtUtils-MakeMaker-7.36/t/01perl_bugs.t
ExtUtils-MakeMaker-7.36/t/parse_abstract.t
ExtUtils-MakeMaker-7.36/t/testlib.t
ExtUtils-MakeMaker-7.36/t/test_boilerplate.t
ExtUtils-MakeMaker-7.36/t/metafile_data.t
ExtUtils-MakeMaker-7.36/t/Liblist.t
ExtUtils-MakeMaker-7.36/t/00compile.t
ExtUtils-MakeMaker-7.36/t/cd.t
ExtUtils-MakeMaker-7.36/t/eu_command.t
ExtUtils-MakeMaker-7.36/t/pm.t
ExtUtils-MakeMaker-7.36/t/META_for_testing.json
ExtUtils-MakeMaker-7.36/t/basic.t
ExtUtils-MakeMaker-7.36/t/dir_target.t
ExtUtils-MakeMaker-7.36/t/MM_OS2.t
ExtUtils-MakeMaker-7.36/t/echo.t
ExtUtils-MakeMaker-7.36/t/MM_Unix.t
ExtUtils-MakeMaker-7.36/t/min_perl_version.t
ExtUtils-MakeMaker-7.36/t/metafile_file.t
ExtUtils-MakeMaker-7.36/t/parse_version.t
ExtUtils-MakeMaker-7.36/t/02-xsdynamic.t
ExtUtils-MakeMaker-7.36/t/MM_Cygwin.t
ExtUtils-MakeMaker-7.36/t/problems.t
ExtUtils-MakeMaker-7.36/t/postamble.t
ExtUtils-MakeMaker-7.36/t/FIRST_MAKEFILE.t
ExtUtils-MakeMaker-7.36/t/MM_Any.t
ExtUtils-MakeMaker-7.36/t/Mkbootstrap.t
ExtUtils-MakeMaker-7.36/t/META_for_testing_tricky_version.yml
ExtUtils-MakeMaker-7.36/t/make.t
ExtUtils-MakeMaker-7.36/t/several_authors.t
ExtUtils-MakeMaker-7.36/t/prompt.t
ExtUtils-MakeMaker-7.36/t/fixin.t
ExtUtils-MakeMaker-7.36/t/backwards.t
ExtUtils-MakeMaker-7.36/t/prereq_print.t
ExtUtils-MakeMaker-7.36/t/MM_VMS.t
ExtUtils-MakeMaker-7.36/t/revision.t
ExtUtils-MakeMaker-7.36/t/split_command.t
ExtUtils-MakeMaker-7.36/t/is_of_type.t
ExtUtils-MakeMaker-7.36/t/prereq.t
ExtUtils-MakeMaker-7.36/t/INST_PREFIX.t
ExtUtils-MakeMaker-7.36/t/cp.t
ExtUtils-MakeMaker-7.36/t/writemakefile_args.t
ExtUtils-MakeMaker-7.36/t/MM_NW5.t
ExtUtils-MakeMaker-7.36/t/pod2man.t
ExtUtils-MakeMaker-7.36/t/lib/
ExtUtils-MakeMaker-7.36/t/lib/Test/
ExtUtils-MakeMaker-7.36/t/lib/Test/Simple.pm
ExtUtils-MakeMaker-7.36/t/lib/Test/Builder/
ExtUtils-MakeMaker-7.36/t/lib/Test/Builder/Module.pm
ExtUtils-MakeMaker-7.36/t/lib/Test/Builder/IO/
ExtUtils-MakeMaker-7.36/t/lib/Test/Builder/IO/Scalar.pm
ExtUtils-MakeMaker-7.36/t/lib/Test/More.pm
ExtUtils-MakeMaker-7.36/t/lib/Test/Builder.pm
ExtUtils-MakeMaker-7.36/t/lib/TieOut.pm
ExtUtils-MakeMaker-7.36/t/lib/TieIn.pm
ExtUtils-MakeMaker-7.36/t/lib/MakeMaker/
ExtUtils-MakeMaker-7.36/t/lib/MakeMaker/Test/
ExtUtils-MakeMaker-7.36/t/lib/MakeMaker/Test/NoXS.pm
ExtUtils-MakeMaker-7.36/t/lib/MakeMaker/Test/Setup/
ExtUtils-MakeMaker-7.36/t/lib/MakeMaker/Test/Setup/XS.pm
ExtUtils-MakeMaker-7.36/t/lib/MakeMaker/Test/Setup/BFD.pm
ExtUtils-MakeMaker-7.36/t/lib/MakeMaker/Test/Utils.pm
ExtUtils-MakeMaker-7.36/t/arch_check.t
ExtUtils-MakeMaker-7.36/t/INST.t
ExtUtils-MakeMaker-7.36/t/Liblist_Kid.t
ExtUtils-MakeMaker-7.36/t/pm_to_blib.t
ExtUtils-MakeMaker-7.36/t/os_unsupported.t
ExtUtils-MakeMaker-7.36/t/maketext_filter.t
ExtUtils-MakeMaker-7.36/t/hints.t
ExtUtils-MakeMaker-7.36/t/config.t
ExtUtils-MakeMaker-7.36/t/recurs.t
ExtUtils-MakeMaker-7.36/t/prefixify.t
ExtUtils-MakeMaker-7.36/t/meta_convert.t
ExtUtils-MakeMaker-7.36/t/VERSION_FROM.t
ExtUtils-MakeMaker-7.36/t/MM_BeOS.t
ExtUtils-MakeMaker-7.36/t/MM_Win32.t
ExtUtils-MakeMaker-7.36/t/build_man.t
ExtUtils-MakeMaker-7.36/t/WriteEmptyMakefile.t
ExtUtils-MakeMaker-7.36/t/03-xsstatic.t
ExtUtils-MakeMaker-7.36/t/MakeMaker_Parameters.t
ExtUtils-MakeMaker-7.36/t/vstrings.t
ExtUtils-MakeMaker-7.36/t/PL_FILES.t
ExtUtils-MakeMaker-7.36/t/INSTALL_BASE.t
ExtUtils-MakeMaker-7.36/t/oneliner.t
ExtUtils-MakeMaker-7.36/INSTALL
ExtUtils-MakeMaker-7.36/Changes
ExtUtils-MakeMaker-7.36/MANIFEST.SKIP
ExtUtils-MakeMaker-7.36/CONTRIBUTING
ExtUtils-MakeMaker-7.36/lib/
ExtUtils-MakeMaker-7.36/lib/ExtUtils/
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Command.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Command/
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Command/MM.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Win95.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Mkbootstrap.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_DOS.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_VOS.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Liblist/
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Liblist/Kid.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_VMS.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Mksymlists.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_OS2.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MY.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_UWIN.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_NW5.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/Liblist.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Win32.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Config.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version/
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version/regex.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/version/vpp.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/FAQ.pod
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Tutorial.pod
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MakeMaker/Locale.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_BeOS.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_QNX.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Unix.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Any.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_MacOS.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/testlib.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Darwin.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_AIX.pm
ExtUtils-MakeMaker-7.36/lib/ExtUtils/MM_Cygwin.pm
ExtUtils-MakeMaker-7.36/README
ExtUtils-MakeMaker-7.36/META.yml
ExtUtils-MakeMaker-7.36/Makefile.PL
Entering ExtUtils-MakeMaker-7.36
Checking configure dependencies from META.json
Configuring ExtUtils-MakeMaker-7.36 ... Running Makefile.PL
perl-64bit-hack: enabled
Using included version of ExtUtils::Install (2.06) because it is not already installed.
Using included version of CPAN::Meta::YAML (0.011) because it is not already installed.
Using included version of CPAN::Meta (2.143240) because it is not already installed.
Using included version of CPAN::Meta::Requirements (2.131) because it is not already installed.
Using included version of Parse::CPAN::Meta (1.4414) because it is not already installed.
Using included version of JSON::PP (2.27203) because it is not already installed.
Using included version of ExtUtils::Manifest (1.70) because it is not already installed.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
OK
Can't locate ExtUtils/Manifest.pm in @INC (@INC contains: FatPacked::6468808=HASH(0x62b4c8) /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cpanel/bin/cpanm line 135.
System Expect failed with non-zero exit status: 1

CPAN fallback mode is active!
Installer: cpan: Not Available: Perl Expect (Could not load expect perl module: Can't locate IO/Tty.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/local/cpanel/Cpanel/cPCPAN/Install.pm line 67.
)
Method: Using System Expect, Installer: cpan
spawn /usr/local/cpanel/scripts/realperlinstaller CGI
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cpanel/scripts/realperlinstaller line 27.
BEGIN failed--compilation aborted at /usr/local/cpanel/scripts/realperlinstaller line 27.
System Expect failed with non-zero exit status: 2

All available perl module install methods have failed
Any ideas ?

Thanks in advance
 
Last edited by a moderator:

jrxpress

Member
Sep 26, 2014
17
1
53
New York, United States
cPanel Access Level
Root Administrator
I just had the same issue and I was able to fix it once I re-installed perl.. just run:

Bash:
yum reinstall perl
after that you will be able to install your perl modules without any trouble, using one of the example bellow:

Code:
cpan -f -i Bundle::CPAN
or

Code:
/scripts/perlinstaller Bundle::CPAN
or

Code:
/usr/local/cpanel/bin/cpanm Bundle::CPAN
or

Code:
perl -MCPAN -e shell
> install Bundle::CPAN
> exit
where "Bundle::CPAN" would be your own module .

I hope it helps anyone else with the same problem.