[Koha] Can not install "MARC::File::XML"'

Quanzhong Zhang quanzhong.zhang at xjtlu.edu.cn
Sun Jan 20 20:51:34 NZDT 2008



Dear Sir/Madam,

Could you kindly help me?

I am trying to install Koha 3 on CentOS5.0 x86_64 with perl 5.8.8. Everything has gone well up until
Perl ¨CMCPAN ¨Ce 'install "MARC::File::XML"'

I have searched for the solution from Koha mailing list, but no method fit me. No idea for it and expecting your help now. 
A part error message as following

Best Regards,

Yours Faithfully,
Zhang QZ


-----------------------------------
#   Failed test 'escaped leader'
#   at t/escape.t line 26.
#                   '<?xml version="1.0" encoding="UTF-8"?>
# <collection
#   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
#   xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
#   xmlns="http://www.loc.gov/MARC21/slim">
#
# <record>
#   <leader>&xyz<123></leader>
#   <controlfield tag="005">&abc<def></controlfield>
#   <datafield tag="245" ind1="0" ind2="1">
#     <subfield code="a">Foo&Bar<Baz></subfield>
#   </datafield>
# </record>
#
# </collection>'
#     doesn't match '(?-xism:&amp;xyz&lt;123&gt;)'

#   Failed test 'escape control field'
#   at t/escape.t line 27.
#                   '<?xml version="1.0" encoding="UTF-8"?>
# <collection
#   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
#   xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
#   xmlns="http://www.loc.gov/MARC21/slim">
#
# <record>
#   <leader>&xyz<123></leader>
#   <controlfield tag="005">&abc<def></controlfield>
#   <datafield tag="245" ind1="0" ind2="1">
#     <subfield code="a">Foo&Bar<Baz></subfield>
#   </datafield>
# </record>
#
# </collection>'
#     doesn't match '(?-xism:&amp;abc&lt;def&gt;)'

#   Failed test 'escaped field'
#   at t/escape.t line 28.
#                   '<?xml version="1.0" encoding="UTF-8"?>
# <collection
#   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
#   xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
#   xmlns="http://www.loc.gov/MARC21/slim">
#
# <record>
#   <leader>&xyz<123></leader>
#   <controlfield tag="005">&abc<def></controlfield>
#   <datafield tag="245" ind1="0" ind2="1">
#     <subfield code="a">Foo&Bar<Baz></subfield>
#   </datafield>
# </record>
#
# </collection>'
#     doesn't match '(?-xism:Foo&amp;Bar&lt;Baz&gt;)'
# Looks like you failed 7 tests of 10.
t/escape......... Dubious, test returned 7 (wstat 1792, 0x700)
 Failed 7/10 subtests
t/namespace......Unable to provide required features
Compilation failed in require at (eval 3) line 3.
 at t/namespace.t line 9
# Looks like your test died before it could output anything.
t/namespace...... Dubious, test returned 255 (wstat 65280, 0xff00)
 Failed 1/1 subtests
t/subfield0......Unable to provide required features
Compilation failed in require at (eval 3) line 3.
 at t/subfield0.t line 8
# Looks like your test died before it could output anything.
t/subfield0...... Dubious, test returned 255 (wstat 65280, 0xff00)
 Failed 1/1 subtests

Test Summary Report
-------------------
t/batch.t    (Wstat: 65280 Tests: 3 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 23 tests but ran 3.
t/encode.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/escape.t   (Wstat: 1792 Tests: 10 Failed: 7)
  Failed tests:  1-4, 8-10
  Non-zero exit status: 7
t/namespace.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/subfield0.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=5, Tests=13,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.66 cusr
0.09 csys =  0.78 CPU)
Result: FAIL
Failed 5/5 test programs. 8/13 subtests failed.
make: *** [test_dynamic] Error 255
  KADOS/MARC-XML-0.88.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
  reports KADOS/MARC-XML-0.88.tar.gz
Running make install
  make test had returned bad status, won't install without force



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080120/90af33ee/attachment.html


More information about the Koha mailing list