Subject: | Compilation Failure |
Running install for module 'Math::Fraction'
Running make for K/KE/KEVINA/Fraction-v.53b.tar.gz
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/K/KE/KEVINA/Fraction-v.53b.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/K/KE/KEVINA/CHECKSUMS
Checksum for
/root/.cpan/sources/authors/id/K/KE/KEVINA/Fraction-v.53b.tar.gz ok
Fraction-v.53b/Changes
Fraction-v.53b/Fraction.pm
Fraction-v.53b/FractionDemo.pm
Fraction-v.53b/FractionTest.pl
Fraction-v.53b/MANIFEST
Fraction-v.53b/Makefile.PL
Fraction-v.53b/QuickInst.pl
Fraction-v.53b/README
Fraction-v.53b/ToDo
Fraction-v.53b/test.pl
CPAN: File::Temp loaded ok (v0.19)
CPAN.pm: Going to build K/KE/KEVINA/Fraction-v.53b.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Math::Fraction
cp Fraction.pm blib/lib/Math/Fraction.pm
cp FractionDemo.pm blib/lib/Math/FractionDemo.pm
Manifying blib/man3/Math::Fraction.3
Manifying blib/man3/Math::FractionDemo.3
KEVINA/Fraction-v.53b.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
FractionTest.......Scalar value @tags[$RED_STATE] better written as
$tags[$RED_STATE] at blib/lib/Math/Fraction.pm line 127.
Ambiguous call resolved as CORE::abs(), qualify as such or use & at
blib/lib/Math/Fraction.pm line 645.
Ambiguous call resolved as CORE::abs(), qualify as such or use & at
blib/lib/Math/Fraction.pm line 645.
Ambiguous call resolved as CORE::abs(), qualify as such or use & at
blib/lib/Math/Fraction.pm line 646.
Ambiguous call resolved as CORE::abs(), qualify as such or use & at
blib/lib/Math/Fraction.pm line 646.
Ambiguous call resolved as CORE::abs(), qualify as such or use & at
blib/lib/Math/Fraction.pm line 701.
Ambiguous call resolved as CORE::abs(), qualify as such or use & at
blib/lib/Math/Fraction.pm line 701.
Test: $f1 = frac("3267893629762/32678632179820")
"1633946814881/16339316089910" ne
"3267893629762/32678632179820"
Test: $f2 = frac("5326875886785/76893467996910")
"355125059119/5126231199794" ne
"5326875886785/76893467996910"
Test: $f1+$f2
"3544622433410082528180951/20939777980848187019369635" ne
"21267734600460495169085706/125638667885089122116217810"
Test: $f1*$f2
"580255459231916873949839/83759111923392748077478540" ne
"1740766377695750621849517/251277335770178244232435620"
Test: $f1 = frac("3267893629762/32678632179820", BIG)
"1633946814881/16339316089910" ne
"3267893629762/32678632179820"
Test: $f1->num
"" ne
".10000093063197482237806917498797382196606"
Test: $f1->num
"" ne
".1000009306319748"
Test: $f1->num
"" ne
".123123123456456456456456456456123456789123456789123456789123456789"
Test: "$f1 ".$f2->num
"" ne
"1 2/5 .1000009306319748223780691749879738219660647769485035912494771"
Test: "$f1 ".$f2->num
"" ne
"7/5 .10000093063197482237806917498797382196606"
Test: "$f1 ".$f2->num
"" ne
"7/5 .10000093063197482237806917"
Test: "$f1 ".$f2->num
"" ne
"1 2/5 .1000009306319748"
Test: "$f1 ".$f2->num # Notice how it goes back to the previous settings.
"" ne
"7/5 .10000093063197482237806917"
FractionTest....... Failed 13/74 subtests
Test Summary Report
-------------------
FractionTest.pl (Wstat: 0 Tests: 74 Failed: 13)
Failed test number(s): 27-28, 30, 32, 34, 38, 40, 43, 47, 49, 51
54, 57
Files=1, Tests=74, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.10 cusr
0.00 csys = 0.12 CPU)
Result: FAIL
Failed 1/1 test programs. 13/74 subtests failed.
make: *** [test_dynamic] Error 255
KEVINA/Fraction-v.53b.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports KEVINA/Fraction-v.53b.tar.gz
Running make install
make test had returned bad status, won't install without force