Subject: | Can't locate Module/AutoInstall.pm in @INC |
I have tried with 3 different perls and all abort the execution of
Makefile.PL with
Can't locate Module/AutoInstall.pm in @INC ...
I suppose this is a Module::Install issue but I do not understand enough
of it to say for sure. What jumps into my eyes is that the
Module::Install you bundle in the inc/ directory is pretty old, version
0.91. Since 0.91 there have been 9 releases, maybe it's time to upgrade?
In case it help somebody, here is the stack trace I get from perl -d
Makefile.PL:
Can't locate Module/AutoInstall.pm in @INC (@INC contains: inc
/home/src/perl/re
poperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/x86_64-linux-ld
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/5.13.9/x86_64-linux-ld
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/5.13.9
.) at inc/Module/Install/CheckOptional.pm line 8.
at inc/Module/Install/CheckOptional.pm line 8
Module::Install::CheckOptional::BEGIN() called at
inc/Module/Install/CheckOptional.pm line 8
eval {...} called at inc/Module/Install/CheckOptional.pm line 8
require Module/Install/CheckOptional.pm called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 307
eval {...} called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 307
Module::Install::load_extensions('Module::Install=HASH(0x13c4d58)',
'inc/Module/Install', 'Module::Install=HASH(0x13c4d58)') called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 199
Module::Install::preload('Module::Install=HASH(0x13c4d58)')
called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 143
Module::Install::import('inc::Module::Install') called at
Makefile.PL line 4
main::BEGIN() called at inc/Module/Install/CheckOptional.pm line 8
eval {...} called at inc/Module/Install/CheckOptional.pm line 8
BEGIN failed--compilation aborted at inc/Module/Install/CheckOptional.pm
line 8.
at inc/Module/Install/CheckOptional.pm line 8
require Module/Install/CheckOptional.pm called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 307
eval {...} called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 307
Module::Install::load_extensions('Module::Install=HASH(0x13c4d58)',
'inc/Module/Install', 'Module::Install=HASH(0x13c4d58)') called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 199
Module::Install::preload('Module::Install=HASH(0x13c4d58)')
called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 143
Module::Install::import('inc::Module::Install') called at
Makefile.PL line 4
main::BEGIN() called at inc/Module/Install/CheckOptional.pm line 8
eval {...} called at inc/Module/Install/CheckOptional.pm line 8
Compilation failed in require at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 307.
at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 307
eval {...} called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 307
Module::Install::load_extensions('Module::Install=HASH(0x13c4d58)',
'inc/Module/Install', 'Module::Install=HASH(0x13c4d58)') called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 199
Module::Install::preload('Module::Install=HASH(0x13c4d58)')
called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 143
Module::Install::import('inc::Module::Install') called at
Makefile.PL line 4
main::BEGIN() called at Makefile.PL line 4
eval {...} called at Makefile.PL line 4
at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 309
Module::Install::load_extensions('Module::Install=HASH(0x13c4d58)',
'inc/Module/Install', 'Module::Install=HASH(0x13c4d58)') called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 199
Module::Install::preload('Module::Install=HASH(0x13c4d58)')
called at
/home/src/perl/repoperls/installed-perls/perl/v5.13.9-231-g33d9abf/lib/site_perl/5.13.9/inc/Module/Install.pm
line 143
Module::Install::import('inc::Module::Install') called at
Makefile.PL line 4
main::BEGIN() called at Makefile.PL line 4
eval {...} called at Makefile.PL line 4
HTH, Regards,