DBD::ORACLE错误make test
huakaibird
|
1#
huakaibird 发表于 2006-11-14 09:58
DBD::ORACLE错误make test
DBD::ORACLE错误make test
我在安装DBD::ORACLE时做make test时老是过不去,sqlplus scott/tiger没有任何问题。 make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harnt t/01base................ok t/10general.............ok t/15nls.................ok t/20select..............ok t/21nchar............... Database and client versions and character sets: Database 8.1.6.1.0 CHAR set is ZHS16CGB231280 (Non-Unicode), NCHAR set is ZHS16) Client 8.1.6.0 NLS_LANG is 'AMERICAN_AMERICA.ZHS16CGB231280', NLS_NCHAR is 'ZHS' skipped all skipped: Oracle charset tests unreliable for Oracle 8 client t/22nchar_al32utf8......skipped all skipped: Oracle charset tests unreliable for Oracle 8 client t/22nchar_utf8..........skipped all skipped: Oracle charset tests unreliable for Oracle 8 client t/23wide_db.............skipped all skipped: Oracle charset tests unreliable for Oracle 8 client t/23wide_db_8bit........skipped all skipped: Oracle charset tests unreliable for Oracle 8 client t/23wide_db_al32utf8....skipped all skipped: Oracle charset tests unreliable for Oracle 8 client t/24implicit_utf8.......skipped all skipped: Oracle charset tests unreliable for Oracle 8 client t/25plsql...............ok t/30long................ok 226/376DBD::Oracle::st blob_read failed: ORA-01403: . # Failed test (t/30long.t at line 259) # got: 0 # expected: 10240 # Failed test (t/30long.t at line 261) DBD::Oracle::st fetchrow_arrayref failed: ORA-03118: two-task coroutine has inv. # Failed test (t/30long.t at line 265) t/30long................NOK 229DBD::Oracle::st blob_read failed: ORA-03106: fat. t/30long................NOK 230# Failed test (t/30long.t at line 266) # got: 0 # expected: 81920 t/30long................NOK 231# Failed test (t/30long.t at line 268) DBD::Oracle::st fetchrow_arrayref failed: ERROR no statement executing (perhaps. # Failed test (t/30long.t at line 271) t/30long................NOK 232DBD::Oracle::st blob_read failed: ORA-03106: fat. # Failed test (t/30long.t at line 274) # got: 0 # expected: 71680 t/30long................NOK 233# Failed test (t/nchar_test_lib.pl at line 3) t/30long................NOK 234# got: '' # expected: '50|98|99|100|101|102|97|98|99|100|50|98|99|100|101|102|97|98|9' # Failed test (t/nchar_test_lib.pl at line 344) t/30long................NOK 235# got: '' # expected: '2bcdefabcd2bcdefabcd2bcdefabcd2bcdefabcd2bcdefabcd2bcdefabcd2b' t/30long................ok 236/376DBD::Oracle::db prepare failed: ORA-03130: th" SELECT lng, idx FROM dbd_ora__drop_me ORDER BY idx FOR UPDATE -- needed so lob locator is writable "] at t/30long.t line 298. # Failed test (t/30long.t at line 299) t/30long................NOK 237Can't call method "execute" on an undefined valu. DBD::Oracle::db disconnect failed: ORA-03127: no new operations allowed until t. # Looks like you planned 376 tests but only ran 237. # Looks like your test died just after 237. t/30long................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 227-235, 237-376 Failed 149/376 tests, 60.37% okay (less 122 skipped tests: 105 okay, 27) t/31lob.................ok t/40ph_type.............ok t/50cursor..............ok 767/962Can't bind a reference (DBI::st=HASH(0x82f1e9. t/50cursor..............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 771-962 Failed 192/962 tests, 80.04% okay t/55nested..............ok t/60reauth..............ORACLE_USERID_2 not defined. Tests skipped. skipped all skipped: no reason given t/70meta................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/30long.t 255 65280 376 288 76.60% 227-235 237-376 t/50cursor.t 2 512 962 384 39.92% 771-962 8 tests and 122 subtests skipped. Failed 2/19 test scripts, 89.47% okay. 341/1553 subtests failed, 78.04% okay. make: *** [test_dynamic] Error 29 应该时30long.t这个文件中的老是fail, DBD::Oracle::st blob_read failed; DBD::Oracle::st fetchrow_arrayref failed: ORA-03118: two-task coroutine has inv.; 我的oracle是8.1.6.1.0,在ora9上就没有问题,是不是oracle版本的问题啊,请帮帮忙,谢谢 |