Subject: | "make test" failure: t/mail-box.t |
here's the key line:
t/mail-box....ok 2/3Can't call method "parser" on an undefined value at /usr/local/share/perl/5.8.3/Mail/Box/File/Message.pm line 93.
and here's the full output:
: jm 48...; make clean ; perl Makefile.PL ; make ; make test
rm -rf ./blib Makefile.aperl blib/arch/auto/Mail/Miner/extralibs.all blib/arch/auto/Mail/Miner/extralibs.ld perlmain.c tmon.out mon.out so_locations pm_to_blib *.o *.a perl.exe perl perl Miner.bso Miner.def libMiner.def Miner.exp Miner.x core core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9]
mv Makefile Makefile.old > /dev/null 2>&1
*** ExtUtils::AutoInstall version 0.59
*** Checking for dependencies...
[Core Features]
- Class::DBI::mysql ...loaded. (0.23)
- Class::DBI ...loaded. (0.96 >= 0.9)
- Lingua::EN::Keywords ...loaded. (2.0)
- Date::PeriodParser ...loaded. (0.02)
- MIME::Parser ...loaded. (5.406)
[spamassassin]
- Mail::SpamAssassin ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [y] n
[entities]
Couldn't open wordlist: No such file or directory
at /usr/local/share/perl/5.8.3/ExtUtils/AutoInstall.pm line 823
Couldn't open forename list: No such file or directory
at /usr/local/share/perl/5.8.3/ExtUtils/AutoInstall.pm line 823
- Lingua::EN::NamedEntity ...loaded. (1.1)
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Mail::Miner
cp Miner/Recogniser/Keywords.pm blib/lib/Mail/Miner/Recogniser/Keywords.pm
cp Miner/Attachment.pm blib/lib/Mail/Miner/Attachment.pm
cp Miner/Mail.pm blib/lib/Mail/Miner/Mail.pm
cp Miner/Assets.pm blib/lib/Mail/Miner/Assets.pm
cp Miner/Recogniser/Entity.pm blib/lib/Mail/Miner/Recogniser/Entity.pm
cp Audit/Miner.pm blib/lib/Mail/Audit/Miner.pm
cp Miner/Recogniser/Spam.pm blib/lib/Mail/Miner/Recogniser/Spam.pm
cp Miner/Recogniser/Date.pm blib/lib/Mail/Miner/Recogniser/Date.pm
cp Miner/Asset.pm blib/lib/Mail/Miner/Asset.pm
cp Miner/Config.pm blib/lib/Mail/Miner/Config.pm
cp Miner/DBI.pm blib/lib/Mail/Miner/DBI.pm
cp Miner.pm blib/lib/Mail/Miner.pm
cp Miner/Recogniser/Address.pm blib/lib/Mail/Miner/Recogniser/Address.pm
cp Miner/Recogniser/Phone.pm blib/lib/Mail/Miner/Recogniser/Phone.pm
cp mm_process blib/script/mm_process
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mm_process
cp mm blib/script/mm
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mm
Manifying blib/man3/Mail::Miner::Attachment.3pm
Manifying blib/man3/Mail::Miner.3pm
Manifying blib/man3/Mail::Audit::Miner.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/address.t t/assets.t t/mail-box.t
t/address.....ok
t/assets......Couldn't open wordlist: No such file or directory
at (eval 38) line 2
Couldn't open forename list: No such file or directory
at (eval 38) line 2
t/assets......ok
t/mail-box....Couldn't open wordlist: No such file or directory
at (eval 44) line 2
Couldn't open forename list: No such file or directory
at (eval 44) line 2
t/mail-box....ok 2/3Can't call method "parser" on an undefined value at /usr/local/share/perl/5.8.3/Mail/Box/File/Message.pm line 93.
# Looks like you planned 3 tests but only ran 2.
# Looks like your test died just after 2.
t/mail-box....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
Failed 1/3 tests, 66.67% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/mail-box.t 255 65280 3 2 66.67% 3
Failed 1/3 test scripts, 66.67% okay. 1/11 subtests failed, 90.91% okay.
make: *** [test_dynamic] Error 2
: exit=2 Fri Jun 11 13:34:42 PDT 2004; cd /home/jm/.cpan/build/Mail-Miner-2.7
: jm 49...;
: exit=2 Fri Jun 11 13:35:36 PDT 2004; cd /home/jm/.cpan/build/Mail-Miner-2.7
: jm 49...; perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=linux, osvers=2.4.25-ti1211, archname=i386-linux-thread-multi
uname='linux kosh 2.4.25-ti1211 #1 thu feb 19 18:20:12 est 2004 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.3 -Dsitearch=/usr/local/lib/perl/5.8.3 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.3 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.3 (Debian 20040314)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so.5.8.3
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Mar 27 2004 16:21:10
@INC:
/etc/perl
/usr/local/lib/perl/5.8.3
/usr/local/share/perl/5.8.3
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl
/usr/local/lib/perl/5.8.2
/usr/local/share/perl/5.8.2
.
: exit=0 Fri Jun 11 13:35:38 PDT 2004; cd /home/jm/.cpan/build/Mail-Miner-2.7
: jm 50...;