"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]