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 bh...@gmx.de on 2003/02/13 14:52:54 UTC

Problem while installing Xerces-perl

Hi,

I'm trying to install Xerces-perl in an user-directory, means not in
/usr/... but under /home/... and without root-permissions.

I successfully installed perl and xerces-c in my Home-Directory. I set the
PATH environment to the bin directory and the LD_LIBRARY_PATH to the lib
directory.
The make and install of xerces-c worked well, to do this I had to set the
XERCESCROOT variable.
Creating the Makefile of xerces-perl with 'perl Makefile.PL' works also
well. The Makefile looks ok, I can't find any wrong directories. The make of
xerces-perl seems to be all right, too.
The problem begins when calling 'make test':

haj@linux:~/xakte/platform/src/XML-Xerces-1.5.2_0> make test
make[1]: Entering directory
`/home/haj/xakte/platform/src/XML-Xerces-1.5.2_0/DOMParse'
make[1]: Leaving directory
`/home/haj/xakte/platform/src/XML-Xerces-1.5.2_0/DOMParse'
PERL_DL_NONLAZY=1 /home/haj/xakte/platform/linuxpc/bin/perl -Iblib/arch
-Iblib/lib -I/home/haj/xakte/platform/linuxpc/lib/perl5/5.6.1/i686-linux
-I/home/haj/xakte/platform/linuxpc/lib/perl5/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: /lib/libxerces-c1_5_2.so: undefined symbol:
setDoNamespaces__9DOMParserb at
/home/haj/xakte/platform/linuxpc/lib/perl5/5.6.1/i686-linux/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.
t/AttributeList.....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
        Failed 8/8 tests, 0.00% okay
t/Attributes........Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' for
module XML::Xerces: /lib/libxerces-c1_5_2.so: undefined symbol:
setDoNamespaces__9DOMParserb at
/home/haj/xakte/platform/linuxpc/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206.
 at blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/Attributes.t line 14.
BEGIN failed--compilation aborted at t/Attributes.t line 14.
t/Attributes........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
        Failed 14/14 tests, 0.00% okay
t/DOMCount..........Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' for
module XML::Xerces: /lib/libxerces-c1_5_2.so: undefined symbol:
setDoNamespaces__9DOMParserb at
/home/haj/xakte/platform/linuxpc/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206.
 at blib/lib/XML/Xerces.pm line 7


This happens with all tests. All of them fail.

I have no idea what is wrong. Any ideas?

Thanks Bjoern

-- 
 
Bjoern Haje
mailto:bhaje@gmx.de
PGP-KeyID: 0xB3A620BB
ICQ: 158775500
Fingerprint: CB9B 6447 E8EC 0BA7 A1A9 0EE3 B865 931F B3A6 
20BB


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: Problem while installing Xerces-perl

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
bhaje@gmx.de writes:

> I'm trying to install Xerces-perl in an user-directory, means not in
> /usr/... but under /home/... and without root-permissions.

This should be fine.

> I successfully installed perl and xerces-c in my Home-Directory. I set the
> PATH environment to the bin directory and the LD_LIBRARY_PATH to the lib
> directory.
> The make and install of xerces-c worked well, to do this I had to set the
> XERCESCROOT variable.

Did you test any of the sample xerces-c programs like DOMCount?

> t/AttributeList.....Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' for
> module XML::Xerces: /lib/libxerces-c1_5_2.so: undefined symbol:
> setDoNamespaces__9DOMParserb at

You're getting an undefined symbol error - and it looks like it is
using Xerces-C-1.5.2, which is ancient history. I suggest using 2.0 or
2.1 (I'll be able to release 2.2 next week).

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org