I installed a copy of DBI 1.20 in my dir structure, ala:
>   perl Makefile.PL PREFIX=/u/prl2/newperl

Then I started the DBD-Oracle 1.12 instal:
>  PERL5LIB=/home/prl2/newperl/lib/site_perl/5.005/aix perl Makefile.PL -8
PREFIX=/u/prl2/newperl

No problems there...  it wrapped up by telling me:
  Using DBI 1.20 installed in
/u/prl2/newperl/lib/site_perl/5.005/aix//auto/DBI
  Writing Makefile for DBD::Oracle

'make' also seemed fine.  HOWEVER, 'make test' produced the following, which
indicates my personal copy of DBI 1.20 was not being used after all.  Why?
What did I miss?

> make test
    PERL_DL_NONLAZY=1
/usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/share/lib/perl5/5.005
03/aix -I/usr/local/share/lib/perl5/5.00503 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............FAILED tests 4-5
    Failed 2/5 tests, 60.00% okay
t/general...........install_driver(Oracle) failed: DBI 1.2 required--this is
only version 1.15 (/usr/local/share/lib/perl5/site_perl/5.005/aix/DBI.pm) at
(eval 1) line 3

 at t/general.t line 20
dubious
    Test returned status 255 (wstat 65280, 0xff00)
t/long..............DBI 1.2 required--this is only version 1.15
(/usr/local/share/lib/perl5/site_perl/5.005/aix/DBI.pm) at t/long.t line 4
BEGIN failed--compilation aborted at t/long.t line 4.
dubious
    Test returned status 255 (wstat 65280, 0xff00)
t/ph_type...........DBI 1.2 required--this is only version 1.15
(/usr/local/share/lib/perl5/site_perl/5.005/aix/DBI.pm) at t/ph_type.t line
20
BEGIN failed--compilation aborted at t/ph_type.t line 20.
dubious
    Test returned status 255 (wstat 65280, 0xff00)
t/plsql.............DBI 1.2 required--this is only version 1.15
(/usr/local/share/lib/perl5/site_perl/5.005/aix/DBI.pm) at t/plsql.t line 17
BEGIN failed--compilation aborted at t/plsql.t line 17.
dubious
    Test returned status 255 (wstat 65280, 0xff00)
t/reauth............skipping test on this platform
Failed Test  Status Wstat Total Fail  Failed  List of failed
-----------------------------------------------------------------------------
--
t/base.t                      5    2  40.00%  4-5
t/general.t     255 65280    ??   ??       %  ??
t/long.t        255 65280    ??   ??       %  ??
t/ph_type.t     255 65280    ??   ??       %  ??
t/plsql.t       255 65280    ??   ??       %  ??
1 test skipped.
Failed 5/6 test scripts, 16.67% okay. 2/5 subtests failed, 60.00% okay.
make: 1254-004 The error code from the last command is 2.


Stop.


Thanks!

Reply via email to