Sorry to bother you, but I can't get the "make test" part to work in the
build. 

I'm on Solaris, and this is the output of uname -a:
        SunOS apollo 5.8 Generic_108528-04 sun4u sparc SUNW,Ultra-80

I had compiled Xerces-C 1.5.2 with the Sun Forte C compiler (cc). When I
tried compiling the Xerces-Perl stuff with that compiler, I got all sorts of
errors and warnings. So, I compiled Xerces-Perl with gcc. Then "make test"
gave all sorts of errors.

Next, I recompiled Xerces-C with gcc. Now, when I run "make test", I get
errors such as the following:

PERL_DL_NONLAZY=1 /export/wmet/wmet/tools/open/perl/perl/bin/perl
-Iblib/arch -I
blib/lib -I/export/wmet/wmet/tools/open/perl/5.6.1/lib/5.6.1/sun4-solaris
-I/exp
ort/wmet/wmet/tools/open/perl/5.6.1/lib/5.6.1 -e 'use Test::Harness
qw(&runtests
 $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/AttributeList.....Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' for
module
XML::Xerces: ld.so.1: /export/wmet/wmet/tools/open/perl/perl/bin/perl:
fatal: li
bstdc++.so.2.10.0: open failed: No such file or directory at
/export/wmet/wmet/t
ools/open/perl/5.6.1/lib/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/AttributeList.t line 14.
BEGIN failed--compilation aborted at t/AttributeList.t line 14.
dubious
    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8

I can't say for certain whether these were exactly the same errors I got
when Xerces-C was compiled with cc, and Xerces-Perl with gcc. They are
certainly similar.

I have confirmed that blib/arch/auto/XML/Xerces/Xerces.so exists and is
readable.

The perl is a binary version 5.6.1 that we downloaded for Solaris. I don't
know what it was compiled with.

Optimally, I would like to not have to compile Xerces-C with gcc, since it
seems that that commits us to using gcc for anything that calls the Xerces-C
library, and our standard here is to use cc. Plus, the Xerces-C build
instructions seem to suggest that for Solaris, we should use cc.

Where do I go from here?

Thanks in advance.

-------------------------------------------------------------
Dan Cooperstock   416-956-3823
Application Architecture and Core Development
Canadian Equities Technology, CIBC World Markets


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to