kernelpanix has asked for the wisdom of the Perl Monks concerning the following question:

Im trying to install TAP::Formatter::JUnit in one of our machines via : cpan TAP::Formatter::JUnit but it failed (I remember doing the same thing on another machine where it worked). Here's what I got : Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/formatter.t 21 5376 22 21 95.45% 1 3-22 t/passing-todos.t 2 512 6 12 200.00% 1-6 t/tap2junit-filter.t 0 13 2 2 100.00% 2 t/tap2junit-name.t 2 512 2 4 200.00% 1-2 t/tap2junit.t 2 512 22 44 200.00% 1-22 t/timer.t 2 512 21 42 200.00% 1-21 Failed 6/8 test scripts, 25.00% okay. 73/81 subtests failed, 9.88% okay. make: *** test_dynamic Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force What am I missing? Should I force?
  • Comment on TAP::Formatter::JUnit installation failing

Replies are listed 'Best First'.
Re: TAP::Formatter::JUnit installation failing
by Khen1950fx (Canon) on Mar 30, 2012 at 10:40 UTC
    You're missing MooseX::NonMoose. Install Moose first, then MooseX::NonMoose. Here's a script that'll do it for you:
    #!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->install( "namespace::clean", "namespace::autoclean", "Class::MOP", "Eval::Closure", "Declare::Constraints::Simple", "Package::DeprecationManager", "Sub::Name", "Test::Fatal", "Dist::CheckConflicts", "Data::OptList", "Devel::GlobalDestruction", "List::MoreUtils", "MRO::Compat", "Params::Util", "Scalar::Util", "Sub::Exporter", "Task::Weaken", "Moose", "MooseX::Role::WithOverloading", "Package::Stash::XS", "Package::Stash", "MooseX::NonMoose");
Re: TAP::Formatter::JUnit installation failing
by kernelpanix (Acolyte) on Mar 30, 2012 at 04:12 UTC
    Failed Test Stat Wstat Total Fail Failed List of Failed
    -------------------------------------------------------------------------------
    t/formatter.t 21 5376 22 21 95.45% 1 3-22
    t/passing-todos.t 2 512 6 12 200.00% 1-6
    t/tap2junit-filter.t 0 13 2 2 100.00% 2
    t/tap2junit-name.t 2 512 2 4 200.00% 1-2
    t/tap2junit.t 2 512 22 44 200.00% 1-22
    t/timer.t 2 512 21 42 200.00% 1-21
    Failed 6/8 test scripts, 25.00% okay. 73/81 subtests failed, 9.88% okay.
    make: *** test_dynamic Error 2
    /usr/bin/make test -- NOT OK
    Running make install
    make test had returned bad status, won't install without force