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

Abhishek Amberkar [अभिषेक] abhishek.amberkar at gmail.com
Thu Jun 18 16:49:20 NZST 2009


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