[Melbourne-pm] XML::Xerces

Christopher Short christopher.short at monash.edu
Mon May 21 20:59:41 PDT 2012

Well, we've not managed to get this working.

To give you some background, we've decided it's probably time to
upgrade our website from perl 5.8 to 5.14 ;-)

I'm installing a copy of our site onto a fresh server and so am
methodically plodding through the site to find required modules etc.

Part of the site uses XML::Xerces and XML::Xerces::DOMParser so I need
to get those working.

As per the requirements for this package, I am indeed installing the
matching version of Xerces-C first, as well as SWIG 2.0.6 to
"regenerate the bindings" using the XERCES_DEVEL = 1 trick mentioned
by Rob.

Version 2.7.0
=> everything installs
=> but DOMParser has been removed

Version 1.7.0
=> includes DOMParser
=> fails during the build of Xerces-C
"UnixHTTPURLInputStream.cpp:99:22: error: iostream.h: No such file or directory"

Version 1.5.2
=> includes DOMParser
=> Xerces-C builds and installs
=> fails during the build of XML::Xerces
"error: iostream.h: No such file or directory"
Also many complaints about
"deprecated conversion from string constant to "char *"
"cannot convert "char*" to "PerlInterpreter*"

Anyone have any tips?

On 17 May 2012 11:46, Christopher Short <christopher.short at monash.edu> wrote:
> Well, we finally managed to get Swig and Xerces C and XML::Xerces 2.7
> installed ...
> ... but then we found that they'd removed DOMParser which we needed,
> so we're now trying to reinstall an earlier, buggier version. grr
> Christopher

More information about the Melbourne-pm mailing list