I'm trying to install Date::Simple using the CPAN module and I get errors
out of "make test" which fails the installation. 
Here's what I've done and a part of the output:
 
# perl -MCPAN -eshell
cpan> install Date::Simple
 
-----------------------
<snip>
 
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use
Test::Harness qw(&run
tests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/date....String found where operator expected at blib/lib/Date/Simple.pm
line 175, near "warnings::warnif "Setting class specific date forma
t '$o' to""
        (Do you need to predeclare warnings::warnif?)
syntax error at blib/lib/Date/Simple.pm line 175, near "warnings::warnif
"Setting class specific date format '$o' to""
BEGIN not safe after errors--compilation aborted at blib/lib/Date/Simple.pm
line 186.
Compilation failed in require at t/date.t line 5.
BEGIN failed--compilation aborted at t/date.t line 5.
^M
^Mt/date....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-196
        Failed 196/196 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/date.t     255 65280   196  392 200.00%  1-196
Failed 1/1 test scripts, 0.00% okay. 196/196 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
 
</snip>
 
--------------------------
 
I've looked at Simple.pm line 175 but I just don't see what wrong.
Can anyone shed some light on this?
 
BTW I'm building it for perl v5.6.0
 
Thanks!
richf

 
 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to