Subject: | Can't locate inc/Module/Install.pm in @INC |
"." was removed from @INC in newer perl versions (e.g. 5.26.0, 5.27.1), so it has to re-added in Makefile.PL:
diff --git i/Makefile.PL w/Makefile.PL
index c1c8bf5..f43fe79 100644
--- i/Makefile.PL
+++ w/Makefile.PL
@@ -1,3 +1,4 @@
+use lib ".";
use inc::Module::Install 0.91;
check_innosetup() if winlike;
(Note that installers like CPAN.pm do this automatically, so the problem is only visible if installing manually)