You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Bernard Ogden <Be...@arm.com> on 2004/04/22 18:46:51 UTC
Can't build XML::Xerces
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: Can't build XML::Xerces
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Bernard Ogden" <Be...@arm.com> writes:
> 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.
Welcome!
This is the correct place - traffic here is pretty low, so we left
everything on one list.
> 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
This is an *old* problem that has nothing to do with Xerces, and it
was solved way back in perl-5.8.0, I don't know why it's come back.
Try this:
$ perl -V:ccflags
ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64';
You should see -D_GNU_SOURCE in the list or you are in trouble. Look
on google for solutions.
That's about all I can suggest. (other than switching to debian ;-)
Cheers,
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org