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:07:56 GMT
On 21/10/03 12:55 pm, "Jason E. Stewart" <jason@openinformatics.com> wrote:

> Adam Witney <awitney@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


Mime
View raw message