Re: core dump when installing libwww-perl-5b6
Gisle Aas (aas@a.sn.no)
Fri, 29 Dec 1995 16:48:18 +0100
> base/mediatypes.....FAILED on test 2
The library probably picks your ~/.mime.types file. Don't worry about this.
> local/autoload......Use of uninitialized value at .././blib/HTTP/Message.pm line 80.
> ok
> local/get...........Use of uninitialized value at .././blib/HTTP/Message.pm line 80.
> Cannot open '/usr/tmp/lwp-copy-14268': No such file or directory at local/get.t line 55.
> FAILED on test 2
> Failed 2/15 tests, 86.67% okay.
> make: *** [test] Error 2
I assume you are used one of the perl5.002beta versions of perl. If you do,
you will need to apply this patch:
--- LWP/Protocol.pm 1995/12/05 14:42:55 1.14
+++ LWP/Protocol.pm 1995/12/29 15:35:07 1.15
@@ -191,7 +191,7 @@
alarm($self->timeout) if $self->useAlarm;
}
}
- elsif (!defined ref($arg)) {
+ elsif (!ref($arg)) {
# filename
open(OUT, ">$arg") or
return new HTTP::Response
The "Use of uninitialized value" warnings is caused by perl5.002 giving
warnings for:
$foo .= "str";
when $foo happens to be undefined. Perl5.001m did not complain about this.
--Gisle