Subject: | Missing DB_File prerequisite in Makefile.PL |
This module fails tests when the DB_File module is not installed.
DB_File should be included in the prerequisites in the Makefile.PL .
$ make test
PERL_DL_NONLAZY=1 /home/.../local/perl-5.15.2/bin/perl5.15.2.exe "-
MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/bloom.t ....... ok
t/collection.t .. Can't locate DB_File.pm in @INC (@INC contains:
/cygdrive/c/.cpan/build/Text-Document-1.07-_HcDge/blib/lib
/cygdrive/c/.cpan/build/Text-Document-1.07-_HcDge/blib/arch
/cygdrive/c/dev
/workspace/bin /cygdrive/c/dev/workspace/bin /home/.../local/perl-
5.15.2/lib/site_perl/5.15.2/cygwin-thread-multi-64int
/home/.../local/perl-5.15.2/lib/site_perl/5.15.2 /home/.../local/perl-5
.15.2/lib/5.15.2/cygwin-thread-multi-64int /home/.../local/perl-
5.15.2/lib/5.15.2 .) at /cygdrive/c/.cpan/build/Text-Document-1.07-
_HcDge/blib/lib/Text/DocumentCollection.pm line 8.
BEGIN failed--compilation aborted at /cygdrive/c/.cpan/build/Text-
Document-1.07-_HcDge/blib/lib/Text/DocumentCollection.pm line 8.
Compilation failed in require at t/collection.t line 4.
BEGIN failed--compilation aborted at t/collection.t line 4.
t/collection.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/docsimil.t .... ok
t/document.t .... ok
t/persistent.t .. Can't locate DB_File.pm in @INC (@INC contains:
/cygdrive/c/.cpan/build/Text-Document-1.07-_HcDge/blib/lib
/cygdrive/c/.cpan/build/Text-Document-1.07-_HcDge/blib/arch
/cygdrive/c/dev
/workspace/bin /cygdrive/c/dev/workspace/bin /home/.../local/perl-
5.15.2/lib/site_perl/5.15.2/cygwin-thread-multi-64int
/home/.../local/perl-5.15.2/lib/site_perl/5.15.2 /home/.../local/perl-5
.15.2/lib/5.15.2/cygwin-thread-multi-64int /home/.../local/perl-
5.15.2/lib/5.15.2 .) at /cygdrive/c/.cpan/build/Text-Document-1.07-
_HcDge/blib/lib/Text/DocumentCollection.pm line 8.
BEGIN failed--compilation aborted at /cygdrive/c/.cpan/build/Text-
Document-1.07-_HcDge/blib/lib/Text/DocumentCollection.pm line 8.
Compilation failed in require at t/persistent.t line 4.
BEGIN failed--compilation aborted at t/persistent.t line 4.
t/persistent.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/weightcos.t ... Can't locate DB_File.pm in @INC (@INC contains:
/cygdrive/c/.cpan/build/Text-Document-1.07-_HcDge/blib/lib
/cygdrive/c/.cpan/build/Text-Document-1.07-_HcDge/blib/arch
/cygdrive/c/dev
/workspace/bin /cygdrive/c/dev/workspace/bin /home/.../local/perl-
5.15.2/lib/site_perl/5.15.2/cygwin-thread-multi-64int
/home/.../local/perl-5.15.2/lib/site_perl/5.15.2 /home/.../local/perl-5
.15.2/lib/5.15.2/cygwin-thread-multi-64int /home/.../local/perl-
5.15.2/lib/5.15.2 .) at /cygdrive/c/.cpan/build/Text-Document-1.07-
_HcDge/blib/lib/Text/DocumentCollection.pm line 8.
BEGIN failed--compilation aborted at /cygdrive/c/.cpan/build/Text-
Document-1.07-_HcDge/blib/lib/Text/DocumentCollection.pm line 8.
Compilation failed in require at t/weightcos.t line 4.
BEGIN failed--compilation aborted at t/weightcos.t line 4.
t/weightcos.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/collection.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/persistent.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/weightcos.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=6, Tests=17, 2 wallclock secs ( 0.17 usr 0.08 sys + 1.05 cusr
0.84 csys = 2.14 CPU)
Result: FAIL
Failed 3/6 test programs. 0/17 subtests failed.
make: *** [test_dynamic] Error 2