If you're not on a Debian-based system, I'd try the following: cpan install App::Minus cpanm HTTP::OAI@3.28
Version 4.03 of HTTP::OAI is very broken, if I recall correctly. More info at https://rt.cpan.org/Public/Bug/Display.html?id=102010 David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Office: 02 9212 0899 Direct: 02 8005 0595 > -----Original Message----- > Date: Tue, 22 Mar 2016 10:36:14 +0000 > From: Jonathan Druart <jonathan.dru...@bugs.koha-community.org> > To: regina kivuyo <reginaickiv...@gmail.com> > Cc: "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz> > Subject: Re: [Koha] HTTP::OAI > Message-ID: > <CAJzKNY4M_UQVaq9EaNQVEoi2g4iF1aw6CEnhrEPZZe1e5QDkkQ@ > mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Try install it using the debian package: `sudo apt-get install > libhttp-oai-perl` > > 2016-03-22 10:15 GMT+00:00 regina kivuyo <reginaickiv...@gmail.com>: > > sorry for disturbance i tried to install HTTP::OAI > > root@library-HP-Pro-3400-Series-MT:/home/koha-3.10.02# cpan force > install > > HTTP::OAI > > Reading '/root/.cpan/Metadata' > > Database was generated on Mon, 21 Mar 2016 16:17:02 GMT > > Warning: Cannot install force, don't know what it is. > > Try the command > > > > i /force/ > > > > to find objects with matching identifiers. > > install is up to date (0.01). > > Running install for module 'HTTP::OAI' > > Checksum for > > /root/.cpan/sources/authors/id/T/TI/TIMBRODY/HTTP-OAI-4.03.tar.gz ok > > Configuring T/TI/TIMBRODY/HTTP-OAI-4.03.tar.gz with Makefile.PL > > Checking if your kit is complete... > > Warning: the following files are missing in your kit: > > MYMETA.json > > MYMETA.yml > > Please inform the author. > > Warning: NAME must be a package name > > Generating a Unix-style Makefile > > Writing Makefile for HTTP-OAI > > Writing MYMETA.yml and MYMETA.json > > TIMBRODY/HTTP-OAI-4.03.tar.gz > > /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK > > Running make for T/TI/TIMBRODY/HTTP-OAI-4.03.tar.gz > > cp lib/HTTP/OAI/Verb.pm blib/lib/HTTP/OAI/Verb.pm > > cp lib/HTTP/OAI/UserAgent.pm blib/lib/HTTP/OAI/UserAgent.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/Harvester.pm blib/lib/HTTP/OAI/Harvester.pm > > cp lib/HTTP/OAI/Header.pm blib/lib/HTTP/OAI/Header.pm > > cp lib/HTTP/OAI/ListRecords.pm blib/lib/HTTP/OAI/ListRecords.pm > > cp lib/HTTP/OAI/SAX/Driver.pm blib/lib/HTTP/OAI/SAX/Driver.pm > > cp lib/HTTP/OAI/MemberMixin.pm blib/lib/HTTP/OAI/MemberMixin.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/SAX/Base.pm blib/lib/HTTP/OAI/SAX/Base.pm > > cp lib/HTTP/OAI/Repository.pm blib/lib/HTTP/OAI/Repository.pm > > cp lib/HTTP/OAI/ListIdentifiers.pm blib/lib/HTTP/OAI/ListIdentifiers.pm > > cp lib/HTTP/OAI/Debug.pm blib/lib/HTTP/OAI/Debug.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/Record.pm blib/lib/HTTP/OAI/Record.pm > > cp lib/HTTP/OAI/Error.pm blib/lib/HTTP/OAI/Error.pm > > cp lib/HTTP/OAI/Metadata/OAI_Eprints.pm > > blib/lib/HTTP/OAI/Metadata/OAI_Eprints.pm > > cp lib/HTTP/OAI/GetRecord.pm blib/lib/HTTP/OAI/GetRecord.pm > > cp lib/HTTP/OAI/Metadata.pm blib/lib/HTTP/OAI/Metadata.pm > > cp lib/HTTP/OAI.pm blib/lib/HTTP/OAI.pm > > cp lib/HTTP/OAI/ListMetadataFormats.pm > > blib/lib/HTTP/OAI/ListMetadataFormats.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/SAX/Text.pm blib/lib/HTTP/OAI/SAX/Text.pm > > cp lib/HTTP/OAI/ListSets.pm blib/lib/HTTP/OAI/ListSets.pm > > cp lib/HTTP/OAI/MetadataFormat.pm > blib/lib/HTTP/OAI/MetadataFormat.pm > > cp lib/HTTP/OAI/SAX/Trace.pm blib/lib/HTTP/OAI/SAX/Trace.pm > > cp bin/oai_pmh.pl blib/script/oai_pmh.pl > > "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ > > oai_pmh.pl > > 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 2 pod documents > > Manifying 25 pod documents > > TIMBRODY/HTTP-OAI-4.03.tar.gz > > /usr/bin/make -- OK > > Running make test > > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" > > "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > > 'blib/lib', 'blib/arch')" t/*.t > > t/000xml_sax.t ........... ok > > t/00static.t ............. ok > > t/01parse.t .............. ok > > t/02token.t .............. ok > > t/03badbytes.t ........... ok > > t/50mets.t ............... ok > > t/80network.t ............ ok > > t/error.t ................ ok > > t/getrecord.t ............ 1/8 Can't call method "start_element" on an > > undefined value at > > /root/.cpan/build/HTTP-OAI-4.03-UQClDl/blib/lib/HTTP/OAI/Verb.pm line > 53. > > # Looks like you planned 8 tests but ran 7. > > # Looks like your test exited with 255 just after 7. > > t/getrecord.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) > > Failed 1/8 subtests > > t/identify.t ............. ok > > t/listidentifiers.t ...... ok > > t/listmetadataformats.t .. ok > > > > Test Summary Report > > ------------------- > > t/getrecord.t (Wstat: 65280 Tests: 7 Failed: 0) > > Non-zero exit status: 255 > > Parse errors: Bad plan. You planned 8 tests but ran 7. > > Files=12, Tests=78, 8 wallclock secs ( 0.04 usr 0.02 sys + 1.43 cusr > > 0.11 csys = 1.60 CPU) > > Result: FAIL > > Failed 1/12 test programs. 0/78 subtests failed. > > make: *** [test_dynamic] Error 255 > > TIMBRODY/HTTP-OAI-4.03.tar.gz > > /usr/bin/make test -- NOT OK > > //hint// to see the cpan-testers results for installing this module, try: > > reports TIMBRODY/HTTP-OAI-4.03.tar.gz > > root@library-HP-Pro-3400-Series-MT:/home/koha-3.10.02# > > > > help me > > > > -- > > regina > > _______________________________________________ > > Koha mailing list http://koha-community.org > > Koha@lists.katipo.co.nz > > https://lists.katipo.co.nz/mailman/listinfo/koha > > > ------------------------------ > ************************************* _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha