[Koha] Re: Can not install "MARC::File::XML"'
Matthew Metzger
news at metzger.cc
Tue Jan 22 08:03:11 NZDT 2008
I'm experiencing the same problem with MARC::File::XML, MARC::Charset,
and XML::LibXML::SAX::Parser.
the errors all have a problem with make.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
I'm following the directions from: http://wiki.koha.org/doku.php?id=22_to_30
-Matthew
Quanzhong Zhang wrote:
>
>
> 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:&xyz<123>)'
>
> # 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:&abc<def>)'
>
> # 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&Bar<Baz>)'
> # 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
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list