Hello. We are attempting to instasll Xerces-p on our Solaris 10 box. With PERL 5.8.8. We are getting the same errors regardless of version of Xerces we have tried to install.
Some folks seem to infer on the web it is an Perl 5.8 issue.
Solaris 10
PERL 5.8.8
GNU Make 3.80
gcc version 3.3.2
Here is a sampling of the errors....
/usr/local/bin/make
make
1: Entering directory `/usr/local/XML-Xerces-2.7.0-0/Handler'
make
1: Leaving directory `/usr/local/XML-Xerces-2.7.0-0/Handler'
gcc -c -I. -IHandler
-I/usr/local/xerces-c-src_2_5_0/include -D_REENTRANT
-DHAS_BOOL -O -DVERSION=\"2.7.0-0\" -DXS_VERSION=\"2.7.0-0\" -fPIC
"-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE"
Xerces.cpp
Xerces.cpp:1219: error: parse error before `__attribute__'
Xerces.cpp:1219: error: syntax error before `)' token
Xerces.cpp:1220: error: syntax error before `*' token
Xerces.cpp:1225: error: 'SwigPerlWrapperPtr' is used as a type, but is not
defined as a type.
Xerces.cpp:4724: error: parse error before `__attribute__'
Xerces.cpp: In function `void _wrap_delete_XMLDeleter(...)':
Xerces.cpp:4732: error: parse error before `if'
Xerces.cpp:4734: error: parse error before `}' token
Any suggestions?
Thanks
John