+ -
当前位置:首页 → 问答吧 → 安装DBD-Oracle-1.17,make test无法进行

安装DBD-Oracle-1.17,make test无法进行

时间:2011-04-20

来源:互联网

无论把tnsname.ora中 改成IP还是hostname, 都出现错误,麻烦给个意见,谢谢:
PERL_DL_NONLAZY=1 /opt/tools/tools/perl/5.12.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base.t .............. ok
t/10general.t ........... DBI connect('','scott/tiger',...) failed: ORA-12545: Connect failed because target host or object does not exist (DBD ERROR: OCIServerAttach) at t/10general.t line 18
Undefined subroutine &main::BAILOUT called at t/10general.t line 21.
# Looks like your test exited with 255 before it could output anything.
t/10general.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 33/33 subtests
t/15nls.t ............... DBI connect('','scott/tiger',...) failed: ORA-12545: Connect failed because target host or object does not exist (DBD ERROR: OCIServerAttach) at t/15nls.t line 19

作者: marscld   发布时间: 2011-04-20

make通过就直接安装
装好以后自己写脚本读一下数据库,我自己是从来不运行数据库模块的make test
环境变量没有设置,或是帐号没设置对,太多问题都会有影响了

作者: py   发布时间: 2011-04-20