Subject: | '.' is no longer in @INC |
Newer perl versions don't have anymore "." in @INC. This causes failures in the build:
Output from '/opt/perl-5.26.2-RC1/bin/perl Build.PL':
do "SPEC" failed, '.' is no longer in @INC; did you mean do "./SPEC"? at builder/lib/Build/Spec.pm line 19.
Couldn't do SPEC: No such file or directory at builder/lib/Build.pm line 42.
Current CPAN.pm and other installers workaround the issue, so this problem is not visible when using these tools. But it fails if the distribution is built manually on the commandline.
A possible fix is to put something like
use lib ".";
on top of the failing scripts.