Hi Greg,
This should be the right PERL5LIB:

echo $PERL5LIB
/home/koha/kohaclone

What does the end of the output from:
perl -v
give?

It should be like this:
  %ENV:
    PERL5LIB="/home/koha/kohaclone"
  @INC:
    /home/koha/kohaclone
    /etc/perl
    /usr/local/lib/perl/5.10.1
    /usr/local/share/perl/5.10.1
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.10
    /usr/share/perl/5.10
    /usr/local/lib/site_perl

It will end up being something obvious.  Would you need to:
export PERL5LIB
before using it?

Good luck.
Ian

On 11/04/2012 00:15, G. Laws wrote:
PROB:

$ ./rebuild_zebra.pl -a -b -z
Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /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 6.
BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 6.

INFO:

running master on debian...

$ ls -l /home/koha/kohaclone/C4/Context.pm
-rw-r--r-- 1 koha koha 33348 Apr 10 14:28 Context.pm


tried...

$echo $PERL5LIB
/home/koha/kohaclone

...and

$ echo $PERL5LIB
/usr/koha/kohaclone/C4

...and even attempted a non-standard symlink...

# ls -l /usr/lib/perl5/Context.pm
lrwxrwxrwx 1 root root 34 Apr 10 18:00 Context.pm ->
/usr/lib/perl5/Template/Context.pm

...no joy...



Help?


--
Ian Bays
Director of Projects, PTFS Europe Limited
Content Management and Library Solutions
+44 (0) 800 756 6803 (phone)
+44 (0) 7774 995297 (mobile)
+44 (0) 800 756 6384 (fax)
skype: ian.bays
email: [email protected]

_______________________________________________
Koha mailing list  http://koha-community.org
[email protected]
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to