Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install Number::Format ?

Status
Not open for further replies.

bluegroper

Technical User
Dec 12, 2002
407
AU
Hi forum
I try to install popular CPAN module Number::Format, bet get errors.
How should I proceed ??
Many TIA's

----------- Details below this line --------------

[root@server]# perl -MCPAN -e "install Number::Format"
CPAN: File::HomeDir loaded ok (v0.80)
CPAN: Storable loaded ok (v2.13)
Going to read /root/.cpan/Metadata
Database was generated on Sat, 13 Sep 2008 12:02:51 GMT
Running install for module 'Number::Format'
Running make for W/WR/WRW/Number-Format-1.60.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.015)
Checksum for /root/.cpan/sources/authors/id/W/WR/WRW/Number-Format-1.60.tar.gz ok
Number-Format-1.60/
Number-Format-1.60/Format.pm
Number-Format-1.60/t/
Number-Format-1.60/t/format_number.t
Number-Format-1.60/t/locale.t
Number-Format-1.60/t/unformat_number.t
Number-Format-1.60/t/format_negative.t
Number-Format-1.60/t/format_price.t
Number-Format-1.60/t/format_bytes.t
Number-Format-1.60/t/format_picture.t
Number-Format-1.60/t/object.t
Number-Format-1.60/t/round.t
Number-Format-1.60/MANIFEST
Number-Format-1.60/TODO
Number-Format-1.60/CHANGES
Number-Format-1.60/META.yml
Number-Format-1.60/README
Number-Format-1.60/Makefile.PL
CPAN: File::Temp loaded ok (v0.20)
CPAN: YAML loaded ok (v0.66)

CPAN.pm: Going to build W/WR/WRW/Number-Format-1.60.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Number::Format
cp Format.pm blib/lib/Number/Format.pm
Manifying blib/man3/Number::Format.3pm
WRW/Number-Format-1.60.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/format_bytes.......ok
t/format_negative....ok
t/format_number......ok
t/format_picture.....ok
t/format_price.......ok
t/locale.............1/?
# Failed test 'marks or euros'
# at t/locale.t line 14.

# Failed test 'dollars'
# at t/locale.t line 22.
# got: 'USD 123,456.79'
# expected: 'USD 123,456.79'
# Looks like you failed 2 tests of 4.
t/locale............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/object.............ok
t/round..............ok
t/unformat_number....ok

Test Summary Report
-------------------
t/locale (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=9, Tests=118, 3 wallclock secs ( 0.26 usr 0.02 sys + 2.30 cusr 0.24 csys = 2.82 CPU)
Result: FAIL
Failed 1/9 test programs. 2/118 subtests failed.
make: *** [test_dynamic] Error 255
WRW/Number-Format-1.60.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports WRW/Number-Format-1.60.tar.gz
Running make install
make test had returned bad status, won't install without force

[root@server] #
 
I would just force it to install. The test failure is a matter of one space.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
I must be still doing something bad.
Grateful for any clues.
More TIA's

------------ Details below this line --------------
[root@server] # perl -MCPAN -e "force install Number::Format"
CPAN: File::HomeDir loaded ok (v0.80)
CPAN: Storable loaded ok (v2.13)
Going to read /root/.cpan/Metadata
Database was generated on Sat, 13 Sep 2008 12:02:51 GMT
CPAN: LWP::UserAgent loaded ok (v2.031)
Fetching with LWP:
ftp://mirror.internode.on.net/pub/cpan/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.66)
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.015)
............................................................................DONE
Fetching with LWP:
ftp://mirror.internode.on.net/pub/cpan/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Sun, 14 Sep 2008 14:03:15 GMT
............................................................................DONE
Fetching with LWP:
ftp://mirror.internode.on.net/pub/cpan/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /root/.cpan/Metadata
Running install for module 'Number::Format'
Running make for W/WR/WRW/Number-Format-1.60.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for /root/.cpan/sources/authors/id/W/WR/WRW/Number-Format-1.60.tar.gz ok
Number-Format-1.60/
Number-Format-1.60/Format.pm
Number-Format-1.60/t/
Number-Format-1.60/t/format_number.t
Number-Format-1.60/t/locale.t
Number-Format-1.60/t/unformat_number.t
Number-Format-1.60/t/format_negative.t
Number-Format-1.60/t/format_price.t
Number-Format-1.60/t/format_bytes.t
Number-Format-1.60/t/format_picture.t
Number-Format-1.60/t/object.t
Number-Format-1.60/t/round.t
Number-Format-1.60/MANIFEST
Number-Format-1.60/TODO
Number-Format-1.60/CHANGES
Number-Format-1.60/META.yml
Number-Format-1.60/README
Number-Format-1.60/Makefile.PL
CPAN: File::Temp loaded ok (v0.20)

CPAN.pm: Going to build W/WR/WRW/Number-Format-1.60.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Number::Format
cp Format.pm blib/lib/Number/Format.pm
Manifying blib/man3/Number::Format.3pm
WRW/Number-Format-1.60.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/format_bytes.......ok
t/format_negative....ok
t/format_number......ok
t/format_picture.....ok
t/format_price.......ok
t/locale.............1/?
# Failed test 'marks or euros'
# at t/locale.t line 14.

# Failed test 'dollars'
# at t/locale.t line 22.
# got: 'USD 123,456.79'
# expected: 'USD 123,456.79'
# Looks like you failed 2 tests of 4.
t/locale............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/object.............ok
t/round..............ok
t/unformat_number....ok

Test Summary Report
-------------------
t/locale (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=9, Tests=118, 4 wallclock secs ( 0.27 usr 0.03 sys + 2.31 cusr 0.22 csys = 2.83 CPU)
Result: FAIL
Failed 1/9 test programs. 2/118 subtests failed.
make: *** [test_dynamic] Error 255
WRW/Number-Format-1.60.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports WRW/Number-Format-1.60.tar.gz
Running make install
make test had returned bad status, won't install without force
[root@server ~]#

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top