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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.