[Koha] Can't locate C4/Context.pm
Roche III, Edward
edward_roche at solanco.k12.pa.us
Fri Jun 19 02:59:22 NZST 2009
I understand, I tried export again and still nothing. Is there a ENV file that I could just add the (2) export values to like would can in a Windows environment?
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?"
From: Joe Atzberger [mailto:ohiocore at gmail.com]
Sent: Thursday, June 18, 2009 10:16 AM
To: Roche III, Edward
Cc: Abhishek Amberkar [अभिषेक]; koha at lists.katipo.co.nz
Subject: Re: [Koha] Can't locate C4/Context.pm
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/30af497a/attachment.htm
More information about the Koha
mailing list