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
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@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Zhang QZ and Matthew - Others have reported difficulty with spurious test failure of MARC::File::XML. Apparently, all they had to do was force the install via CPAN: perl �CMCPAN �Ce 'force install "MARC::File::XML";' You should evaluate for yourself whether or not you regard the test failure to be spurious, or evaluate the installation and module performance afterwards to confirm proper operation. --joe
Joe Atzberger wrote:
Apparently, all they had to do was force the install via CPAN:
perl �CMCPAN �Ce 'force install "MARC::File::XML";'
You should evaluate for yourself whether or not you regard the test failure to be spurious, or evaluate the installation and module performance afterwards to confirm proper operation.
Be aware that 'force install' sometimes does not work. From my notes, I can see that a forced install of Net-Z3950-ZOOM-1.18.tar.gz failed. The solution then is to install manually, try the test, but install regardless. Of course as Joe say, try to confirm proper operation regardless. cheers rickw -- _________________________________ Rick Welykochy || Praxis Services Your food stamps will be stopped effective March 1992 because we received notice that you passed away. May God bless you. You may reapply if there is a change in your circumstances. -- Department of Social Services, Greenville, South Carolina
Matthew Metzger <news@...> writes:
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
Initially I had the same difficulty. I had more success downloading the source and building/installing it manually. The best place to get that, I believe, is: http://search.cpan.org/~kados/MARC-XML-0.88/ I hope you have better luck with that. -james
James Arnall wrote:
Matthew Metzger <news@...> writes:
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
Initially I had the same difficulty. I had more success downloading the source and building/installing it manually. The best place to get that, I believe, is:
http://search.cpan.org/~kados/MARC-XML-0.88/
I hope you have better luck with that.
-james
Thanks James, you put me on the right path. I have posted a complete solution later in this thread. -Matthew
Dear List-Colleagues: I am experiencing the same issue that M. Metzger is: MARC ...XML, Charset and several others, in truth. Am installing 2.2.9 over Fedora 8. I am truly hoping that someone has an idea how to attack this as my own research has not, as yet, turned up any answers. Best, Petrus
Okay, I think I got everything installed correctly, but it took a while. I'll try to recreate the process. I'm using ubuntu 6.06.1 server. sudo perl -MCPAN -e 'install Class::Accessor' sudo aptitude install libxml2-utils sudo aptitude install xml-core sudo apt-get install libxml++2.6-dev wget http://search.cpan.org/CPAN/authors/id/E/ES/ESUMMERS/MARC-Charset-0.98.tar.g... tar -xzf MARC-Charset-0.98.tar.gz cd MARC-Charset-0.98 perl Makefile.PL (took a long time) make make test sudo make install cd .. wget http://search.cpan.org/CPAN/authors/id/K/KA/KADOS/MARC-XML-0.88.tar.gz tar -xzf MARC-XML-0.88.tar.gz cd MARC-XML-0.88 perl Makefile.PL make make test sudo make install cd .. wget ftp://xmlsoft.org/libxml2/libxml2-2.6.31.tar.gz tar -xzf libxml2-2.6.31.tar.gz cd libxml2-2.6.31/ ./configure make (took a long time) sudo make install cd .. wget http://search.cpan.org/CPAN/authors/id/P/PH/PHISH/XML-LibXML-Common-0.13.tar... tar -xzf XML-LibXML-Common-0.13.tar.gz cd XML-LibXML-Common-0.13/ perl Makefile.PL make sudo make install cd .. wget http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-1.65.tar.gz tar -xzf XML-LibXML-1.65.tar.gz cd XML-LibXML-1.65 perl Makefile.PL make sudo make install cd .. Petrus B. van Bork wrote:
Dear List-Colleagues:
I am experiencing the same issue that M. Metzger is: MARC ...XML, Charset and several others, in truth. Am installing 2.2.9 over Fedora 8. I am truly hoping that someone has an idea how to attack this as my own research has not, as yet, turned up any answers.
Best,
Petrus
Matthew Metzger wrote:
sudo aptitude install libxml2-utils sudo aptitude install xml-core
sudo apt-get install libxml++2.6-dev
Why aptitude in the first two cases and apt-get in the last? cheers rickw -- _________________________________ Rick Welykochy || Praxis Services Any sufficiently advanced technology seems like magic. -- Arthur C. Namesake
Rick Welykochy wrote:
Matthew Metzger wrote:
sudo aptitude install libxml2-utils sudo aptitude install xml-core
sudo apt-get install libxml++2.6-dev
Why aptitude in the first two cases and apt-get in the last?
cheers rickw
No particular reason. Both will get the job done. I think I copied and pasted the apt-get line from some online documentation and didn't bother to change it to "aptitude", but aptitude would probably be better in this case as there were some dependencies. thanks for asking. -Matthew
participants (6)
-
James Arnall -
Joe Atzberger -
Matthew Metzger -
Petrus B. van Bork -
Quanzhong Zhang -
Rick Welykochy