Mailing List Archive

[Bug 3397] New: DB_File installation instructions in INSTALL don't work
http://bugzilla.spamassassin.org/show_bug.cgi?id=3397

Summary: DB_File installation instructions in INSTALL don't work
Product: Spamassassin
Version: 2.63
Platform: All
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P3
Component: Building & Packaging
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: clock@twibright.com


I tried to make Bayesian filter work because without Bayesian filter spamassassin
seems to pass the majority of spam.

INSTALL says that DB_File is installed by commands
perl -MCPAN -e shell
o conf prerequisites_policy ask
install DB_File
quit

However this procedure crashes on my system with
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/db-btree....Can't load '/root/.cpan/build/DB_File-1.808/blib/arch/auto/DB_File
/DB_File.so' for module DB_File: /root/.cpan/build/DB_File-1.808/blib/arch/auto/
DB_File/DB_File.so: undefined symbol: db_version_4000 at /usr/lib/perl5/5.8.4/i6
86-linux/DynaLoader.pm line 230.
at t/db-btree.t line 34
Compilation failed in require at t/db-btree.t line 34.
BEGIN failed--compilation aborted at t/db-btree.t line 34.
t/db-btree....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/db-hash.....Can't load '/root/.cpan/build/DB_File-1.808/blib/arch/auto/DB_File
/DB_File.so' for module DB_File: /root/.cpan/build/DB_File-1.808/blib/arch/auto/
DB_File/DB_File.so: undefined symbol: db_version_4000 at /usr/lib/perl5/5.8.4/i6
86-linux/DynaLoader.pm line 230.
at t/db-hash.t line 23
Compilation failed in require at t/db-hash.t line 23.
BEGIN failed--compilation aborted at t/db-hash.t line 23.
t/db-hash.....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/db-recno....Can't load '/root/.cpan/build/DB_File-1.808/blib/arch/auto/DB_File
/DB_File.so' for module DB_File: /root/.cpan/build/DB_File-1.808/blib/arch/auto/
DB_File/DB_File.so: undefined symbol: db_version_4000 at /usr/lib/perl5/5.8.4/i6
86-linux/DynaLoader.pm line 230.
at t/db-recno.t line 23
Compilation failed in require at t/db-recno.t line 23.
BEGIN failed--compilation aborted at t/db-recno.t line 23.
t/db-recno....dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--3 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255
/usr/local/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

Tried with perl 5.8.0 and perl 5.8.4, behaves the same.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.