I'm back on this. Having successfully completed the make, I'm now having
trouble with the tests? I get the following:
make test
make[1]: Entering directory `/home/simons/sw/XML-Xerces-1.5.3/DOMParse'
make[1]: Leaving directory `/home/simons/sw/XML-Xerces-1.5.3/DOMParse'
make[1]: Entering directory `/home/simons/sw/XML-Xerces-1.5.3/Handler'
make[1]: Leaving directory `/home/simons/sw/XML-Xerces-1.5.3/Handler'
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/DOMCount..........Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' for
module XML::Xerces: ld.so.1: /bin/perl: fatal: relocation error: file
blib/arch/auto/XML/Xerces/Xerces.so: symbol
_6XMLUni.fgIllegalArgumentException_Name: referenced symbol not found at
/usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
at blib/lib/XML/Xerces.pm line 7
BEGIN failed--compilation aborted at t/DOMCount.t line 14.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2001 17:30
To: [EMAIL PROTECTED]
Subject: Re: Solaris build of xerces-p failing
"Simon Stevenson" <[EMAIL PROTECTED]> writes:
> thanks for this, I have reverted to the previous build but am still
> getting
>
> pandora:~/sw/XML-Xerces-1.5.3 >make
> make[1]: Entering directory `/home/simons/sw/XML-Xerces-1.5.3/DOMParse'
> make[1]: Leaving directory `/home/simons/sw/XML-Xerces-1.5.3/DOMParse'
> make[1]: Entering directory `/home/simons/sw/XML-Xerces-1.5.3/Handler'
> make[1]: Leaving directory `/home/simons/sw/XML-Xerces-1.5.3/Handler'
> gcc -c -I. -IHandler -I/opt/xerces/include -D_REENTRANT -DDEBIAN -O
> -DVERSION=\"1.5.3\" -DXS_VERSION=\"1.5.3\" -fPIC
> -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE Xerces.C
> In file included from
>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../include/g++-3
> /strstream.h:32,
> from Xerces.C:462:
>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../include/g++-3
> /iostream.h:97: `ostream::operator <<(char)' has already been declared in
> `ostream'
>
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../include/g++-3
> /iostream.h:217: `istream::operator >>(char &)' has already been declared
in
> `istream'
> make: *** [Xerces.o] Error 1
>
> we are using Solaris 7 here.
Hi Simon,
Sorry for this trouble Simon, but Solaris needs -DHAS_BOOL to
compile. Just add it to $CFLAGS in Makefile.PL and you should be fine.
I don't yet have a good system to discover that build environment, and
so I tried to make the default Makefile work for all
architectures. Turns out RedHat and Solaris have conflicting needs.
Luckily I just discovered Detect::OS at the O'Reilly open source
convention, and it will nicely do what I need.
Thanks!
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail, and any attachment, is confidential. If you have received
it in error, please delete it from your system, do not use or disclose
the information in any way, and notify me immediately. The contents of
this message may contain personal views which are not the views of the
BBC, unless specifically stated.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]