Subject: | Can't locate Mojo/File.pm in @INC |
On some of my smoker systems the test suite fails:
...
Bailout called. Further testing stopped:
# Failed test 'use DBIx::Mojo::Template;'
# at t/00-load.t line 10.
# Tried to use 'DBIx::Mojo::Template'.
# Error: Can't locate Mojo/File.pm in @INC (you may need to install the Mojo::File module) (@INC contains: /home/cpansand/.cpan/build/2018100312/DBIx-Mojo-Template-0.057-0/blib/lib /home/cpansand/.cpan/build/2018100312/DBIx-Mojo-Template-0.057-0/blib/arch /home/cpansand/.cpan/build/2018100312/Sim-OPT-0.95-3/blib/arch /home/cpansand/.cpan/build/2018100312/Sim-OPT-0.95-3/blib/lib /home/cpansand/.cpan/build/2018100312/Sim-OPT-0.95-3/blib/arch /home/cpansand/.cpan/build/2018100312/Sim-OPT-0.95-3/blib/lib /opt/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux /opt/perl-5.20.0/lib/site_perl/5.20.0 /opt/perl-5.20.0/lib/5.20.0/x86_64-linux /opt/perl-5.20.0/lib/5.20.0) at /home/cpansand/.cpan/build/2018100312/DBIx-Mojo-Template-0.057-0/blib/lib/DBIx/Mojo/Template.pm line 7.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018100312/DBIx-Mojo-Template-0.057-0/blib/lib/DBIx/Mojo/Template.pm line 7.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Use of uninitialized value $DBIx::Mojo::Template::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Testing DBIx::Mojo::Template , Perl 5.020000, /opt/perl-5.20.0/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
make: *** [test_dynamic] Error 1
...
Probably this happens if an old version of Mojolicious is installed.