LWP installation failed make test: base/date

LWP installation failed make test: base/date

am 04.11.2004 18:01:03 von cummings

Hi there,

I'm trying to install Bundle::LWP on my Debian Linux system.

> perl -MCPAN -e 'install Bundle::LWP'

Everything goes fine until make test. Here's some output:


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Running make test
/usr/bin/perl t/TEST 0
base/common-req.......ok
base/cookies..........ok
base/date.............FAILED tests 1-30, 44-51, 59
Failed 39/59 tests, 33.90% okay
base/headers-auth.....ok
base/headers-etag.....ok
base/headers-util.....ok
base/headers..........ok
base/http.............ok
base/listing..........ok
base/mediatypes.......ok
base/message-old......NOK 3# Test 3 got: "3915993600" (base/message-old.t
at line 25)
# Expected: "760233600"
# base/message-old.t line 25 is: ok($req->if_modified_since, ((760233600
+ $offset) || 0));
base/message-old......FAILED test 3
Failed 1/19 tests, 94.74% okay
base/message-parts....ok
base/message..........ok
base/negotiate........ok
base/protocols........ok
base/response.........ok
base/status...........ok
base/ua...............ok
html/form-param.......ok
html/form.............ok
robot/rules-dbm.......ok
robot/rules...........ok
robot/ua-get..........ok
robot/ua..............ok
local/autoload-get....ok
local/autoload........ok
local/get.............ok
local/http-get........ok
local/http............ok
local/protosub........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
base/date.t 59 39 66.10% 1-30 44-51 59
base/message-old.t 19 1 5.26% 3
Failed 2/30 test scripts, 93.33% okay. 40/730 subtests failed, 94.52%
okay.
make: *** [test] Error 35
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Bundle summary: The following items in bundle Bundle::LWP had installation
problems:
LWP

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Any idea what could be causing these errors?

Thanks, in advance, for your help.

Best regards,

Craig Cummings, Ph.D.

Research Associate
Relman Laboratory
Stanford University School of Medicine
Department of Microbiology and Immunology
and
VA Palo Alto Health Care System

e-mail: cummings@cmgm.stanford.edu
phone: 650-493-5000 x63249
fax: 650-852-3291

Re: LWP installation failed make test: base/date

am 05.11.2004 14:35:37 von gisle

Craig Cummings writes:

> I'm trying to install Bundle::LWP on my Debian Linux system.

Interesting. What does these commands print on your system:

perl -le 'print scalar gmtime(0)'
perl -le 'print scalar gmtime(760233600)'
perl -le 'print scalar gmtime(3915993600)'