Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Install Math::GSL in Ubuntu

by umeboshi (Acolyte)
on Jun 23, 2009 at 12:01 UTC ( [id://773981]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Install Math::GSL in Ubuntu
in thread Install Math::GSL in Ubuntu

I forgot to add that when I do try to install Test::Class I get the following output (sorry, a bit long):
cpan2> install Test::Class
Running install for module 'Test::Class'
Running Build for A/AD/ADIE/Test-Class-0.31.tar.gz
Prepending blib/arch and blib/lib of 20 build dirs to PERL5LIB; for 'get'
Has already been unwrapped into directory /home/sagiv/.cpan/build/Test-Class-0.31-rrNJvY
Prepending blib/arch and blib/lib of 20 build dirs to PERL5LIB; for 'make'
Has already been made
Prepending blib/arch and blib/lib of 20 build dirs to PERL5LIB; for 'test'
Running Build test
t/00-load......................ok 1/1# Testing Test::Class::Load 0.03, Perl 5.010000, /usr/bin/perl
t/00-load......................ok
t/20-load-classes..............ok
t/21-load-subclassed...........ok
t/Tests........................ok
t/_new.........................ok
t/bad-autoloads................skipped
all skipped: need Contextual::Return
t/bailout......................ok
t/builder......................ok
t/compile......................ok
t/current_method...............ok
t/diag_on_failure..............ok
t/die_before_plan..............ok
t/expected_tests...............ok
t/fail1........................ok
t/fail2........................NOK 1/2
# Failed test 'fail2'
# at t/fail2.t line 37.
# STDOUT is:
# not ok 1 - The thing isa Object
# not ok 2 - cannot create Objects
#
# not:
# not ok 1 - The object isa Object
#
# not ok 2 - cannot create Objects
#
# as expected
# STDERR is:
# # Failed test 'The thing isa Object'
# # at t/fail2.t line 18.
# # (in Object::Test->_test_new)
# # The thing isn't defined
# # Failed test 'cannot create Objects'
# # at t/fail2.t line 18.
# # (in Object::Test->_test_new)
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/fail2\.t line 18.*\n?/
#
# # (in Object::Test->_test_new)
#
# (?-xism:#\s+The object isn't defined\n)
# /#\s+Failed\ test.*?\n?.*?at\ t\/fail2\.t line 18.*\n?/
#
# # (in Object::Test->_test_new)
#
# as expected
t/fail2........................FAILED test 1
Failed 1/2 tests, 50.00% okay
t/fail3........................ok
t/header.......................ok
t/late_header..................ok
t/methodinfo...................ok
t/named_test...................ok
t/num_method_tests.............ok
t/num_tests....................ok
t/override.....................ok
t/rt15870......................ok
t/rt17264......................ok
t/run_all_tests................ok
t/runtests.....................ok
t/runtests_die.................NOK 1/1
# Failed test 'early die handled'
# at t/runtests_die.t line 33.
# STDOUT is:
# not ok 1 - The thing isa Object
# not ok 2 - test_object died (could not create object)
#
# not:
# not ok 1 - The object isa Object
#
# not ok 2 - test_object died (could not create object)
#
# as expected
# STDERR is:
# # Failed test 'The thing isa Object'
# # at t/runtests_die.t line 15.
# # (in Foo->test_object)
# # The thing isn't defined
# # Failed test 'test_object died (could not create object)'
# # at t/runtests_die.t line 32.
# # (in Foo->test_object)
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/runtests_die\.t line 15.*\n?/
#
# # (in Foo->test_object)
#
# # The object isn't defined
#
# /#\s+Failed\ test.*?\n?.*?at\ t\/runtests_die\.t line 32.*\n?/
#
# # (in Foo->test_object)
#
# as expected
t/runtests_die.................FAILED test 1
Failed 1/1 tests, 0.00% okay
t/runtests_extra...............ok
t/runtests_noplan..............ok
t/runtests_of..................ok
t/runtests_result..............ok
t/runtests_return..............ok
t/runtests_trailing............ok
t/runtests_with_wrong_class....ok
t/show_plan_in_shutdown........ok
t/skip1........................FAILED test 1
Failed 1/1 tests, 0.00% okay
t/skip2........................ok
t/skip_class_reason............ok
t/spaces.......................ok
t/startup......................ok
t/startup_that_dies............ok
t/test_classes.................ok
t/test_deep....................ok
t/test_method..................ok
t/test_verbose.................ok
t/todo.........................ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/fail2.t 2 1 1
t/runtests_die.t 1 1 1
t/skip1.t 1 1 1
1 test skipped.
Failed 3/47 test scripts. 3/168 subtests failed.
Files=47, Tests=168, 5 wallclock secs ( 2.91 cusr + 0.72 csys = 3.63 CPU)
Failed 3/47 test programs. 3/168 subtests failed.
ADIE/Test-Class-0.31.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ADIE/Test-Class-0.31.tar.gz
Running Build install
make test had returned bad status, won't install without force
Failed during this command:
ADIE/Test-Class-0.31.tar.gz : make_test NO

Replies are listed 'Best First'.
Re^4: Install Math::GSL in Ubuntu
by Corion (Patriarch) on Jun 23, 2009 at 12:06 UTC

    This means that Test::Class fails its tests, and in a bad way. This seems to be because Test::More changed the texts it outputs: http://rt.cpan.org/Public/Bug/Display.html?id=47060.

    If you feel adventurous, you can try force-installing Test::Class and hope that it's only the tests that are failing and not the module.

      Thanks for this link. That doesn't look too good. Just out of curiosity: I had these packages installed before on my old computer (Mac) and did happily run my program. How come I cannot do that on my new machine (Ubuntu)?

        Quoting the module author in the response to the bug report:

        <bockquote> Bother. Looks like the latest Test::More has changed the diagnostic text for some test failures.

        So, straight from the horse's mouth, it seems to be a change elsewhere, and likely that change was not there when you installed it on your Mac, but is there now that you install on your Ubuntu.

        Of course, if you are actually using your system Perl, that is, you didn't compile your own version of Perl to use with your application, you're much, much better off using apt-get or aptitude to manage the modules that you install into the stock Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://773981]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found