From: Mike Edwards <[EMAIL PROTECTED]>
Date: Tue Oct 14, 2003  1:34:03  pm Europe/London
To: [EMAIL PROTECTED]
Subject: Problems installing libwww-perl-5.69 on OSX

Hi,

I'm trying to install libwww-perl-5.69 on my OSX machine to run under Perl 5.8.0.

The build appears to have gone okay but when I run 'make test' I get the following output:

 /usr/bin/perl t/TEST 0
 base/common-req.......ok
 base/cookies..........ok
 base/date.............ok
 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..........ok
 base/negotiate........ok
 base/response.........ok
 base/status...........ok
 base/ua...............ok
 html/form.............ok
 robot/rules-dbm.......ok
 robot/rules...........ok
 robot/ua-get..........NOK 7HTTP Server terminated
 robot/ua-get..........FAILED tests 1-3, 5, 7

 Failed 5/7 tests, 28.57% okay
 robot/ua..............NOK 7HTTP Server terminated
 robot/ua..............FAILED tests 1-3, 5, 7

 Failed 5/7 tests, 28.57% okay
 local/autoload-get....ok
 local/autoload........ok
 local/get.............ok
 local/http-get........NOK 8Can't call method "is_redirect" on an
 undefined value at local/http-get.t line 214, <DAEMON> line 1.
 HTTP Server terminated
 local/http-get........dubious

 Test returned status 22 (wstat 5632, 0x1600)
 DIED. FAILED tests 1-19
         Failed 19/19 tests, 0.00% okay
 local/http............NOK 8Can't call method "is_redirect" on an
 undefined value at local/http.t line 188, <DAEMON> line 1.
 HTTP Server terminated
 local/http............dubious

 Test returned status 22 (wstat 5632, 0x1600)
 DIED. FAILED tests 1-18
         Failed 18/18 tests, 0.00% okay
 local/protosub........ok
 Failed Test      Stat Wstat Total Fail  Failed  List of Failed

------------------------------------------------------------------------ -------
local/http-get.t 22 5632 19 19 100.00% 1-19
local/http.t 22 5632 18 18 100.00% 1-18
robot/ua-get.t 7 5 71.43% 1-3 5 7
robot/ua.t 7 5 71.43% 1-3 5 7
Failed 4/26 test scripts, 84.62% okay. 47/343 subtests failed, 86.30%
okay.
make: *** [test] Error 2


The errors seem to refer to this line in ./t/local/http-get.t and ./t/local http.t although I don't understand it enough to work out what the problem is.

 print "ok 8\n";
 print "not " unless $res->previous->is_redirect
                 and $res->previous->code == 301;

Can anyone suggest why things are going wrong and how I can fix it please?

Thanks,

Mike



Reply via email to