Subject: | Fails when SQL::Statement is installed and MLDBM is not |
One of my smokers just encountered the situation that SQL::Statement was
installed but MLDBM wasn't and the tests failed like so:
make[1]: Entering directory `/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf'
PERL_DL_NONLAZY=1 /usr/local/perl-5.10.1/bin/perl
"-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
DBD::DBM::db do failed:
Execution ERROR: Can't locate MLDBM.pm in @INC (@INC contains: ../lib
/home/sand
/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/arch
/home/sand/.cpan/build/ObjectDBI-0.
14-NsfbUf/blib/lib /usr/local/perl-5.10.1/lib/5.10.1/i686-linux
/usr/local/perl-
5.10.1/lib/5.10.1 /usr/local/perl-5.10.1/lib/site_perl/5.10.1/i686-linux
/usr/lo
cal/perl-5.10.1/lib/site_perl/5.10.1 .) at
/usr/local/perl-5.10.1/lib/site_perl/5.10.1/i686-linux/DBD/DBM.pm line 315.
called from t/t01.pl at 16.
[for Statement "
create table perlobjects (
obj_id text,
obj_pid text,
obj_gpid text,
obj_name text,
obj_type text,
obj_value text
)
"] at t/t01.pl line 16.
DBD::DBM::db do failed:
Execution ERROR: Can't locate MLDBM.pm in @INC (@INC contains: ../lib
/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/arch
/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/lib
/usr/local/perl-5.10.1/lib/5.10.1/i686-linux
/usr/local/perl-5.10.1/lib/5.10.1
/usr/local/perl-5.10.1/lib/site_perl/5.10.1/i686-linux
/usr/local/perl-5.10.1/lib/site_perl/5.10.1 .) at
/usr/local/perl-5.10.1/lib/site_perl/5.10.1/i686-linux/DBD/DBM.pm line 315.
called from
/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/lib/ObjectDBI.pm at 913.
[for Statement "insert into perlobjects (obj_id, obj_pid, obj_gpid,
obj_name, obj_type, obj_value) values (?,?,?,?,?,?)"] at
/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/lib/ObjectDBI.pm line 913.
DBD::DBM::db selectall_arrayref failed:
Execution ERROR: Can't locate MLDBM.pm in @INC (@INC contains: ../lib
/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/arch
/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/lib
/usr/local/perl-5.10.1/lib/5.10.1/i686-linux
/usr/local/perl-5.10.1/lib/5.10.1
/usr/local/perl-5.10.1/lib/site_perl/5.10.1/i686-linux
/usr/local/perl-5.10.1/lib/site_perl/5.10.1 .) at
/usr/local/perl-5.10.1/lib/site_perl/5.10.1/i686-linux/DBD/DBM.pm line 315.
called from
/home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/lib/ObjectDBI.pm at 834.
[for Statement "select obj_id, obj_pid, obj_gpid, obj_name, obj_type,
obj_value from perlobjects where obj_gpid='0' order by obj_pid, obj_id"]
at /home/sand/.cpan/build/ObjectDBI-0.14-NsfbUf/blib/lib/ObjectDBI.pm
line 834.
t/t01.t ..
Failed 1/1 subtests
t/t02.t .. ok
I see similar fails at cpantesters, e.g.
http://www.cpantesters.org/cpan/report/8594149
HTH, Thanks && Regards,