Folks,
While trying to install Class::DBI::Loader::Oracle, make test fails with the following message:
root@devserver-165# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1
# Failed test 'use Class::DBI::Loader::Oracle;'
# at t/00-load.t line 4.
# Tried to use 'Class::DBI::Loader::Oracle'.
# Error: Can't locate object method "set_sql" via package "Class:
+:DBI::Oracle" at /usr/local/share/perl/5.8.8/Class/DBI/Oracle.pm line
+ 172.
# Compilation failed in require at /root/.cpan/build/Class-DBI-Loader-
+Oracle/blib/lib/Class/DBI/Loader/Oracle.pm line 7.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
# Looks like you failed 1 test of 1.
t/00-load.t ....... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/01-basic.t ...... ok
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for tes
+ting POD coverage
t/pod.t ........... ok
Test Summary Report
-------------------
t/00-load.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=4, Tests=8, 29 wallclock secs ( 0.04 usr 0.02 sys + 0.28 cusr
+ 0.04 csys = 0.38 CPU)
Result: FAIL
Failed 1/4 test programs. 1/8 subtests failed.
make: *** [test_dynamic] Error 255
root@devserver-165#
I read the README for this module and have the dependencies installed as well as ORACLE_HOME and ORACLE_USERID set.
Can somebody please shed some light?
Thanks,
harsha