You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2001/07/03 18:15:21 UTC

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" <ar...@tgix.com> writes:

> >-----Original Message-----
> >From: jasons@amadeus.openinformatics.com
> >[mailto:jasons@amadeus.openinformatics.com]On Behalf Of Jason E. Stewart
> >Sent: Tuesday, June 19, 2001 5:39 PM
> >To: aravind@tgix.com
> >Cc: xerces-p-dev@xml.apache.org
> >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: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


RE: [Bug 2239] New: - Error building Xerces.C

Posted by Aravind Vijayakirthi <ar...@tgix.com>.
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:jason@openinformatics.com]
>Sent: Tuesday, July 03, 2001 12:15 PM
>To: Aravind Vijayakirthi
>Cc: xerces-p-dev@xml.apache.org
>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" <ar...@tgix.com> writes:
>
>> >-----Original Message-----
>> >From: jasons@amadeus.openinformatics.com
>> >[mailto:jasons@amadeus.openinformatics.com]On Behalf Of Jason E. Stewart
>> >Sent: Tuesday, June 19, 2001 5:39 PM
>> >To: aravind@tgix.com
>> >Cc: xerces-p-dev@xml.apache.org
>> >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: xerces-p-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
>
>