[Koha] Can't locate C4/Context.pm

Roche III, Edward edward_roche at solanco.k12.pa.us
Fri Jun 19 00:48:23 NZST 2009


That worked. I will make sure I write it down as part of my installation instructions.

Thanks!
Ed

Edward J. Roche
Network Administrator
Solanco School District
717.786.2151 x2437

"At the End of the Day, Did You Play to Win or Not to Lose?" 
     

-----Original Message-----
From: Abhishek Amberkar [अभिषेक] [mailto:abhishek.amberkar at gmail.com] 
Sent: Thursday, June 18, 2009 12:49 AM
To: Roche III, Edward
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] Can't locate C4/Context.pm

2009/6/18 Roche III, Edward <edward_roche at solanco.k12.pa.us>:
> I know I have been down this road before but I am having the issue again. I
> run the (2) export commands:
>
>
>
> export PERL5LIB=/usr/share/koha/lib (C4 is located here)
>
> export KOHA_CONF=/etc/koha/koha-conf.xml (the file is located here)
>
>
>
> But I still keep getting the error when running the perl
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b –w command
>
>
>
> Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5.
>



Copying C4 directory to /etc/perl/ should solve your problem.

# cp   -a   /usr/share/koha/lib/C4/    /etc/perl/

-- 
With Regards
Abhishek Amberkar

Learn to appreciate the beauty within...


More information about the Koha mailing list