For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > May 2006 > Problem installing XML::Xerces









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem installing XML::Xerces
Janwillem Borleffs

2006-05-11, 6:58 pm

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


Janwillem Borleffs

2006-05-12, 3:57 am

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




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com