Hi Jason,
I got myself a newer version of gcc:
~/XML-Xerces-1.5.0> gcc -v
Reading specs from
/opt/TWWfsw/gcc29/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)
~/XML-Xerces-1.5.0>
I got the 1.5 version of xerces-p. I also happen to have xecesc 1.5 (which I
didn't build, but the binaries work fine)
I can build xercesp but I can't run any of the tests. The full test output
is attached, but all the errors have the form:
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/XM
L/Xerces/Xerces.so: symbol __tf12XMLException: referenced symbol not found
at /u
sr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOMCount.t line 14.
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
Thanks for any help. (perl was built with gcc 2.8, my previous version of
gcc; I don't know if that matters)
aravind
>-----Original Message-----
>From: Jason E. Stewart [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 03, 2001 12:15 PM
>To: Aravind Vijayakirthi
>Cc: [EMAIL PROTECTED]
>Subject: Re: [Bug 2239] New: - Error building Xerces.C
>
>
>Hi Aravind,
>
>If you download and build the Xerces.pm-1.5.0 release, this should
>help. SWIG is now completely optional for users.
>
>jas.
>
>"Aravind Vijayakirthi" <[EMAIL PROTECTED]> writes:
>
>> >-----Original Message-----
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED]]On Behalf Of Jason E. Stewart
>> >Sent: Tuesday, June 19, 2001 5:39 PM
>> >To: [EMAIL PROTECTED]
>> >Cc: [EMAIL PROTECTED]
>> >Subject: Re: [Bug 2239] New: - Error building Xerces.C
>> >
>> >
>> >Short answer: this is a swig incompatibility.
>> >
>> >I don't know how this is happening. Did you rebuild Xerces.C and
>> >Xerces.pm using your copy of swig?
>>
>> I downloaded swig from http://www.swig.org/download.html and compiled it.
>>
>> > What was the output of 'perl Makefile.PL'?
>>
>> bash-2.02$ perl Makefile.PL
>> Using XERCES_LIB = /usr/local/home/aravind/xerces-c1_4_0-SolCC/lib
>> Using XERCES_INCLUDE =
>/usr/local/home/aravind/xerces-c1_4_0-SolCC/include
>> Using SWIG version: SWIG_1_1
>> Using Xerces-C version: 1.4
>> Writing Makefile for XML::Xerces::DOMParse
>> Writing Makefile for Handler
>> Writing Makefile for XML::Xerces
>> bash-2.02$
>>
>>
>> aravind
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOMCount.t line 14.
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
t/DOMCreate.........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOMCreate.t line 13.
BEGIN failed--compilation aborted at t/DOMCreate.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/DOMParser.........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOMParser.t line 13.
BEGIN failed--compilation aborted at t/DOMParser.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/DOMPrint..........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOMPrint.t line 13.
BEGIN failed--compilation aborted at t/DOMPrint.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/DOM_Entity........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOM_Entity.t line 13.
BEGIN failed--compilation aborted at t/DOM_Entity.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/DOM_NamedNodeMap..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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOM_NamedNodeMap.t line 13.
BEGIN failed--compilation aborted at t/DOM_NamedNodeMap.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/DOM_NodeList......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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/DOM_NodeList.t line 14.
BEGIN failed--compilation aborted at t/DOM_NodeList.t line 14.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/LocalFileInputSource.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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/LocalFileInputSource.t line 13.
BEGIN failed--compilation aborted at t/LocalFileInputSource.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/MemBufInputSource.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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/MemBufInputSource.t line 13.
BEGIN failed--compilation aborted at t/MemBufInputSource.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/PerlErrorHandler..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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/PerlErrorHandler.t line 14.
BEGIN failed--compilation aborted at t/PerlErrorHandler.t line 14.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/SAX2Count.........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/SAX2Count.t line 14.
BEGIN failed--compilation aborted at t/SAX2Count.t line 14.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/SAXCount..........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/SAXCount.t line 14.
BEGIN failed--compilation aborted at t/SAXCount.t line 14.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/SAXParser.........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/SAXParser.t line 14.
BEGIN failed--compilation aborted at t/SAXParser.t line 14.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/StdInInputSource..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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/StdInInputSource.t line 13.
BEGIN failed--compilation aborted at t/StdInInputSource.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/URLInputSource....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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/URLInputSource.t line 14.
BEGIN failed--compilation aborted at t/URLInputSource.t line 14.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/XMLException......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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/XMLException.t line 15.
BEGIN failed--compilation aborted at t/XMLException.t line 15.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/actualCast........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/actualCast.t line 13.
BEGIN failed--compilation aborted at t/actualCast.t line 13.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/domTest...........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 __tf12XMLException: referenced symbol not
found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/domTest.t line 12.
BEGIN failed--compilation aborted at t/domTest.t line 12.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/DOMCount.t 255 65280 2 2 100.00% 1-2
t/DOMCreate.t 255 65280 2 2 100.00% 1-2
t/DOMParser.t 255 65280 3 3 100.00% 1-3
t/DOMPrint.t 255 65280 2 2 100.00% 1-2
t/DOM_Entity.t 255 65280 3 3 100.00% 1-3
t/DOM_NamedNodeMap.t 255 65280 3 3 100.00% 1-3
t/DOM_NodeList.t 255 65280 3 3 100.00% 1-3
t/LocalFileInputSource.t 255 65280 2 2 100.00% 1-2
t/MemBufInputSource.t 255 65280 2 2 100.00% 1-2
t/PerlErrorHandler.t 255 65280 3 3 100.00% 1-3
t/SAX2Count.t 255 65280 5 5 100.00% 1-5
t/SAXCount.t 255 65280 5 5 100.00% 1-5
t/SAXParser.t 255 65280 4 4 100.00% 1-4
t/StdInInputSource.t 255 65280 2 2 100.00% 1-2
t/URLInputSource.t 255 65280 2 2 100.00% 1-2
t/XMLException.t 255 65280 2 2 100.00% 1-2
t/actualCast.t 255 65280 3 3 100.00% 1-3
t/domTest.t 255 65280 2 2 100.00% 1-2
Failed 18/18 test scripts, 0.00% okay. 50/50 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]