Can't build XML::Xerces

"Bernard Ogden" <[email protected]>
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
Hi,

I know this is really a developers list, but there doesn't seem to be a
user list for Perl Xerces, so I hope nobody minds if I ask here.

I'm attempting to build XML::Xerces on a Red Hat box using gcc 2.96.
I've built the Xerces C library (version 2.3.0), but I try to build the
XML::Xerces module (version 2.3.0) I get:

cp Xerces.pm blib/lib/XML/Xerces.pm
make -C Handler static
make[1]: Entering directory
`/home/bogden/tmp/XML-Xerces-2.3.0-4/Handler'
/usr/bin/cc -c  -I. -IHandler -I/home/bogden/include -D_REENTRANT -O2
-DVERSION=\"\" -DXS_VERSION=\"\" -fpic
"-I/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE"
PerlCallbackHandler.cpp
In file included from
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/op.h:4
84,
                 from
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/perl.h
:2346,
                 from PerlCallbackHandler.hpp:12,
                 from PerlCallbackHandler.cpp:2:
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/reentr
.h:611: field `_crypt_struct'
has incomplete type
In file included from
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/perl.h
:3554,
                 from PerlCallbackHandler.hpp:12,
                 from PerlCallbackHandler.cpp:2:
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/proto.
h:199: type specifier omitted
for parameter
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/proto.
h:199: parse error before `,'
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/proto.
h:201: syntax error before `('
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/proto.
h:202: syntax error before `('
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/proto.
h:1307: syntax error before `('
/arm/eda/tools/dsystool/perl-5_8_3/Linux-redhat-7_2-i686/lib/CORE/proto.
h:1308: type specifier omitted
for parameter
make[1]: *** [PerlCallbackHandler.o] Error 1
make[1]: Leaving directory `/home/bogden/tmp/XML-Xerces-2.3.0-4/Handler'
make: *** [blib/arch/auto/Handler/Handler.a] Error 2

I'm using perl 5.8.3, compiled with ithreads and 64 bit support. I was
wondering if there might be known issues with this kind of setup. I've
tried googling but turned up little of use, except for a single Debian
developer who seems to have encountered a similar problem. Can anyone
suggest anything?


Regards,

-- 
Bernie Ogden

Product Engineering Group
ARM Ltd

Tel: 01223 406 022

This e-mail message is intended for the addressee(s) only and may
contain information that is the property of, and/or subject to a
confidentiality agreement between the intended recipient(s), their
organisation and/ or the ARM Group of Companies. If you are not an
intended recipient of this e-mail message, you should not read, copy,
forward or otherwise distribute or further disclose the information in
it; misuse of the contents of this e-mail message may violate various
laws in your state, country or jurisdiction. If you have received this
e-mail message in error, please contact the originator of this e-mail
message via e-mail and delete all copies of this message from your
computer or network, thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.