I'm assuming you installed with packages (it'd be silly not to on ubuntu) in which case you just need to run sudo koha-shell before running the command. If for some strange reason you aren't using packages. Then still nothing needs to be installed you just need to set and export the KOHA_CONF and PERL5LIB variables. Chris -- Chris Cormack Catalyst 04 8032238 ----- Reply message ----- From: "vinod mishra" <mishravk79@gmail.com> To: "Chris Cormack" <chris@bigballofwax.co.nz> Cc: "Koha" <Koha@lists.katipo.co.nz> Subject: [Koha] Building OAI sets error Date: Wed, Jul 22, 2015 5:23 PM Dear Chris thanks please see the details below i think something need to be installed: root@bpclhost:/usr/share/koha/bin/migration_tools# ./build_oai_sets.pl Can't locate C4/Context.pm in @INC (you may need to install the C4::Context modu le) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5 .18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /u sr/local/lib/site_perl .) at ./build_oai_sets.pl line 45. BEGIN failed--compilation aborted at ./build_oai_sets.pl line 45. root@bpclhost:/usr/share/koha/bin/migration_tools# I am using 3.20.2 on Ubuntu 14.04 On Wed, Jul 22, 2015 at 10:49 AM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
On 22 July 2015 at 17:13, vinod mishra <mishravk79@gmail.com> wrote:
Dear All
I am getting following error while running ./build_oai_sets.pl
BEGIN failed--compilation aborted at ./build_oai_sets.pl line 45.
Please suggest.
Hi Vinod
What is the rest of the error message? What version of Koha are you running?
Chris
-- *With Regards,Vinod Kumar Mishra,Assistant Librarian,Biju Patnaik Central Library (BPCL),* *NIT Rourkela,* *Sundergadh-769008,* *Odisha,* *India.* *Mob:91+9439420860* *Website: http://mishravk.com/ <http://mishravk.com/>* _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Thanks i followed http://koha.1045719.n5.nabble.com/Can-t-locate-C4-Context-pm-td3060130.html (Export method although it was package installation on ubuntu) Message is: Summary: Set 'bpcl': 7488 biblios Updating database... done. So i hopw it has been done but since i am testing what are the links need to be access for cheking whether it is working or not, when i put the link http://192.168.28.202/cgi-bin/koha/opac/oai.pl it does not give any data etc but getting following errors on OPAC: Sorry, the requested page is not available *Error 404* This message can have following reasons - You made use of an external link to a catalog item that is no longer available - You followed an outdated link e.g. from a search engine or a bookmark - You tried to access a page that needs authentification - An internal link in our catalog home page is broken and the page does not exist What's next? - You can search our catalog using the search form at the top of this page - You can navigate to the *catalog main page* <http://192.168.28.202/cgi-bin/koha/opac-main.pl> Report broken links - To report a broken link or any other issue please send an email to the Koha Administrator <cujlibrary@gmail.com> On Wed, Jul 22, 2015 at 11:09 AM, Chris Cormack <chrisc@catalyst.net.nz> wrote:
I'm assuming you installed with packages (it'd be silly not to on ubuntu) in which case you just need to run sudo koha-shell before running the command.
If for some strange reason you aren't using packages. Then still nothing needs to be installed you just need to set and export the KOHA_CONF and PERL5LIB variables.
Chris
-- Chris Cormack Catalyst 04 8032238
----- Reply message ----- From: "vinod mishra" <mishravk79@gmail.com> To: "Chris Cormack" <chris@bigballofwax.co.nz> Cc: "Koha" <Koha@lists.katipo.co.nz> Subject: [Koha] Building OAI sets error Date: Wed, Jul 22, 2015 5:23 PM
Dear Chris thanks please see the details below i think something need to be installed:
root@bpclhost:/usr/share/koha/bin/migration_tools# ./build_oai_sets.pl Can't locate C4/Context.pm in @INC (you may need to install the C4::Context modu le) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5 .18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /u sr/local/lib/site_perl .) at ./build_oai_sets.pl line 45. BEGIN failed--compilation aborted at ./build_oai_sets.pl line 45. root@bpclhost:/usr/share/koha/bin/migration_tools#
I am using 3.20.2 on Ubuntu 14.04
On Wed, Jul 22, 2015 at 10:49 AM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
Dear All
I am getting following error while running ./build_oai_sets.pl
BEGIN failed--compilation aborted at ./build_oai_sets.pl
On 22 July 2015 at 17:13, vinod mishra <mishravk79@gmail.com> wrote: line 45.
Please suggest.
Hi Vinod
What is the rest of the error message? What version of Koha are you running?
Chris
--
*With Regards,Vinod Kumar Mishra,Assistant Librarian,Biju Patnaik Central Library (BPCL),*
*NIT Rourkela,*
*Sundergadh-769008,*
*Odisha,*
*India.*
*Mob:91+9439420860* *Website: http://mishravk.com/ <http://mishravk.com/>* _______________________________________________ Koha mailing list http://koha-community.orgKoha@lists.katipo.co.nzhttps://lists.katipo.co.nz/m...
-- *With Regards,Vinod Kumar Mishra,Assistant Librarian,Biju Patnaik Central Library (BPCL),* *NIT Rourkela,* *Sundergadh-769008,* *Odisha,* *India.* *Mob:91+9439420860* *Website: http://mishravk.com/ <http://mishravk.com/>*
Vinod Mishra schrieb am 22.07.2015
when i put the link http://192.168.28.202/cgi-bin/koha/opac/oai.pl it does not give any data etc but getting following errors on OPAC:
Your URL is wrong. Try http://192.168.28.202/cgi-bin/koha/oai.pl&verb=Identify See https://www.openarchives.org/OAI/openarchivesprotocol.html for more information on OAI-PMH usage. HTH, Mirko -- Mirko Tietgen mirko@abunchofthings.net http://koha.abunchofthings.net http://meinkoha.de
participants (3)
-
Chris Cormack -
Mirko Tietgen -
vinod mishra