Subject: | Errors when running 'make test' |
These errors occur regardless of Perl version on a FreeBSD5.4-RELEASE box. Let me know if you have further questions.
moondance# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00compile....NOK 1
# Failed test 'use WWW::Dilbert;'
# in t/00compile.t at line 5.
# Tried to use 'WWW::Dilbert'.
# Error: Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
# Global symbol "$strip_url" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 129.
# Global symbol "$strip_url" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 129.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 130.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 137.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 137.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 138.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 139.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 146.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 146.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 147.
# Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 148.
# BEGIN not safe after errors--compilation aborted at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 391.
# Compilation failed in require at (eval 5) line 2.
# BEGIN failed--compilation aborted at t/00compile.t line 5.
# Looks like you failed 1 test of 2.
t/00compile....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/2 tests, 50.00% okay
t/01methods....Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 128.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 128.
Global symbol "$strip_url" requires explicit package name at lib/WWW/Dilbert.pm line 128.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 129.
Global symbol "$strip_url" requires explicit package name at lib/WWW/Dilbert.pm line 129.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 130.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 137.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 137.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 138.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 139.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 146.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 146.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 147.
Global symbol "$self" requires explicit package name at lib/WWW/Dilbert.pm line 148.
BEGIN not safe after errors--compilation aborted at lib/WWW/Dilbert.pm line 391.
Compilation failed in require at t/01methods.t line 5.
BEGIN failed--compilation aborted at t/01methods.t line 5.
# Looks like your test died before it could output anything.
t/01methods....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/02fail.......Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
Global symbol "$strip_url" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 129.
Global symbol "$strip_url" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 129.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 130.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 137.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 137.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 138.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 139.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 146.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 146.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 147.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 148.
BEGIN not safe after errors--compilation aborted at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 391.
Compilation failed in require at t/02fail.t line 1.
BEGIN failed--compilation aborted at t/02fail.t line 1.
t/02fail.......dubious
Test returned status 22 (wstat 5632, 0x1600)
t/03members....Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
Global symbol "$strip_url" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 128.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 129.
Global symbol "$strip_url" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 129.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 130.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 137.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 137.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 138.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 139.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 146.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 146.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 147.
Global symbol "$self" requires explicit package name at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 148.
BEGIN not safe after errors--compilation aborted at /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09/blib/lib/WWW/Dilbert.pm line 391.
Compilation failed in require at t/03members.t line 5.
BEGIN failed--compilation aborted at t/03members.t line 5.
# Looks like your test died before it could output anything.
t/03members....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00compile.t 1 256 2 1 50.00% 1
t/01methods.t 255 65280 ?? ?? % ??
t/02fail.t 22 5632 ?? ?? % ??
t/03members.t 255 65280 2 4 200.00% 1-2
Failed 4/4 test scripts, 0.00% okay. 3/4 subtests failed, 25.00% okay.
*** Error code 255
Stop in /home/aaron/BSD/p5-WWW-Dilbert/work/WWW-Dilbert-1.09.