Subject: | Build fails locating method 'new' |
DBI::Shell refuses to make test for some reason on a new install of FC3. I found the problem first by trying to use cpan to install Bundle::DBI, but then tried to "manually" install DBI:Shell, which fails...
DBI-Shell-11.93
[]# uname -a
Linux xxx.osuedc.org 2.6.10-1.770_FC3 #1 Thu Feb 24 14:00:06 EST 2005 i686 i686 i386 GNU/Linux
[]# perl -v
This is perl, v5.8.5 built for i386-linux-thread-multi
...
[]# perl Makefile.PL
...
[]# make
...
[]# make test
...
# BEGIN failed--compilation aborted at /usr/src/DBI-Shell-11.93/blib/lib/DBI/Shell.pm line 132.
# Compilation failed in require at (eval 1) line 2.
Can't locate object method "new" via package "DBI::Shell" at /usr/src/DBI-Shell-11.93/blib/lib/DBI/Shell.pm line 57.
# Looks like you planned 77 tests but only ran 1.
# Looks like your test died just after 1.
t/timing......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-77
Failed 77/77 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/batch.t 2 512 ?? ?? % ??
t/core.t 255 65280 9 17 188.89% 1-9
t/func.t 2 512 ?? ?? % ??
t/shell.t 255 65280 51 101 198.04% 1-51
t/spool.t 255 65280 14 25 178.57% 1 3-14
t/sqlminus.t 255 65280 109 213 195.41% 1 4-109
t/timing.t 255 65280 77 153 198.70% 1-77
Failed 7/7 test scripts, 0.00% okay. 257/260 subtests failed, 1.15% okay.
make: *** [test_dynamic] Error 255
Not sure exactly what I'm doing wrong, but I don't think I'm doing anything special?