[Koha] Trouble installing MARC::File::XML

Lawrence Bean lbean at u47.k12.me.us
Thu Oct 4 11:40:51 NZST 2007


I'm doing a fresh install of Koha on Debian Etch. Everything has gone well
up until
perl -MCPAN -e 'install MARC::File::XML'
The output is below up to the beginning of the errors. Can anyone point me
in the correct direction to solve this? 

-----
Checking if your kit is complete...
Looks good
Writing Makefile for MARC-XML
cp lib/MARC/File/XML.pm blib/lib/MARC/File/XML.pm
cp lib/MARC/File/SAX.pm blib/lib/MARC/File/SAX.pm
cp bin/xml2marc blib/script/xml2marc
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/xml2marc
cp bin/marc2xml blib/script/marc2xml
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/marc2xml
Manifying blib/man1/xml2marc.1p
Manifying blib/man1/marc2xml.1p
Manifying blib/man3/MARC::File::XML.3pm
  KADOS/MARC-XML-0.87.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/batch........NOK 1/23                                                   
  
#   Failed test 'use MARC::File::XML;'
#   at t/batch.t 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/batch........ok 2/23Can't call method "parse_string" on unblessed
reference at
/root/.cpan/build/MARC-XML-0.87-AYK0gi/blib/lib/MARC/File/XML.pm line 450.
# Looks like you planned 23 tests but only ran 3.
# Looks like you failed 1 test of 3 run.
# Looks like your test died just after 3.
 



More information about the Koha mailing list