try force install : root@koha:/home/sysadmin# cpan -fi HTTP::OAI Erik Lewis wrote:
Hi, I'm installing Koha 3.02 on Ubuntu 8.04. Everything looked good up until I tried to install HTTP::OAI, then I started getting errors. Any thoughts, suggestions, or can I just force it and forget about it?
root@koha:/home/sysadmin# cpan HTTP::OAI CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 11 Jun 2009 11:26:57 GMT Running install for module HTTP::OAI Running make for T/TI/TIMBRODY/HTTP-OAI-3.21.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/T/TI/TIMBRODY/HTTP- OAI-3.21.tar.gz ok Scanning cache /root/.cpan/build for sizes HTTP-OAI-3.21/ HTTP-OAI-3.21/CHANGES HTTP-OAI-3.21/Makefile.PL HTTP-OAI-3.21/t/ HTTP-OAI-3.21/t/listidentifiers.t HTTP-OAI-3.21/t/listmetadataformats.t HTTP-OAI-3.21/t/01parse.t HTTP-OAI-3.21/t/getrecord.t HTTP-OAI-3.21/t/error.t HTTP-OAI-3.21/t/00static.t HTTP-OAI-3.21/t/identify.t HTTP-OAI-3.21/t/50mets.t HTTP-OAI-3.21/t/02token.t HTTP-OAI-3.21/t/80network.t HTTP-OAI-3.21/MANIFEST.SKIP HTTP-OAI-3.21/README HTTP-OAI-3.21/MANIFEST HTTP-OAI-3.21/bin/ HTTP-OAI-3.21/bin/oai_browser.pl HTTP-OAI-3.21/bin/oai_static_gateway.pl HTTP-OAI-3.21/META.yml HTTP-OAI-3.21/lib/ HTTP-OAI-3.21/lib/HTTP/ HTTP-OAI-3.21/lib/HTTP/OAI.pm HTTP-OAI-3.21/lib/HTTP/OAI/ HTTP-OAI-3.21/lib/HTTP/OAI/Metadata/ HTTP-OAI-3.21/lib/HTTP/OAI/Metadata/METS.pm HTTP-OAI-3.21/lib/HTTP/OAI/Metadata/OAI_Identifier.pm HTTP-OAI-3.21/lib/HTTP/OAI/Metadata/OAI_Eprints.pm HTTP-OAI-3.21/lib/HTTP/OAI/Metadata/OAI_DC.pm HTTP-OAI-3.21/lib/HTTP/OAI/Record.pm HTTP-OAI-3.21/lib/HTTP/OAI/Response.pm HTTP-OAI-3.21/lib/HTTP/OAI/Set.pm HTTP-OAI-3.21/lib/HTTP/OAI/Error.pm HTTP-OAI-3.21/lib/HTTP/OAI/SAXHandler.pm HTTP-OAI-3.21/lib/HTTP/OAI/Header.pm HTTP-OAI-3.21/lib/HTTP/OAI/Repository.pm HTTP-OAI-3.21/lib/HTTP/OAI/Identify.pm HTTP-OAI-3.21/lib/HTTP/OAI/ListRecords.pm HTTP-OAI-3.21/lib/HTTP/OAI/Harvester.pm HTTP-OAI-3.21/lib/HTTP/OAI/ListSets.pm HTTP-OAI-3.21/lib/HTTP/OAI/MetadataFormat.pm HTTP-OAI-3.21/lib/HTTP/OAI/ResumptionToken.pm HTTP-OAI-3.21/lib/HTTP/OAI/UserAgent.pm HTTP-OAI-3.21/lib/HTTP/OAI/Headers.pm HTTP-OAI-3.21/lib/HTTP/OAI/ListMetadataFormats.pm HTTP-OAI-3.21/lib/HTTP/OAI/Encapsulation.pm HTTP-OAI-3.21/lib/HTTP/OAI/Metadata.pm HTTP-OAI-3.21/lib/HTTP/OAI/ListIdentifiers.pm HTTP-OAI-3.21/lib/HTTP/OAI/PartialList.pm HTTP-OAI-3.21/lib/HTTP/OAI/GetRecord.pm HTTP-OAI-3.21/examples/ HTTP-OAI-3.21/examples/getrecord.xml HTTP-OAI-3.21/examples/identify.xml HTTP-OAI-3.21/examples/repository.xml HTTP-OAI-3.21/examples/mets.xml Removing previously used /root/.cpan/build/HTTP-OAI-3.21
CPAN.pm: Going to build T/TI/TIMBRODY/HTTP-OAI-3.21.tar.gz
repositoryName eq 'Demo repository'); t/00static...............NOK 5# Failed test 6 in t/00static.t at line 27 # t/00static.t line 27 is: ok($lmdf->is_success); # Failed test 7 in t/00static.t at line 28 # t/00static.t line 28 is: ok(my $mdf = $lmdf->next); # Failed test 8 in t/00static.t at line 29 # t/00static.t line 29 is: ok($mdf && $mdf->metadataPrefix && $mdf- metadataPrefix eq 'oai_dc'); t/00static...............NOK 8# Failed test 9 in t/00static.t at line 33 # t/00static.t line 33 is: ok($lr->is_success); # Failed test 10 in t/00static.t at line 35 # t/00static.t line 35 is: ok($rec && $rec->identifier && $rec- identifier eq 'oai:arXiv:cs/0112017'); t/00static...............NOK 10# Failed test 11 in t/00static.t at
Checking if your kit is complete... Looks good Writing Makefile for HTTP-OAI cp lib/HTTP/OAI/ListIdentifiers.pm blib/lib/HTTP/OAI/ListIdentifiers.pm cp lib/HTTP/OAI/PartialList.pm blib/lib/HTTP/OAI/PartialList.pm cp lib/HTTP/OAI/Set.pm blib/lib/HTTP/OAI/Set.pm cp lib/HTTP/OAI/UserAgent.pm blib/lib/HTTP/OAI/UserAgent.pm cp lib/HTTP/OAI/Record.pm blib/lib/HTTP/OAI/Record.pm cp lib/HTTP/OAI/Metadata/OAI_Identifier.pm blib/lib/HTTP/OAI/Metadata/ OAI_Identifier.pm cp lib/HTTP/OAI/SAXHandler.pm blib/lib/HTTP/OAI/SAXHandler.pm cp lib/HTTP/OAI/Error.pm blib/lib/HTTP/OAI/Error.pm cp lib/HTTP/OAI/Harvester.pm blib/lib/HTTP/OAI/Harvester.pm cp lib/HTTP/OAI/Header.pm blib/lib/HTTP/OAI/Header.pm cp lib/HTTP/OAI/Headers.pm blib/lib/HTTP/OAI/Headers.pm cp lib/HTTP/OAI/Metadata/OAI_Eprints.pm blib/lib/HTTP/OAI/Metadata/ OAI_Eprints.pm cp lib/HTTP/OAI/ListRecords.pm blib/lib/HTTP/OAI/ListRecords.pm cp lib/HTTP/OAI/GetRecord.pm blib/lib/HTTP/OAI/GetRecord.pm cp lib/HTTP/OAI.pm blib/lib/HTTP/OAI.pm cp lib/HTTP/OAI/Metadata.pm blib/lib/HTTP/OAI/Metadata.pm cp lib/HTTP/OAI/ListMetadataFormats.pm blib/lib/HTTP/OAI/ ListMetadataFormats.pm cp lib/HTTP/OAI/Response.pm blib/lib/HTTP/OAI/Response.pm cp lib/HTTP/OAI/ResumptionToken.pm blib/lib/HTTP/OAI/ResumptionToken.pm cp lib/HTTP/OAI/Metadata/OAI_DC.pm blib/lib/HTTP/OAI/Metadata/OAI_DC.pm cp lib/HTTP/OAI/Metadata/METS.pm blib/lib/HTTP/OAI/Metadata/METS.pm cp lib/HTTP/OAI/Encapsulation.pm blib/lib/HTTP/OAI/Encapsulation.pm cp lib/HTTP/OAI/Identify.pm blib/lib/HTTP/OAI/Identify.pm cp lib/HTTP/OAI/ListSets.pm blib/lib/HTTP/OAI/ListSets.pm cp lib/HTTP/OAI/Repository.pm blib/lib/HTTP/OAI/Repository.pm cp lib/HTTP/OAI/MetadataFormat.pm blib/lib/HTTP/OAI/MetadataFormat.pm cp bin/oai_browser.pl blib/script/oai_browser.pl /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ oai_browser.pl Manifying blib/man1/oai_browser.pl.1p Manifying blib/man3/HTTP::OAI::ListIdentifiers.3pm Manifying blib/man3/HTTP::OAI::Set.3pm Manifying blib/man3/HTTP::OAI::UserAgent.3pm Manifying blib/man3/HTTP::OAI::Record.3pm Manifying blib/man3/HTTP::OAI::SAXHandler.3pm Manifying blib/man3/HTTP::OAI::Error.3pm Manifying blib/man3/HTTP::OAI::Harvester.3pm Manifying blib/man3/HTTP::OAI::Header.3pm Manifying blib/man3/HTTP::OAI::Headers.3pm Manifying blib/man3/HTTP::OAI::ListRecords.3pm Manifying blib/man3/HTTP::OAI::GetRecord.3pm Manifying blib/man3/HTTP::OAI.3pm Manifying blib/man3/HTTP::OAI::Metadata.3pm Manifying blib/man3/HTTP::OAI::Response.3pm Manifying blib/man3/HTTP::OAI::ListMetadataFormats.3pm Manifying blib/man3/HTTP::OAI::ResumptionToken.3pm Manifying blib/man3/HTTP::OAI::Metadata::OAI_DC.3pm Manifying blib/man3/HTTP::OAI::Metadata::METS.3pm Manifying blib/man3/HTTP::OAI::Encapsulation.3pm Manifying blib/man3/HTTP::OAI::Identify.3pm Manifying blib/man3/HTTP::OAI::ListSets.3pm Manifying blib/man3/HTTP::OAI::Repository.3pm Manifying blib/man3/HTTP::OAI::MetadataFormat.3pm /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/00static...............ok 1/20Use of uninitialized value in string eq at t/00static.t line 16. # Failed test 3 in t/00static.t at line 16 # t/00static.t line 16 is: ok($repo->Identify->version eq '2.0s'); t/00static...............NOK 3# Failed test 4 in t/00static.t at line 22 # t/00static.t line 22 is: ok($id->is_success); # Failed test 5 in t/00static.t at line 23 # t/00static.t line 23 is: ok($id->repositoryName && $id- line 39 # t/00static.t line 39 is: ok($li->is_success); # Failed test 12 in t/00static.t at line 41 # t/00static.t line 41 is: ok(@recs && $recs[-1]->identifier eq 'oai:perseus:Perseus:text:1999.02.0084'); t/00static...............NOK 12# Failed test 13 in t/00static.t at line 45 # t/00static.t line 45 is: ok($ls->is_success); # Failed test 14 in t/00static.t at line 47 # t/00static.t line 47 is: ok(@errs && $errs[-1]->code eq 'noSetHierarchy'); t/00static...............NOK 14# Failed test 15 in t/00static.t at line 51 # t/00static.t line 51 is: ok($gr->is_success); # Failed test 16 in t/00static.t at line 53 # t/00static.t line 53 is: ok($rec && $rec->identifier eq 'oai:perseus:Perseus:text:1999.02.0084'); t/00static...............NOK 16# Failed test 18 in t/00static.t at line 59 # t/00static.t line 59 is: ok(@errs && $errs[0]->code eq 'idDoesNotExist'); t/00static...............NOK 18# Failed test 20 in t/00static.t at line 64 # t/00static.t line 64 is: ok(@errs && $errs[0]->code eq 'cannotDisseminateFormat'); t/00static...............FAILED tests 3-16, 18, 20 Failed 16/20 tests, 20.00% okay t/01parse................ok 1/4 # Failed test at t/01parse.t line 18. Can't call method "metadata" on an undefined value at t/01parse.t line 19. t/01parse................NOK 2# Looks like you planned 4 tests but ran 2. # Looks like you failed 1 test of 2 run. # Looks like your test exited with 9 just after 2. t/01parse................dubious Test returned status 9 (wstat 2304, 0x900) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay t/02token................ok t/50mets.................ok 1/3Can't call method "metadata" on an undefined value at t/50mets.t line 20. # Looks like you planned 3 tests but ran 1. # Looks like your test exited with 9 just after 1. t/50mets.................dubious Test returned status 9 (wstat 2304, 0x900) DIED. FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/80network..............ok 5/5 skipped: Skipping flakey net tests (set HTTP_OAI_NETTESTS env. variable to enable) t/error..................ok t/getrecord..............ok 1/8Can't call method "metadata" on an undefined value at t/getrecord.t line 72. # Looks like you planned 8 tests but ran 6. # Looks like your test exited with 2 just after 6. t/getrecord..............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 7-8 Failed 2/8 tests, 75.00% okay t/identify...............ok 1/8# Test 7 got: <UNDEF> (t/identify.t at line 32) t/identify...............NOK 7# Expected: "mailto:tdb01r@ecs.soton.ac.uk " # t/identify.t line 32 is: ok($r->adminEmail,'mailto:tdb01r@ecs.soton.ac.uk') ; t/identify...............FAILED test 7 Failed 1/8 tests, 87.50% okay t/listidentifiers........ok t/listmetadataformats....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/00static.t 20 16 80.00% 3-16 18 20 t/01parse.t 9 2304 4 5 125.00% 2-4 t/50mets.t 9 2304 3 4 133.33% 2-3 t/getrecord.t 2 512 8 4 50.00% 7-8 t/identify.t 8 1 12.50% 7 5 subtests skipped. Failed 5/10 test scripts, 50.00% okay. 24/60 subtests failed, 60.00% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK 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
-- View this message in context: http://www.nabble.com/Problem-with-HTTP%3A%3AOAI-tp23998591p24008254.html Sent from the Koha - Discuss mailing list archive at Nabble.com.