Hey Michael, Excellent build report, thanks for the detail
"Michael Grabenstein" <[EMAIL PROTECTED]> writes: > This built sweetly on Linux, but on our old solaris box I am having > problems... Built on linux ... that's useful, it should have, but I'm still glad to know it worked for you. > uname -a: > SunOS myhostname 5.6 Generic_105181-28 sun4u sparc SUNW,Ultra-Enterprise Likewise, useful to know what the arch details are. > Trying to build XML-Xerces-1.7.0-1 (also failed on 1.7.0) using C > library xerces-c-src1_7_0. Good, you it's a general 1.7 issue, not just 1.7.0-1 > Built xerces-c from scratch, built perl from scratch. > > g++ -v > Reading specs from > /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/specs > > gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) Good man - compiler version and everything. Geez. Every user should be like you. Isn't that a bit old? I'd suggest upgrading to 2.95. A lot has happened since then. > The make looks clean, but make test and all fail like: > t/domTest...........Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' > for module XML::Xerces: ld.so.1: /u/mgrabens/bin/perl: fatal: > relocation error: file blib/arch/auto/XML/Xerces/Xerces.so: symbol > _16XMLPlatformUtils.fgTransService: referenced symbol not found at > /u/mgrabens/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206. Ok, this is a dynamic loading problem. It's not find the XMLPlatformUtils::fgTransService transService variable in your libxerces.so file. > perl -V: > ccversion='', gccversion='egcs-2.91.60 19981201 (egcs-1.1.1 > release)', gccosandvers='solaris2.6' Also useful - Perl was built with the same version of gcc that you are using to compile the library. Here's my gues. You're using the Apache Xerces-C binary for Solaris, aren't you? If so, they build it with the native C++ compiler which mangles it's symbol names completely differently than g++ does, which means that the libraries are incompatible with one another. You'll have to download the Xerces-C source and build it with g++, and the problem should go away. HTH, jas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
