xerces-p-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Witney <awit...@sghms.ac.uk>
Subject Re: OSX installation
Date Tue, 21 Oct 2003 12:38:07 GMT

Ok, with these 3 modifications

$XERCESCROOT/src/xercesc/util/PlatformUtils.hpp

-    static inline bool isAnySlash(XMLCh c);
+    static bool isAnySlash(XMLCh c);

$XERCESCROOT/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp

-    inline bool XMLPlatformUtils::isAnySlash(XMLCh c)
+    bool XMLPlatformUtils::isAnySlash(XMLCh c)

XML-Xerces-2.3.0-2/Makefile

-    LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c
+    LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c -lstdc++



Then make test gives

[mrc1-003:local/install/XML-Xerces-2.3.0-2] adam% make test
PERL_DL_NONLAZY=1 /sw/bin/perl -Iblib/arch -Iblib/lib
-I/sw/lib/perl5/5.6.0/darwin -I/sw/lib/perl5/5.6.0 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/AttributeList.....Using /usr/local/install/XML-Xerces-2.3.0-2/blib
t/AttributeList.....ok 5/8No matching function for overloaded
'AttributeList_getValue' at
/usr/local/install/XML-Xerces-2.3.0-2/blib/lib/XML/Xerces.pm line 221.
# Looks like you planned 8 tests but only ran 5.
# Looks like your test died just after 5.
t/AttributeList.....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-8
        Failed 3/8 tests, 62.50% okay
t/Attributes........Using /usr/local/install/XML-Xerces-2.3.0-2/blib
t/Attributes........ok
t/DOMAttr...........ok
t/DOMCount..........ok 1/2Use of uninitialized value in numeric eq (==) at
t/DOMCount.t line 55.
#     Failed test (t/DOMCount.t at line 55)
# Looks like you failed 1 tests of 2.
t/DOMCount..........dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/2 tests, 50.00% okay
t/DOMCreate.........ok
t/DOMDocument.......dubious
        Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 3-35125
        Failed 35123/35125 tests, 0.01% okay
t/DOMElement........ok
t/DOMEntity.........ok, 1/4 skipped: entities still not working
t/DOMException......dubious
        Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 2-7
        Failed 6/7 tests, 14.29% okay
t/DOMNamedNodeMap...ok
t/DOMNode...........ok
t/DOMNodeIterator...NOK 3#     Failed test (t/DOMNodeIterator.t at line 66)
#     Failed test (t/DOMNodeIterator.t at line 78)
# Looks like you failed 2 tests of 5.
t/DOMNodeIterator...dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3, 5
        Failed 2/5 tests, 60.00% okay
t/DOMNodeList.......ok
t/DOMPrint..........ok 1/2#     Failed test (t/DOMPrint.t at line 62)
# Found []
# Looks like you failed 1 tests of 2.
t/DOMPrint..........dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/2 tests, 50.00% okay
t/DOMTreeWalker.....NOK 3#     Failed test (t/DOMTreeWalker.t at line 77)
t/DOMTreeWalker.....NOK 5#     Failed test (t/DOMTreeWalker.t at line 89)
# Looks like you failed 2 tests of 5.
t/DOMTreeWalker.....dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3, 5
        Failed 2/5 tests, 60.00% okay
t/DOMWriter.........ok
t/EntityResolver....ok 2/9FATAL ERROR:
FILE:    /usr/local/install/XML-Xerces-2.3.0-2/samples/public.xml
LINE:    3
COLUMN:  85
MESSAGE: An exception occurred! Type:RuntimeException, Message:Could not
open DTD file '/sw/bin/samples/personal.dtd'
 at t/EntityResolver.t line 42
t/EntityResolver....NOK 5#     Failed test (t/EntityResolver.t at line 63)
FATAL ERROR:
FILE:    /usr/local/install/XML-Xerces-2.3.0-2/samples/system.xml
LINE:    3
COLUMN:  38
MESSAGE: An exception occurred! Type:RuntimeException, Message:Could not
open DTD file '/sw/bin/samples/personal.dtd'
 at t/EntityResolver.t line 71
t/EntityResolver....NOK 8#     Failed test (t/EntityResolver.t at line 84)
WARNING:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:RuntimeException, Message:Warning: The
primary document entity could not be opened. Id=/sw/bin/samples/personal.xsd
 at t/EntityResolver.t line 138
FATAL ERROR:
FILE:    /usr/local/install/XML-Xerces-2.3.0-2/samples/system.xml
LINE:    5
COLUMN:  1
MESSAGE: Expected comment or processing instruction
 at t/EntityResolver.t line 138
# Looks like you planned 9 tests but only ran 8.
# Looks like your test died just after 8.
t/EntityResolver....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5, 8-9
        Failed 3/9 tests, 66.67% okay
t/Grammar...........ok
t/InputSource.......ok
t/LocalFileInputSource.ok
t/MemBufInputSource.ok
t/PerlErrorHandler..ok
t/SAX2Count.........ok
t/SAXCount..........ok
t/SAXException......dubious
        Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 2-6
        Failed 5/6 tests, 16.67% okay
t/SAXParser.........ok
t/Schema............ok 1/3WARNING:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:RuntimeException, Message:Warning: The
primary document entity could not be opened. Id=/sw/bin/samples/personal.xsd
 at t/Schema.t line 34
t/Schema............ok 2/3WARNING:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:RuntimeException, Message:Warning: The
primary document entity could not be opened. Id=/sw/bin/samples/personal.xsd
 at t/Schema.t line 50
t/Schema............ok
t/StdInInputSource..ok 2/3FATAL ERROR:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:XMLPlatformException, Message:Could not
open file: stdin
 at t/StdInInputSource.t line 33
# Looks like you planned 3 tests but only ran 2.
# Looks like your test died just after 2.
t/StdInInputSource..dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay
t/URLInputSource....dubious
        Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 6-8
        Failed 3/8 tests, 62.50% okay
t/XMLException......ok
t/XMLScanner........ok, 11/12 skipped: XMLScanner is no longer public
t/XMLURL............ok
t/XMLUri............ok
t/XercesDOMParser...ok
t/actualCast........ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
----------------------------------------------------------------------------
---
t/AttributeList 255 65280     8    3  37.50%  6-8
t/DOMCount.t      1   256     2    1  50.00%  2
t/DOMDocument.t   0    10 35125 3512  99.99%  3-35125
t/DOMException.   0    10     7    6  85.71%  2-7
t/DOMNodeIterat   2   512     5    2  40.00%  3, 5
t/DOMPrint.t      1   256     2    1  50.00%  2
t/DOMTreeWalker   2   512     5    2  40.00%  3, 5
t/EntityResolve 255 65280     9    3  33.33%  5, 8-9
t/SAXException.   0    10     6    5  83.33%  2-6
t/StdInInputSou 255 65280     3    1  33.33%  3
t/URLInputSourc   0    10     8    3  37.50%  6-8
12 subtests skipped.
Failed 11/35 test scripts, 68.57% okay. 35150/35353 subtests failed, 0.57%
okay.
make: *** [test_dynamic] Error 2


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Mime
View raw message