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

Joe Atzberger ohiocore at gmail.com
Fri Jun 19 02:16:05 NZST 2009


This will be a problem if you or anybody else in the future, ever tries to
update that system.  Essentially you are custom-hacking the perl
installation.  Neither CPAN, Koha nor the OS wil track this update.

--Joe

2009/6/18 Roche III, Edward <edward_roche at solanco.k12.pa.us>

> 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...
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090618/ee381959/attachment.htm 


More information about the Koha mailing list