Subject: | Error: Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm |
Net-DNS-0.50
This is perl, v5.6.1 built for PA-RISC1.1
HP-UX B.10.20
--
running make test after compling, produces this error:
bash-2.00$ CC=gcc make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/PA-RISC1.1 -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00-load..................# Failed test (t/00-load.t at line 8)
t/00-load..................NOK 1# Tried to use 'Net::DNS'.
# Error: Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 725.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 726.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 726.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 844.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 844.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 874.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 749.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 777.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 784.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 784.
# Bareword "AF_INET6" not allowed while "strict subs" in use at blib/lib/Net/DNS/Resolver/Base.pm line 784.
# BEGIN not safe after errors--compilation aborted at blib/lib/Net/DNS/Resolver/Base.pm line 999.
# Compilation failed in require at blib/lib/Net/DNS/Resolver/UNIX.pm line 9.
# BEGIN failed--compilation aborted at blib/lib/Net/DNS/Resolver/UNIX.pm line 9.
# Compilation failed in require at blib/lib/Net/DNS/Resolver.pm line 19.
# BEGIN failed--compilation aborted at blib/lib/Net/DNS/Resolver.pm line 22.
# Compilation failed in require at blib/lib/Net/DNS.pm line 58.
# BEGIN failed--compilation aborted at blib/lib/Net/DNS.pm line 58.
# Compilation failed in require at (eval 1) line 2.
t/00-load..................ok 47/75# Looks like you planned 75 tests but only ran 68.
t/00-load..................dubious
Test returned status 8 (wstat 2048, 0x800)
DIED. FAILED tests 1, 69-75
Failed 8/75 tests, 89.33% okay