Subject: | make test fails under Perl 5.6.1 |
Date: | Sun, 11 Sep 2011 11:35:59 +0400 |
To: | <bug-DBD-SQLite [...] rt.cpan.org> |
From: | Alexander Tokarev <nohuhu [...] nohuhu.org> |
Apparently it can't resolve one of the symbols:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.t .............................. 1/3
# Failed test 'use DBD::SQLite;'
# at t/01_compile.t line 15.
# Tried to use 'DBD::SQLite'.
# Error: Can't load
'/export/home/dwalin/build/DBD-SQLite-1.33/blib/arch/auto/DBD/SQLite/SQLite.
so' for module DBD::SQLite: ld.so.1: perl: fatal: relocation error: file
/export/home/dwalin/build/DBD-SQLite-1.33/blib/arch/auto/DBD/SQLite/SQLite.s
o: symbol DPPP_my_sv_2pvbyte: referenced symbol not found at
/usr/perl5/5.6.1/lib/sun4-solaris-64int/DynaLoader.pm line 206.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
I'm not skilled enough to delve deep in perlguts, so the only solution I see
is to bump minimal Perl version in Makefile.PL to avoid making false
impression that Perl 5.6 is supported:
------------------------------- 8< -------------------------------
2c2
< use 5.006;
---
Show quoted text
> use 5.008;
267c267
< MIN_PERL_VERSION => '5.006',
---
Show quoted text> MIN_PERL_VERSION => '5.008',
------------------------------- 8< -------------------------------
Actually this condition was the same in 1.31; the latest version I can build
with Perl 5.6.1 is 1.29.
Regards,
Alex.