Trouble installing Isa::DBI (prereq for Class::DBI)



Hi,

I have a stable, working DBI setup on our 'production' server. This
runs with DBD::Oracle day to day without problems.

I am now wanting to install Class::DBI on that server. (Yes I've heard
that DBIx::Class is "better", but we have a working application
written with Class::DBI on a different, development, box that I'd like
to migrate).

Doing an install from CPAN , I see

Running make for T/TM/TMTM/Class-DBI-v3.0.17.tar.gz

I get told

---- Unsatisfied dependencies detected during
[T/TM/TMTM/Class-DBI-v3.0.17.tar.gz] -----
Ima::DBI

say yes to install that,

Running make for P/PE/PERRIN/Ima-DBI-0.35.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Ima::DBI
cp lib/Ima/DBI.pm blib/lib/Ima/DBI.pm
Manifying blib/man3/Ima::DBI.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/DBI.............Can't use string ("DBIx::ContextualFetch::ISA") as
an ARRAY ref while "strict refs" in use at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line
531.
# Looks like you planned 27 tests but only ran 3.
# Looks like your test died just after 3.

The referenced line in DBI.pm is the first "::ISA" line below:

8<===8<====8<====8<====8<
.....
# handle basic RootClass subclassing:
my $rebless_class = $attr->{RootClass} || ($class ne 'DBI' ? $class : '');
if ($rebless_class) {
if ($attr->{RootClass}) { # explicit attribute (rather
than static call)
delete $attr->{RootClass};
DBI::_load_module($rebless_class, 0) unless
@{"$rebless_class\::ISA"}; #line 531
}
no strict 'refs';
unless (@{"$rebless_class\::db::ISA"} &&
@{"$rebless_class\::st::ISA"}) {
......
8<===8<====8<====8<====8<

I guess I *could* turn off the 'strict refs' within the failing block
....would that be a "Bad Thing"?
Any other suggestions would be very welcome!

DBI version is 1.32
Perl is 5.8.0
OS is Red Hat Enterprise Linux ES release 3 (Taroon Update 9)

Thanks

victor
.



Relevant Pages

  • Re: New Event Log Errors!
    ... Somehow along those lines I'd also installed the Certificate Authority ... Did you apply the last Server Pack for SBS Server? ... Please install Windows Support Tools on the win2k3 sp1 problematic ... Microsoft is providing this information only as a convenience to you: ...
    (microsoft.public.windows.server.sbs)
  • unsubmit
    ... Using a development server also [Roberto ... Can't find cable Internet connec [Roberto ... You can fix that manually by 'apt-get install ... > development machine, so if the production server goes down, we can ...
    (Debian-User)
  • Re: Fax on Terminal Server from SBS2K3
    ... please make sure the Fax service is installed on the TS server. ... you can try the steps below to install Shared Fax Client: ... 248340 Installing and Using Programs in Windows 2000 Terminal Services ...
    (microsoft.public.windows.server.sbs)
  • Re: fedora-list Digest, Vol 36, Issue 69
    ... The old server which i want to replace, runs on RedHat8 and these settings work. ... FC6 through the rear view mirror ... and want to install Debian on Virtual Manger. ... Occasionally your car would die on the freeway for no reason. ...
    (Fedora)
  • Re: Terminal Server with SBS 2K3
    ... when a normal user logs on the terminal server ... have enough permission to install and uninstall printer drivers. ... If the printer driver for Windows 2003 server is not ...
    (microsoft.public.windows.server.sbs)