Subject: | Makefile.PL fails: Can't call method "load_all_extensions" on an undefined value |
While attempting to provide a patch for https://rt.cpan.org/Ticket/Display.html?id=124691 (which refers to Perl 5 core issue https://github.com/Perl/perl5/issues/16429), I forked this module from its github repository.
#####
commit a22cf412d383dbab44617693b2707d76846f9d99 (HEAD -> master, origin/master, origin/HEAD)
Author: Maros Kollar <maros@k-1.com>
AuthorDate: Sun Sep 24 13:14:16 2017 +0200
#####
I then installed all its prerequisites and attempted to build. Makefile.PL failed like this:
#####
$ perl Makefile.PL
Can't call method "load_all_extensions" on an undefined value at inc/Module/Install.pm line 206.
BEGIN failed--compilation aborted at Makefile.PL line 5.
#####
Thru the debugger:
#####
$ perl -d Makefile.PL
Loading DB routines from perl5db.pl version 1.55
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
Can't call method "load_all_extensions" on an undefined value at inc/Module/Install.pm line 206.
at inc/Module/Install.pm line 206.
Module::Install::preload(Module::Install=HASH(0x558708df64c8)) called at inc/Module/Install.pm line 143
Module::Install::import("inc::Module::Install") called at Makefile.PL line 5
main::BEGIN() called at Makefile.PL line 5
eval {...} called at Makefile.PL line 5
BEGIN failed--compilation aborted at Makefile.PL line 5.
at Makefile.PL line 5.
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
#####
Can you investigate?
Thank you very much.
Jim Keenan