Minor typo, I wrote 'user' where I should have wrote 'usr' perl -I /usr/share/koha/bin /usr/share/koha/bin/migration_tools/rebuild_nozebra.pl should work assuming that /usr/share/koha/bin is the directory that contains the C4 directory. Kyle http://www.kylehall.info Information Technology Crawford County Federated Library System ( http://www.ccfls.org ) On Mon, Mar 23, 2009 at 11:59 AM, Kyle Hall <kyle.m.hall@gmail.com> wrote:
try 'perl -I /user/share/koha /usr/share/koha/bin/migration_tools/rebuild_nozebra.pl'
That should work for you.
Kyle
http://www.kylehall.info Information Technology Crawford County Federated Library System ( http://www.ccfls.org )
2009/3/23 Roche III, Edward <edward_roche@solanco.k12.pa.us>:
Command: perl /usr/share/koha/bin/migration_tools/rebuild_nozebra.pl
Error: Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/rebuild_nozebra.pl line 3.
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_nozebra.pl line 3.
Originally, I posted about this I forget who it was said to add the /C4.
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@gmail.com] Sent: Monday, March 23, 2009 10:29 AM To: Roche III, Edward Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] Possuble Bug when running rebuild_nozebra.pl
Then I'm afraid your problem report doesn't make any sense to me. The SetEnv line (and the whole koha-httpd.conf file) is only parsed by Apache.
Please tell use the command(s) you are executing and the error you get.
--Joe
On Mon, Mar 23, 2009 at 10:26 AM, Roche III, Edward <edward_roche@solanco.k12.pa.us> wrote:
I am using the command line.
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@gmail.com] Sent: Monday, March 23, 2009 9:33 AM To: Roche III, Edward Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] Possuble Bug when running rebuild_nozebra.pl
It sounds like you are trying to run shell scripts via the web interface? Otherwise the koha-httpd.conf file would not be involved. The answer is: don't do that. Use the command line. --Joe
On Mar 23, 2009 7:36 AM, "Roche III, Edward" <edward_roche@solanco.k12.pa.us> wrote:
Good Morning All
Whenever I run this script I have to add the /C4 to the koha-httpd.conf file at the end of SetEnv PERL5LIB "/usr/share/koha/lib" line. This really is a pain in the backside because when I do that then Koha doesn’t want to work. I switch it back and Koha works. Something isn’t right somewhere and I am not sure it was meant to be this way or not.
I am currently using the following setup:
Ubuntu 8.10
Mysql 5.0.67
Apache 2.2.9
Perl 5.10
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?"
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel