[Koha] problem rebuilding Zebra

Zahid Hossain Shoeb zhshoeb at yahoo.com
Mon Sep 14 16:15:43 NZST 2009


Thanks Chris.


However, the current problem is rebuilding Zebra. When I use the following command after importing CDS/ISIS data to marc
library:/usr/share/koha/bin/migration_tools# ./rebuild_zebra.pl -b -r

The following error occurred:

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

Look forward again for the kind solution.

Regards,

Zahid Hossain Shoeb


________________________________
From: Chris Cormack <chris at bigballofwax.co.nz>
To: Zahid Hossain Shoeb <zhshoeb at yahoo.com>
Cc: koha at lists.katipo.co.nz
Sent: Monday, September 7, 2009 12:12:09 AM
Subject: Re: [Koha] Error while marc importing

2009/9/7 Zahid Hossain Shoeb <zhshoeb at yahoo.com>:
> Hi colleagues:
>
> After importing marc record when I click Mange staged records, the following
> error occurred:
>
> Koha error
>
> The following fatal error has occurred:
>
> Can't locate Algorithm/CheckDigits.pm in @INC (@INC contains:
> /usr/share/koha/lib /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/lib/C4/Labels.pm line 25.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Labels.pm line
> 25.
> Compilation failed in require at
> /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl line 36.
> BEGIN failed--compilation aborted at
> /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl line 36.
>
Hi Zahid

You are missing a perl module Algorithm::CheckDigits
If you are using debian lenny, or ubuntu jaunty you can type

sudo apt-get install libalgorithm-checkdigits-perl

To install the module otherwise

sudo cpan Algorithm::CheckDigits

Hope this helps

Chris


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090913/8e297096/attachment.htm 


More information about the Koha mailing list