Subject: | Makefile.PL fails on Perl without "." in @INC |
In newer perls (e.g. perl 5.27.2) "." was removed from @INC, which is causing a failure when configuring the distribution:
...
Configuring E/ET/ETJ/Inline-Java-0.58.tar.gz with Makefile.PL
CPAN: CPAN::Reporter loaded ok (v1.2018)
Can't locate Java/Portable.pm in @INC (you may need to install the Java::Portable module) (@INC contains: /var/tmp/cpansmoker-1023/2017072606/CPAN-Reporter-lib-DLM_ /opt/perl-5.27.2/lib/site_perl/5.27.2/x86_64-linux /opt/perl-5.27.2/lib/site_perl/5.27.2 /opt/perl-5.27.2/lib/5.27.2/x86_64-linux /opt/perl-5.27.2/lib/5.27.2) at Makefile.PL line 8.
(/opt/perl-5.27.2/bin/perl5.27.2 Makefile.PL J2SDK=/usr/lib/jvm/java-8-openjdk-amd64 exited with 512)
...