At Sat, 13 Jul 2002 05:17:50 +1000, wm  wrote:
> I require to install Number::Format as a pre-requisite for GNULedger
> - install fails as shown below - how to proceed?

> # make && make test && make install
> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
> -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use 
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/format_bytes.......ok
> t/format_negative....ok
> t/format_number......ok
> t/format_picture.....ok
> t/format_price.......FAILED tests 2-6
>         Failed 5/6 tests, 16.67% okay
> t/locale.............ok
> t/object.............ok
> t/round..............ok
> t/unformat_number....ok
> Failed Test      Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/format_price.t                6    5  83.33%  2-6
> Failed 1/9 test scripts, 88.89% okay. 5/64 subtests failed, 92.19% okay.
> make: *** [test_dynamic] Error 11

find out why it failed. try "make test TEST_VERBOSE=1", which should
tell you the line number of the failing tests in t/format_price.t

read the relevant tests and see what/why its failing.

then either:
 the test or library is buggy and you can fix it:
   fix it. send patch upstream. enjoy.
 the broken feature is something you don't need:
   send bug report upstream, unless its already documented somewhere
   as being "known". enjoy.
 the library is buggy and you can't fix it:
   send bug report upstream, giving the verbose output of make test,
   and the version of perl, libc, etc you have installed. await
   response from author. enjoy.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to