[Koha] Perl Problem

Indranil Das Gupta indradg at icbic.com
Sun Nov 28 22:06:45 NZDT 2004


Hi,

On Sun, 2004-11-28 at 17:01 +1300, Michael Dittmer (An Inside Job)
wrote:
[...]
> [root at server koha-2.0.2]# perl scripts/updater/updatedatabase modules/
> Can't locate C4/Context.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
<snipped>

assuming that you are using bash you need to set the PERL5LIB env
variable - `export PERL5LIB="<your_koha_install_path>/modules"` before
running the script.

hth,
-indra

PS: Read the code... it always helps ;-)

> Michael Dittmer

-- 
-------------------------------------------------------------
Indranil Das Gupta, Project Lead, CASTLE Project
[Computer Aided Studies, Teaching and Learning Environment]
In collaboration with:
West Bengal University of Technology
Calcutta, INDIA
www.wbut.net
-------------------------------------------------------------
 L2C2.ORG - Bringing Localized Low-Cost Computing to People
-------------------------------------------------------------




More information about the Koha mailing list