Subject: | _get_prereqs: Error loading Makefile.PL: Can't call method "load_all_extensions" on an undefined value |
Using a Makefile.PL for a Catalyst application (which uses
Module::Install::Catalyst), and I use the following:
use Test::More;
eval "use Test::Prereq";
plan skip_all => "Test::Prereq required to test dependencies" if $@;
prereq_ok();
which gives me the error:
1..1
_get_prereqs: Error loading Makefile.PL: Can't call method
"load_all_extensions" on an undefined value at
/usr/local/share/perl/5.10.1/Module/Install.pm line 206.
BEGIN failed--compilation aborted at ./Makefile.PL line 4.
not ok 1 - Makefile.PL did not return a true value.
#
# Failed test ' Makefile.PL did not return a true value.
# '
# at /usr/local/share/perl/5.10.1/Test/Prereq.pm line 220.
#
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests