hi
i'm trying to compile DBD::Oracle v1.15 on HP-UX 11.00 with Oracle8i
client libraries. i'm using Oracle 8iR3 server. compilation goes fine
but some t/long tests fail. does anyone know why these tests could be
failing?
i've attached a typescript of the compilation in this email. here's the
test output:
[221] % gmake test
PERL_DL_NONLAZY=1 /opt/kronodoc/perl/kb8/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/base.......ok
t/cursor.....ok
t/general....ok
t/long.......ok 193/372DBD::Oracle::st fetchall_arrayref failed: ORA-01801: date
format is too long for internal buffer (DBD ERROR: OCIStmtFetch) [for statement
``select * from dbd_ora__drop_me order by idx'' with params: ]) at t/long.t line 154.
# failed test 195 at line 155.
t/long.......ok 194/372Use of uninitialized value in string eq at
t/long.t line 156.
t/long.......NOK 195Use of uninitialized value in length at t/long.t
line 156.
Use of uninitialized value in length at t/long.t line 436.
Use of uninitialized value in string eq at t/long.t line 437.
# failed test 196 at line 156. Strings are of different lengths (0 vs
20), Len 0
Use of uninitialized value in string eq at t/long.t line 158.
t/long.......NOK 196Use of uninitialized value in length at t/long.t
line 158.
Use of uninitialized value in length at t/long.t line 436.
Use of uninitialized value in string eq at t/long.t line 437.
# failed test 197 at line 158. Strings are of different lengths (0 vs
20), Len 0
Use of uninitialized value in string eq at t/long.t line 160.
t/long.......NOK 197Use of uninitialized value in length at t/long.t
line 160.
Use of uninitialized value in length at t/long.t line 436.
Use of uninitialized value in string eq at t/long.t line 437.
# failed test 198 at line 160. Strings are of different lengths (0 vs
20), Len 0
t/long.......ok
304/372
Some tests for LONG data type handling failed. These are generally
Oracle bugs.
t/long.......ok 372/372Please report this to the dbi-users mailing list,
and include the
Oracle version number of both the client and the server.
Please also include the output of the 'perl -V' command.
(If you can, please study t/long.t to investigate the cause.
Feel free to edit the tests to see what's happening in more detail.
Especially by adding trace() calls around the failing tests.
Run the tests manually using the command "perl -Mblib t/long.t")
Meanwhile, if the other tests have passed you can use DBD::Oracle.
t/long.......FAILED tests
195-198
Failed 4/372 tests, 98.92% okay
t/meta.......ok
t/ph_type....ok
t/plsql......ok
t/reauth.....skipped
all skipped: no reason given
t/select.....ok Failed
Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/long.t 372 4 1.08% 195-198
1 test skipped.
Failed 1/9 test scripts, 88.89% okay. 4/545 subtests failed, 99.27%
okay.
gmake: *** [test_dynamic] Error 2
best regards,
--
aspa http://www.kronodoc.fi/