dbishop has asked for the wisdom of the Perl Monks concerning the following question:

I have been getting "error code 29" when I run make test for the Oracle DBD module. I am running solaris 8 with Oracle 9i. Any help would be appreciated! My make test output follows:
# make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base....... + + t/base.......ok t/cursor..... + + + t/cursor.....ok t/general.... + + t/general....ok t/long....... + + t/meta.......ok t/ph_type.... + + t/ph_type....ok 11/19 expected 'trailing' but got 'trailing ' for VARC +HAR2 + + t/ph_type....FAILED test 12 Failed 1/19 tests, 94.74% okay t/plsql...... + + t/plsql......ok t/reauth.....skipped all skipped: no reason given t/select..... + + t/select.....ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/ph_type.t 19 1 5.26% 12 1 test skipped. Failed 1/9 test scripts, 88.89% okay. 1/1535 subtests failed, 99.93% o +kay. *** Error code 29 make: Fatal error: Command failed for target `test_dynamic'

Replies are listed 'Best First'.
Re: Make test problems with Oracle DBD
by rdfield (Priest) on Feb 13, 2004 at 12:54 UTC
    Which version of DBD::Oracle are you trying to install? Version 1.15 (I believe) allows trailing spaces on Oracle 9.2 VARCHAR2 fields. Alternatively, edit t/ph_type.pl to allow trailing spaces on VARCHAR2, i.e. change:
    { type=> 1, name=>"VARCHAR2", chops_space=>1, embed_nul=>1, skip=>0 },
    to
    { type=> 1, name=>"VARCHAR2", chops_space=>0, embed_nul=>1, skip=>0 },

    rdfield