Subject: | Can't locate loadable object for module Net::OnlineCode |
On some of my smoker systems the test suite fails:
...
# Failed test 'use Net::OnlineCode;'
# at t/02_OnlineCode.t line 5.
# Tried to use 'Net::OnlineCode'.
# Error: Can't locate loadable object for module Net::OnlineCode in @INC (@INC contains: /usr/home/cpansand/.cpan/build/2019022320/Net-OnlineCode-0.04-1/blib/lib /usr/home/cpansand/.cpan/build/2019022320/Net-OnlineCode-0.04-1/blib/arch /home/cpansand/.cpan/build/2019022320/Module-Build-0.4224-3/blib/arch /home/cpansand/.cpan/build/2019022320/Module-Build-0.4224-3/blib/lib /home/cpansand/.cpan/build/2019022320/Module-Build-0.4224-3/blib/arch /home/cpansand/.cpan/build/2019022320/Module-Build-0.4224-3/blib/lib /usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28 .) at t/02_OnlineCode.t line 5.
# Compilation failed in require at t/02_OnlineCode.t line 5.
# BEGIN failed--compilation aborted at t/02_OnlineCode.t line 5.
# Looks like you failed 1 test of 11.
t/02_OnlineCode.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
... (etc) ...
This seems to happen if Makefile.PL instead of Build.PL is used here. If so, then probably the easiest solution is to simple remove Makefile.PL from the distribution.