Re: Issues with building xerces-p
[email protected] Thu, 31 Mar 2005 16:46:00 +0100
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <OF757B0625.DE3052B6-ONC1256FD5.0054C143-C1256FD5.00569C56@esa.int> |
Hi again,
The issue below is resolved. It was being caused by vi on my terminal not
being able to handle the length of certain lines. When the file was saved
the lines were being truncated!
Alas, this is not the end of the problem....
xerces-c is now installed and build ok. For xerces-p I have run the make
command without problems, but some of the tests are failing with core
dumps when I run 'make test'. An example of this is in DOMException, where
the core dump occurs when the following is performed (around line 35):
eval {
$impl->createDocument('Bar', 'bar',$dt);
};
I've traced this back to calls that are made to a particular portion of
DOMImplementation in xerces-c, but I'm really not sure what could be
causing this or where to start looking to solve the problem. Suggestions
would be appreciated.
Cheers,
Gareth
Gareth Dicks
30/03/2005 15:39
To: [email protected]
cc:
Subject: Issues with building xerces-p
Hi,
I am having a problem building xerces-p 2.5.0 on Solaris 8, with perl
5.6.0 and the cc compiler.
I've sucesfully built xerces-c and also fixed an initial issue with
building xerces-p. This problem was resolved after I searched the list and
found the following problem resolution:
http://nagoya.apache.org/eyebrowse/[email protected]&msgNo=754
Having applied the recommended changes to Xerces.cpp I tried te build
again. The original problem seems to be fixed, but the build now fails
with the following errors:
make[1]: Leaving directory `/home/engineer/XML-Xerces-2.5.0-0/Handler'
CC -c -I. -IHandler -I/home/engineer/xerces-c-src_2_5_0/include -w
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -D_REENTRANT -O
-DVERSION=\"2.5.0-0\" -DXS_VERSION=\"2.5.0-0\" -KPIC
-I/opt/tools/lib/perl_5.6.0/sun4-solaris/CORE Xerces.cpp
"Xerces.cpp", line 73091: Error: "}" expected instead of "end of file".
1 Error(s) detected.
make: *** [Xerces.o] Error 1
Any suggestions on how to resolve this would be welcome.
Regards,
Gareth