Wrigley, Ave | 3 Jun 2005 16:38
Picon

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/xercesc/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?

(Continue reading)

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:Ave.Wrigley <at> itn.co.uk] 
Sent: Friday, June 03, 2005 10:38 AM
To: p-dev <at> 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/xercesc/uti
l/XercesVersion.hpp
(Continue reading)

Adam Witney | 3 Jun 2005 16:42
Picon
Favicon

Re: Problems installing XML-Xerces-2.5.0-0


Hi Ave,

You have to match the versions so you will need to use xerces-c 2.5.0:

http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_5_0/xerces-c-src_2_5_
0.tar.gz

You could also try using xerces-p 2.6.0, I believe jason released a snapshot
of this the other day, but I can't seem to locate the URL for that.

Adam

> 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.
> 
(Continue reading)

Wrigley, Ave | 3 Jun 2005 16:53
Picon

RE: Problems installing XML-Xerces-2.5.0-0

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:ave.wrigley <at> itn.co.uk 

> -----Original Message-----
> From: Garrett, Philip (MAN-Corporate) [mailto:Philip.Garrett <at> cox.com] 
> Sent: Friday June 2005 15:43
> To: 'p-dev <at> 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:Ave.Wrigley <at> itn.co.uk] 
> Sent: Friday, June 03, 2005 10:38 AM
> To: p-dev <at> 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 
(Continue reading)

Wrigley, Ave | 3 Jun 2005 17:42
Picon

RE: Problems installing XML-Xerces-2.5.0-0

Apologies - I didn't spot this! My fault.

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:ave.wrigley <at> itn.co.uk 

> -----Original Message-----
> From: Adam Witney [mailto:awitney <at> sgul.ac.uk] 
> Sent: Friday June 2005 16:38
> To: p-dev <at> xerces.apache.org; Wrigley, Ave
> Subject: Re: Problems installing XML-Xerces-2.5.0-0
> 
> 
> Well the URL link is right there on the download page for xercex-c
> 
> http://xml.apache.org/xerces-c/download.cgi
> 
> 
> 
> 
> 
> > Is this (the archive URL) in the docs somewhere? If not, 
> maybe it could
> > be added? Cheers!
> > 
> > Ave.
> > 
> > Ave Wrigley
(Continue reading)

Adam Witney | 3 Jun 2005 17:37
Picon
Favicon

Re: Problems installing XML-Xerces-2.5.0-0


Well the URL link is right there on the download page for xercex-c

http://xml.apache.org/xerces-c/download.cgi

> 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:ave.wrigley <at> itn.co.uk
> 
> 
> 
>> -----Original Message-----
>> From: Garrett, Philip (MAN-Corporate) [mailto:Philip.Garrett <at> cox.com]
>> Sent: Friday June 2005 15:43
>> To: 'p-dev <at> 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/.
>>  
>> 
(Continue reading)

Conrad Halling | 3 Jun 2005 17:52

Re: Problems installing XML-Xerces-2.5.0-0

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.
> 
(Continue reading)

Jason E. Stewart | 4 Jun 2005 13:06

Re: Problems installing XML-Xerces-2.5.0-0

Adam Witney <awitney <at> sgul.ac.uk> writes:

> http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_5_0/xerces-c-src_2_5_
> 0.tar.gz
>
> You could also try using xerces-p 2.6.0, I believe jason released a snapshot
> of this the other day, but I can't seem to locate the URL for that.

  http://xml.apache.org/dist/xml/xerces-p/nightly/

I will release a second snapshot over the weekend. This snapshot
should be stable - with all memory leaks and segfaults eliminated.

Cheers,
jas.
Stephen Collyer | 6 Jun 2005 20:15
Picon

XML::Writer-like feature in XML::Xerces

Maybe I'm being clueless here but ..

is there any facility in XML::Xerces for converting a
Perl DS to XML a la XML::Writer (i.e. like the
$writer->starttag('funky_tag') routine et al).

I'm thinking of a SAX -> Perl, Perl -> XML
i/o approach, but I can't see anything for the
output side of the work.

--

-- 
Regards

Stephen Collyer
Netspinner Ltd
Jason E. Stewart | 7 Jun 2005 07:52

Re: XML::Writer-like feature in XML::Xerces

Attachment (Writer.pm): application/x-perl, 7870 bytes
---------------------------------------------------------------------
To unsubscribe, e-mail: p-dev-unsubscribe <at> xerces.apache.org
For additional commands, e-mail: p-dev-help <at> xerces.apache.org

Gmane