The distributed Xerces C 2.5.0 doesn't compile when newer versions of
gcc are used. For example, it won't compile under Fedora Core 3, which
uses gcc 3.4.2-6.fc3, or Mac OS X 10.4, which uses gcc 4.
The fix for Fedora Core 3, and probably for Mac OS X 10.4, is this:
In the original source code that you obtain immediately after
uncompressing and untarring xerces-c-src_2_5_0.tar.gz, modify the file
xerces-c-src_2_5_0/src/xercesc/util/RefArrayOf.hpp by adding the line
#include <xercesc/framework/MemoryManager.hpp>
The context of this additional line is:
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/util/ArrayIndexOutOfBoundsException.hpp>
#include <xercesc/util/IllegalArgumentException.hpp>
#include <xercesc/util/XMLEnumerator.hpp>
#include <xercesc/framework/MemoryManager.hpp>
XERCES_CPP_NAMESPACE_BEGIN
-- Conrad
Wrigley, Ave wrote:
Is this (the archive URL) in the docs somewhere? If not, maybe it could
be added? Cheers!
Ave.
Ave Wrigley
Head of New Media Development, ITN
200 Grays Inn Rd, tel:+44-20-7430-4719
London WC1X 8XZ, mobile:+44-7713-986247
United Kingdom mailto:[EMAIL PROTECTED]
-----Original Message-----
From: Garrett, Philip (MAN-Corporate) [mailto:[EMAIL PROTECTED]
Sent: Friday June 2005 15:43
To: 'p-dev@xerces.apache.org'
Subject: RE: Problems installing XML-Xerces-2.5.0-0
Xerces-perl v2.6.0 isn't available and/or stable yet. You
can find Xerces-C
2.5.0 here:
http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_5_0/.
-----Original Message-----
From: Wrigley, Ave [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 10:38 AM
To: p-dev@xerces.apache.org
Subject: Problems installing XML-Xerces-2.5.0-0
I am trying to install XML-Xerces-2.5.0-0, and have the
latest version of
xerces-c (2.6.0 - this was the only version I could find in the xerces
archive - http://www.apache.org/dist/xml/xerces-c/). However,
XML-Xerces-2.5.0-0 won't build against this:
Using XERCES_LIB =
/export/home/install/xerces-c_2_6_0-solaris_28-cc_62/lib
Using XERCES_INCLUDE =
/export/home/install/xerces-c_2_6_0-solaris_28-cc_62/include
WARNING
You have defined the XERCESCROOT variable, but I am unable to
locate the
config.status file that was used to build your Xerces-C.
Without that file,
I may not be able to properly build the C++ glue files that come with
Xerces.pm.
Proceeding ...
Using Xerces-C version info from
/export/home/install/xerces-c_2_6_0-solaris_28-cc_62/include/x
ercesc/uti
l/XercesVersion.hpp
*** Version Mismatch ***
You are attempt to build XML::Xerces-2.5.0-0 using
Xerces-C-2.6.0, this will
most likely fail, so I am aborting.
You must use Xerces-C-2.5.0
Any ideas?
Ave Wrigley
Head of New Media Development, ITN
200 Grays Inn Rd, tel:+44-20-7430-4719
London WC1X 8XZ, mobile:+44-7713-986247
United Kingdom mailto:[EMAIL PROTECTED]
This email (and any attachments) is intended solely for the
individual(s) to
whom addressed.
It may contain confidential and/or legally privileged information.
Any statement or opinions therein are not necessarily those
of ITN unless
specifically stated.
Any unauthorised use, disclosure or copying is prohibited.
If you have received this email in error, please notify the sender and
delete it from your system.
Security and reliability of the e-mail and attachments are
not guaranteed.
You must take full responsibility for virus checking.
Please note that to ensure regulatory compliance and for the
protection of
our clients and business, we may monitor and read e-mails
sent to and from
our server(s).
Independent Television News Limited,
Registered No. 548648 England,
VAT Reg. No: GB 756 2995 81,
200 Gray's Inn Road, London WC1X 8XZ,
Telephone: 020 7833 3000.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This email (and any attachments) is intended solely for the individual(s)
to whom addressed.
It may contain confidential and/or legally privileged information.
Any statement or opinions therein are not necessarily those of ITN unless specifically stated.
Any unauthorised use, disclosure or copying is prohibited.
If you have received this email in error, please notify the sender and delete it from your system.
Security and reliability of the e-mail and attachments are not guaranteed.
You must take full responsibility for virus checking.
Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read e-mails sent to and from our server(s).
Independent Television News Limited,
Registered No. 548648 England,
VAT Reg. No: GB 756 2995 81,
200 Gray's Inn Road, London WC1X 8XZ,
Telephone: 020 7833 3000.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Conrad Halling
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]