Does anybody know how to remedy these errors...I get them when I run
"make test" in the following directory:
dbxml-2.1.8/dbxml/src/perl/DbXml
Before showing you all of the errors, here is one that looks
particularly interesting:
# Compilation failed in require at (eval 1) line 2.
Can't locate object method "getExceptionCode" via package "Can't
locate object method "new" via package "XmlValue" at t/XmlValue.t
line 43.
" (perhaps you forgot to load "Can't locate object method "new" via
package "XmlValue" at t/XmlValue.t line 43.
"?) at t/XmlValue.t line 44.
Notice how it is confusing an error message with the package name
that is the source of the error in the line that reads:
Can't locate object method "getExceptionCode" via package "Can't
locate object method "new" via package "XmlValue" at t/XmlValue.t
line 43.
Any ideas? I'm sure I can just force an install regardless of the
errors, but I think I would feel more comfortable incorporating DbXml
into my web app if they were working. Here are all of the "make test"
errors:
==============================================================
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/XmlDocument..............# Failed test (t/XmlDocument.t at
line 7)
t/XmlDocument..............NOK 1# Tried to use
'Sleepycat::DbXml'.
# Error: Can't load '/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle' for module
Sleepycat::DbXml: dlopen(/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle, 2): Library not
loaded: libxerces-c.26.dylib
# Referenced from: /usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle
# Reason: image not found at /System/Library/Perl/5.8.6/darwin-
thread-multi-2level/DynaLoader.pm line 230.
# at /usr/local/src/dbxml-2.1.8/dbxml/src/perl/DbXml/../blib/lib/
Sleepycat/DbXml.pm line 71
# Compilation failed in require at (eval 1) line 2.
t/XmlDocument..............ok 2/36Can't locate object method "new"
via package "XmlManager" at t/XmlDocument.t line 10.
# Looks like you planned 36 tests but only ran 2.
# Looks like your test died just after 2.
t/XmlDocument..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 3-36
Failed 35/36 tests, 2.78% okay
t/XmlIndexSpecification....# Failed test (t/
XmlIndexSpecification.t at line 6)
# Tried to use 'Sleepycat::DbXml'.
# Error: Can't load '/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle' for module
Sleepycat::DbXml: dlopen(/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle, 2): Library not
loaded: libxerces-c.26.dylib
# Referenced from: /usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle
# Reason: image not found at /System/Library/Perl/5.8.6/darwin-
thread-multi-2level/DynaLoader.pm line 230.
# at /usr/local/src/dbxml-2.1.8/dbxml/src/perl/DbXml/../blib/lib/
Sleepycat/DbXml.pm line 71
# Compilation failed in require at (eval 1) line 2.
t/XmlIndexSpecification....ok 2/13Can't locate object method "new"
via package "XmlManager" at t/XmlIndexSpecification.t line 9.
# Looks like you planned 13 tests but only ran 2.
# Looks like your test died just after 2.
t/XmlIndexSpecification....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 3-13
Failed 12/13 tests, 7.69% okay
t/XmlManager...............# Failed test (t/XmlManager.t at
line 6)
# Tried to use 'Sleepycat::DbXml'.
# Error: Can't load '/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle' for module
Sleepycat::DbXml: dlopen(/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle, 2): Library not
loaded: libxerces-c.26.dylib
# Referenced from: /usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle
# Reason: image not found at /System/Library/Perl/5.8.6/darwin-
thread-multi-2level/DynaLoader.pm line 230.
# at /usr/local/src/dbxml-2.1.8/dbxml/src/perl/DbXml/../blib/lib/
Sleepycat/DbXml.pm line 71
# Compilation failed in require at (eval 1) line 2.
t/XmlManager...............ok 2/83# Failed test (t/XmlManager.t
at line 26)
# Failed test (t/XmlManager.t at line 27)
t/XmlManager...............NOK 4# Failed test (t/XmlManager.t at
line 31)
# got: 'Can't call method "createDocument" on an undefined
value at t/XmlManager.t line 29.
# '
# expected: ''
t/XmlManager...............NOK 5# Failed test (t/XmlManager.t at
line 32)
Can't call method "setContent" on an undefined value at t/
XmlManager.t line 37.
t/XmlManager...............NOK 6# Looks like you planned 83 tests but
only ran 6.
# Looks like your test died just after 6.
t/XmlManager...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 3-83
Failed 82/83 tests, 1.20% okay
t/XmlQueryContext..........# Failed test (t/XmlQueryContext.t at
line 6)
# Tried to use 'Sleepycat::DbXml'.
# Error: Can't load '/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle' for module
Sleepycat::DbXml: dlopen(/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle, 2): Library not
loaded: libxerces-c.26.dylib
# Referenced from: /usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle
# Reason: image not found at /System/Library/Perl/5.8.6/darwin-
thread-multi-2level/DynaLoader.pm line 230.
# at /usr/local/src/dbxml-2.1.8/dbxml/src/perl/DbXml/../blib/lib/
Sleepycat/DbXml.pm line 71
# Compilation failed in require at (eval 1) line 2.
t/XmlQueryContext..........ok 2/31# Failed test (t/
XmlQueryContext.t at line 25)
t/XmlQueryContext..........NOK 3# Failed test (t/
XmlQueryContext.t at line 26)
Can't call method "createQueryContext" on an undefined value at t/
XmlQueryContext.t line 29.
t/XmlQueryContext..........NOK 4# Looks like you planned 31 tests but
only ran 4.
# Looks like your test died just after 4.
t/XmlQueryContext..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 3-31
Failed 30/31 tests, 3.23% okay
t/XmlResults...............# Failed test (t/XmlResults.t at
line 6)
t/XmlResults...............NOK 1# Tried to use
'Sleepycat::DbXml'.
# Error: Can't load '/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle' for module
Sleepycat::DbXml: dlopen(/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle, 2): Library not
loaded: libxerces-c.26.dylib
# Referenced from: /usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle
# Reason: image not found at /System/Library/Perl/5.8.6/darwin-
thread-multi-2level/DynaLoader.pm line 230.
# at /usr/local/src/dbxml-2.1.8/dbxml/src/perl/DbXml/../blib/lib/
Sleepycat/DbXml.pm line 71
# Compilation failed in require at (eval 1) line 2.
Can't locate object method "new" via package "XmlManager" at t/
XmlResults.t line 9.
# Looks like you planned 28 tests but only ran 1.
# Looks like your test died just after 1.
t/XmlResults...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-28
Failed 28/28 tests, 0.00% okay
t/XmlValue.................# Failed test (t/XmlValue.t at line 6)
t/XmlValue.................NOK 1# Tried to use
'Sleepycat::DbXml'.
# Error: Can't load '/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle' for module
Sleepycat::DbXml: dlopen(/usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle, 2): Library not
loaded: libxerces-c.26.dylib
# Referenced from: /usr/local/src/dbxml-2.1.8/dbxml/src/perl/
DbXml/../blib/arch/auto/Sleepycat/DbXml/DbXml.bundle
# Reason: image not found at /System/Library/Perl/5.8.6/darwin-
thread-multi-2level/DynaLoader.pm line 230.
# at /usr/local/src/dbxml-2.1.8/dbxml/src/perl/DbXml/../blib/lib/
Sleepycat/DbXml.pm line 71
# Compilation failed in require at (eval 1) line 2.
Can't locate object method "getExceptionCode" via package "Can't
locate object method "new" via package "XmlValue" at t/XmlValue.t
line 43.
" (perhaps you forgot to load "Can't locate object method "new" via
package "XmlValue" at t/XmlValue.t line 43.
"?) at t/XmlValue.t line 44.
# Looks like you planned 211 tests but only ran 1.
# Looks like your test died just after 1.
t/XmlValue.................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-211
Failed 211/211 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of
Failed
---------------------------------------------------------------------
---
-------
t/XmlDocument.t 255 65280 36 69 191.67% 1 3-36
t/XmlIndexSpecification.t 255 65280 13 23 176.92% 1 3-13
t/XmlManager.t 255 65280 83 159 191.57% 1 3-83
t/XmlQueryContext.t 255 65280 31 57 183.87% 1 3-31
t/XmlResults.t 255 65280 28 55 196.43% 1-28
t/XmlValue.t 255 65280 211 421 199.53% 1-211
Failed 6/6 test scripts, 0.00% okay. 398/402 subtests failed, 1.00%
okay.
make: *** [test_dynamic] Error 2
------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribe-E1rGyZxLSgzby3iVrkZq2A@xxxxxxxxxxxxxxxx