problem with MARC::File::XML on RH 5 64bits

2007-12-17 Thread paul POULAIN

Hello,

I try to install Koha on a RH server, that was previously on RH 4 (Koha 
worked fine), and that has just be upgraded to a RH 5 (and Koha don't 
work at all).

RH being 64 bits, on a Dell server.

I have reinstalled yaz, and zebra and get a nasty error on Koha.
Investigating, it seems I have a problem with M::F::X :

[EMAIL PROTECTED] MARC-XML-0.88]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e 
test_harness(0, 'blib/lib', 'blib/arch') t/*.t

t/batch
#   Failed test 'use MARC::File::XML;'
t/batchNOK 1#   in t/batch.t at line 4.
# Tried to use 'MARC::File::XML'.
# Error:  Unable to provide required features
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t/batch.t line 4.
t/batchok 2/23Can't call method parse_string on unblessed 
reference at /root/.cpan/build/MARC-XML-0.88/blib/lib/MARC/File/XML.pm 
line 448.

Any idea welcomed..., as google is not my friend on this.

--
Paul POULAIN
BibLibre SARL
Expert en Logiciels Libres pour l'info-doc
Tel : 04 91 31 45 19 



Re: problem with MARC::File::XML on RH 5 64bits

2007-12-17 Thread Ed Summers
It looks like you don't have an XML parser installed that supports the
features that M::F::X requires:

  use XML::SAX qw(Namespaces Validation);

Try executing that, and see if you get a similar exception. FWIW
Namespace support is required for the version of MARC::File::SAX that
is in CVS since it now uses LocalName rather than Name to determine a
tag name.

//Ed