26 Jun
2009
26 Jun
'09
1:52 p.m.
Mono Lib <monolib@yahoo.com> wrote:
when i running ./rebuild_zebra.pl i get this error ./rebuild_zebra.pl -b -a Can't locate C4/Context.pm in @INC (@INC contains: /usr/share/koha /etc/perl [...]
Looks like the PERL5LIB environment variable isn't set correctly. I guess it might be set because there's some koha path in INC, so try: export PERL5LIB=/path/to/folder/above/C4:$PERL5LIB and then retry the rebuild_zebra.pl command. You may also need to set the KOHA_CONF environment variable to the location of koha-conf.xml in a similar way. Hope that helps, -- MJ Ray (slef) LMS developer and webmaster at | software www.software.coop http://mjr.towers.org.uk | .... co Notice http://mjr.towers.org.uk/email.html | .... op