Problem installing XML::Xerces

Problem installing XML::Xerces

am 11.05.2006 23:54:45 von Janwillem Borleffs

Hello,

I'm trying to install the XML::Xerces package on freebsd and keep running
into problems when it gets to the Xerces.cpp file.

Make complaints about syntax errors in the file. I did set the XERCESROOT
and XERCES_INCLUDE environment properties to point to the Xerces-C
distribution (didn't install it, though, as this is not required according
to the README file in the XML::Xerces package).

I googled for an hour without any results. Any thoughts?


TIA,
JW

Re: Problem installing XML::Xerces

am 12.05.2006 09:53:42 von Janwillem Borleffs

Janwillem Borleffs wrote:
> Make complaints about syntax errors in the file. I did set the XERCESROOT
> and XERCES_INCLUDE environment properties to point to the Xerces-C
> distribution (didn't install it, though, as this is not required according
> to the README file in the XML::Xerces package).
>

Make output:

# gmake
gmake[1]: Entering directory
`/usr/home/janwb/temp/XML-Xerces-2.7.0-0/Handler'
gmake[1]: Leaving directory
`/usr/home/janwb/temp/XML-Xerces-2.7.0-0/Handler'
cc -c -I. -IHandler -I/usr/home/janwb/temp/xerces-c-src_2_7_0/src/
-D_REENTRANT -O -pipe -DVERSION=\"2.7.0-0\" -DXS_VERSION=\"2.7.0-0\"
-DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" Xerces.cpp
Xerces.cpp:1219: syntax error before `__attribute__'
Xerces.cpp:1220: syntax error before `*'
Xerces.cpp:1225: syntax error before `;'
Xerces.cpp:4724: syntax error before `__attribute__'
Xerces.cpp:4730: register name not specified for `struct SV ** sp'
Xerces.cpp:4730: register name not specified for `struct SV ** mark'
Xerces.cpp:4732: syntax error before `if'
cpp0: output pipe has been closed
gmake: *** [Xerces.o] Error 1


Comparable errors occur when using make.


Regards,
JW