[Koha] Koha3 Beta2 - rebuild_zebra.pl error: Can't locate C4/Context.pm

Meiling Li mli at lalawlibrary.org
Fri Apr 25 08:57:10 NZST 2008


I managed to get Koha3 Beta2 installed on a box with Debain etch 4. I've followed the instructions in INSTALL.debian but hit a snag when I got to the point of doing import and fast-index marc records (which I had no problem on a prior box running Koha3 Beta[1]).
  
> 7.1 Import:
>    $ misc/migration-tools/bulkmarcimport.pl -file /path/to/marc.iso2709
 
> 7.2 Fast Index:
>    $ misc/migration-tools/rebuild_zebra.pl -b -w
 
The import part seemed to go fine but I got an error when rebuilding the zebra index:

kohaadmin at kohabeta2:/usr/share/koha/bin/migration_tools$ export KOHA_CONF=/etc/koha/koha-conf.xml
kohaadmin at kohabeta2:/usr/share/koha/bin/migration_tools$ ./rebuild_zebra.pl -w -b

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 ./rebuild_zebra.pl line 5.
BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 5.

On the other box running beta1 I was able to run the same script with no problem. Any suggestion on how I can resolve this? I did verify Context.pm exists as follows:

kohabeta2:/usr/share/koha/lib/C4# ls -l Conte*
-r--r--r-- 1 kohaadmin kohaadmin 38214 2008-04-22 16:10 Context.pm

Thanks.

 
******************************************
  Meiling Li	  LA Law Library
  Senior Database Administrator
  Los Angeles County Law Library
  mli at lalawlibrary.org
******************************************
 

 



More information about the Koha mailing list