Subject: | . removed from @INC |
In perl 5.26 the "." is not anymore part of `@INC`. This is causing build failures in run from commandline:
Output from '/opt/perl-5.26.0-RC1/bin/perl Makefile.PL INSTALLDIRS=site':
Can't locate lib/StartCom/API.pm in @INC (you may need to install the lib::StartCom::API module) (@INC contains: /var/tmp/cpansmoker-1002/2017051303/CPAN-Reporter-lib-m1VK /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0 /opt/perl-5.26.0-RC1/lib/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/5.26.0) at Makefile.PL line 12.
Probably the easiest fix is to add "." again by writing something like 'use lib ".";'.