Hi All... I'm trying to install koha 2.0.2. I have installed all the perl modules as required and have created the mysql database, given the database the correct permissions and loaded the tables. I have to run the updatedatabase script as part of the install but get the following error : [root@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 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at scripts/updater/updatedatabase line 22. BEGIN failed--compilation aborted at scripts/updater/updatedatabase line 22. [root@server koha-2.0.2]# The C4/Context.pm does exist in the modules/C4/ directory. I'm currently trying to install koha 2.0.2 on SME Server 6.0.1 (based around RH7.3 with a minor few changes). Thanks Michael Dittmer IT Consultant An Inside Job Phone: 027 407 6780 E-Mail: michael@inside-job.co.nz Website: www.inside-job.co.nz
Hi, On Sun, 2004-11-28 at 17:01 +1300, Michael Dittmer (An Inside Job) wrote: [...]
[root@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 -------------------------------------------------------------
participants (2)
-
Indranil Das Gupta -
Michael Dittmer (An Inside Job)