[Melbourne-pm] using SyslogScan::SyslogEntry

leif.eriksen at hpa.com.au leif.eriksen at hpa.com.au
Mon Feb 7 19:38:52 PST 2005


Geoff,
    Firstly, welcome to the Melbourne Perl Mongers!

    Secondly, what platform are you running on and what version of perl  
are you using ?

    Thirdly, you may have to run the tests by hand so we can see some 
more output. Try to find where the cpan tool has put the downloaded 
distribution (for my Linux box it is typically in 
~/.cpan/build/<module>) and run the make like this

prompt> make test TEST_VERBOSE=1

There may well be more information about where in the various test files 
the failures are occuring - and at a cursory glance, it looks like the 
tests are die()'ing somewhere.

HTH

Leif

geoff.crompton at strategicdata.com.au wrote:

> Hi,
>
> I'm trying to make use of SyslogScan::SyslogEntry. I'm fairly fresh 
> when it comes to perl, especially using cpan. Can someone help me get 
> SyslogScan::SyslogEntry installed, or recommend a better module?
> When I do '%cpan SyslogScan::SyslogEntry' I see the following:
>
>   /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/ByGroup.............dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 4
>         Failed 1/4 tests, 75.00% okay
> t/DeliveryIterator....dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 6
>         Failed 1/6 tests, 83.33% okay
> t/read_mail_log.......ok
> t/SendmailUtil........dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 2
>         Failed 1/2 tests, 50.00% okay
> t/Summary.............dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 4
>         Failed 1/4 tests, 75.00% okay
> t/SyslogEntry.........dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 4
>         Failed 1/4 tests, 75.00% okay
> t/Usage...............dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 4
>         Failed 1/4 tests, 75.00% okay
> Failed Test          Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------------------- 
>
> t/ByGroup.t             1   256     4    1  25.00%  4
> t/DeliveryIterator.t    1   256     6    1  16.67%  6
> t/SendmailUtil.t        1   256     2    1  50.00%  2
> t/Summary.t             1   256     4    1  25.00%  4
> t/SyslogEntry.t         1   256     4    1  25.00%  4
> t/Usage.t               1   256     4    1  25.00%  4
> Failed 6/7 test scripts, 14.29% okay. 6/28 subtests failed, 78.57% okay.
> make: *** [test_dynamic] Error 1
>   /usr/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force
>

-- 
Leif Eriksen
Snr Developer
http://www.hpa.com.au/
phone: +61 3 9217 5545
email: leif.eriksen at hpa.com.au


More information about the Melbourne-pm mailing list