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" <[email protected]> To: "Chris Cormack" <[email protected]> Cc: "Koha" <[email protected]> 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 <[email protected]> wrote: > On 22 July 2015 at 17:13, vinod mishra <[email protected]> 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 [email protected] https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org [email protected] https://lists.katipo.co.nz/mailman/listinfo/koha

