<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Emits,<br>
<br>
You need to set your PERL5LIB environment variable to tell Perl where
he needs to gets its Koha's specific modules.&nbsp; You can do that using
the following command line:<br>
<br>
export PERL5LIB=/usr/share/koha/lib<br>
<br>
(You must adjust the path depending of your installation.&nbsp; This path
must contain the C4 directory)<br>
<br>
You should be able to run your script afterward.<br>
<br>
Eric<br>
<br>
<br>
Dr Emits wrote:
<blockquote
 cite="mid:2961aca30902241251q64ff8400wd3e2bfd6b7b50479@mail.gmail.com"
 type="cite">Hi,<br>
I've tried to run the rebuild_nozebra.pl after importing some MARC
records (because apparently I have to do this to get rid of the search
error after importing records).<br>
  <br>
The way I ran the script was in a terminal (Ubuntu 8.10) under a super
admin user (I take this is how you are supposed to run the script?) and
I recieved this error:<br>
"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.<br>
BEGIN failed--compilation aborted at
/usr/share/koha/bin/migration_tools/rebuild_nozebra.pl line 3."<br>
  <br>
Can someone shed some light on this?<br>
  <br>
Thanks,<br>
Emits
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Koha mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a>
<a class="moz-txt-link-freetext" href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
  </pre>
</blockquote>
</body>
</html>