You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Adam Witney <aw...@sghms.ac.uk> on 2003/10/18 17:46:08 UTC
OSX installation
Hi, have got back into trying the OSX installation again.
So from a fresh installation of xerces-c-2.3.0, for XML-Xerces-2.3.0-2
perl Makefile.PL
I have to edit the Makefile and change this
- LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c
+ LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c -lstdc++
Then make and make test produces the output below
Any ideas??
Thanks for any help
adam
[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)
t/DOMNodeIterator...NOK 5# 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
Re: OSX installation
Posted by Adam Witney <aw...@sghms.ac.uk>.
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
Re: OSX installation
Posted by Adam Witney <aw...@sghms.ac.uk>.
On 21/10/03 12:55 pm, "Jason E. Stewart" <ja...@openinformatics.com> wrote:
> Adam Witney <aw...@sghms.ac.uk> writes:
>
>> - LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c
>> + LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c -lstdc++
>
> Hey Adam,
>
> Are you *sure* you had to do this? Don't you have the hints/darwin.pl
> file in your distro?
>
> Damn! I didn't add it to the MANIFEST, sorry. I'll do that for -3.
>
>> Then make and make test produces the output below
>
>> 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
>
> Run samples/DOMCount.pl by hand and show me what the output looks
> like, would you?
Here goes...
[mrc1-003:local/install/XML-Xerces-2.3.0-2] adam% perl samples/DOMCount.pl
dyld: perl Undefined symbols:
__ZN11xercesc_2_316XMLPlatformUtils10isAnySlashEt
Trace/BPT trap
Interesting... I didn't edit out the 'inline' part in
$XERCESCROOTsrc/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp
As I did before if you remember. Basically because this error did not show
up with make test this time. I will try that modification and recompile
xerces-c
>
>> t/DOMDocument.......dubious
>> Test returned status 0 (wstat 10, 0xa)
>> DIED. FAILED tests 3-35125
>> Failed 35123/35125 tests, 0.01% okay
>
> This looks like MacOS X Unicode trouble.
>
>> t/DOMException......dubious
>> Test returned status 0 (wstat 10, 0xa)
>> DIED. FAILED tests 2-7
>> Failed 6/7 tests, 14.29% okay
>
> I think this is Unicode related as well.
>
>> t/DOMNodeIterator...NOK 3# Failed test (t/DOMNodeIterator.t at line 66)
>> t/DOMNodeIterator...NOK 5# 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
>
> This seems to suggest that checking node equality is not working.
>
>> 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
>
> This looks like the same problem as DOMCount - you are not getting any
> output - so it might be segfaulting or something.
>
>> 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
>
> This is the same problem as NodeIterator.
>
>> 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)
>
> This is that bad problem on OS X that relative paths are handled
> incorrectly. Needs to be a bug in Xerces-C.
>
>> t/SAXException......dubious
>> Test returned status 0 (wstat 10, 0xa)
>> DIED. FAILED tests 2-6
>> Failed 5/6 tests, 16.67% okay
>
> This is likely the same error as DOMException.
>
>> 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
>
> This I don't understand. Why is stdin different on OS X?
Could this be related to the problem above....
> I'm still having trouble getting access to the OS X machines on the
> SourceForge compile farm. They're having NIS trouble. Once I can get
> onto those machines, I should be able to test this out more
> fully. Until then, any help you can give, Adam, is mucho appreciado.
>
> Cheers,
> jas.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
>
--
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
Re: OSX installation
Posted by Adam Witney <aw...@sghms.ac.uk>.
Sorry sent that last message before finishing it!!
>
> Run samples/DOMCount.pl by hand and show me what the output looks
> like, would you?
Here goes...
[mrc1-003:local/install/XML-Xerces-2.3.0-2] adam% perl samples/DOMCount.pl
dyld: perl Undefined symbols:
__ZN11xercesc_2_316XMLPlatformUtils10isAnySlashEt
Trace/BPT trap
Interesting... I didn't edit out the 'inline' part in
$XERCESCROOTsrc/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp
As I did before if you remember. Basically because this error did not show
up with make test this time. I will try that modification and recompile
xerces-c
>> 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
>
> This I don't understand. Why is stdin different on OS X?
Could this be related to the problem above....
[mrc1-003:local/install/XML-Xerces-2.3.0-2] adam% perl t/StdInInputSource.t
dyld: perl Undefined symbols:
__ZN11xercesc_2_316XMLPlatformUtils10isAnySlashEt
Trace/BPT trap
Strange that the isAnySlash errors do not show up in make test like they did
before..
So, as I said above.. I will modify
$XERCESCROOTsrc/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp and
recompile...
Cheers
adam
--
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
Re: OSX installation
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
Adam Witney <aw...@sghms.ac.uk> writes:
> - LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c
> + LDLOADLIBS = -lpthread -L/usr/local/lib/ -lxerces-c -lstdc++
Hey Adam,
Are you *sure* you had to do this? Don't you have the hints/darwin.pl
file in your distro?
Damn! I didn't add it to the MANIFEST, sorry. I'll do that for -3.
> Then make and make test produces the output below
> 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
Run samples/DOMCount.pl by hand and show me what the output looks
like, would you?
> t/DOMDocument.......dubious
> Test returned status 0 (wstat 10, 0xa)
> DIED. FAILED tests 3-35125
> Failed 35123/35125 tests, 0.01% okay
This looks like MacOS X Unicode trouble.
> t/DOMException......dubious
> Test returned status 0 (wstat 10, 0xa)
> DIED. FAILED tests 2-7
> Failed 6/7 tests, 14.29% okay
I think this is Unicode related as well.
> t/DOMNodeIterator...NOK 3# Failed test (t/DOMNodeIterator.t at line 66)
> t/DOMNodeIterator...NOK 5# 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
This seems to suggest that checking node equality is not working.
> 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
This looks like the same problem as DOMCount - you are not getting any
output - so it might be segfaulting or something.
> 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
This is the same problem as NodeIterator.
> 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)
This is that bad problem on OS X that relative paths are handled
incorrectly. Needs to be a bug in Xerces-C.
> t/SAXException......dubious
> Test returned status 0 (wstat 10, 0xa)
> DIED. FAILED tests 2-6
> Failed 5/6 tests, 16.67% okay
This is likely the same error as DOMException.
> 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
This I don't understand. Why is stdin different on OS X?
I'm still having trouble getting access to the OS X machines on the
SourceForge compile farm. They're having NIS trouble. Once I can get
onto those machines, I should be able to test this out more
fully. Until then, any help you can give, Adam, is mucho appreciado.
Cheers,
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org