<div>I had the similar problem and I did the following. It is working.</div><div><br></div><div>I assume that you have installed koha in /usr/share/koha </div><div><br></div><div>Now you need to do the following:</div><div>
<br></div><div>$ sudo cp -a /usr/share/koha/lib/* /etc/perl</div><div><br></div><div><br></div><br><div class="gmail_quote">2009/11/10 Jesse <span dir="ltr"><<a href="mailto:pianohacker@gmail.com">pianohacker@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote">2009/11/10 Amy Schuler <span dir="ltr"><<a href="mailto:schulera@caryinstitute.org" target="_blank">schulera@caryinstitute.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div class="h5">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Hello, </span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Recently,
I finally ran Bulkmarcimport.pl to import a batch of my MARC records into my
newly installed Koha </span><span style="font-family:"Times New Roman","serif"">3.0001005.
Here is the error message I received:</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">unable
to locate Koha configuration file koha-conf.xml at /etc/perl/C4/Context.pm line
312.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Can't
call method "config" on unblessed reference at
/etc/perl/C4/Context.pm line 654.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Compilation
failed in require at /etc/perl/C4/Items.pm line 30.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Compilation
failed in require at kohaclone/misc/migration_tools/<a href="http://bulkmarcimport.pl" target="_blank">bulkmarcimport.pl</a> line 24.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">BEGIN
failed--compilation aborted at kohaclone/misc/migration_tools/<a href="http://bulkmarcimport.pl" target="_blank">bulkmarcimport.pl</a>
line 24.</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">I
googled this error, and in a Koha listserve archive I read that I should export
</span><span style="font-family:"Times New Roman","serif"">PERL5LIB=/home/koha/kohaclone.
I checked with my IT guy about this, and he told me that PERL5LIB path is
already set to /home/koha/kohaclone. Neither one of us has any other
ideas. Do you?</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Thanks again
to all of you who have provided advice & assistance over the past few
months. I truly appreciate it and hope that I will be able to repay the
debt someday by helping other new users of Koha…</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Amy</span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Lucida Bright","serif"">Amy
C. Schuler</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Lucida Bright","serif"">Manager
of Information Services</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Lucida Bright","serif"">Cary
Institute of Ecosystem Studies</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Lucida Bright","serif"">PO
Box AB </span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Lucida Bright","serif"">Millbrook,
NY 12545</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Lucida Bright","serif"">(845)
677-7600 x164</span></p>
<p class="MsoNormal"><a href="mailto:schulera@ecostudies.org" target="_blank"><span style="font-size:10pt;font-family:"Lucida Bright","serif";color:blue">schulera@caryinstitute.org</span></a></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Lucida Bright","serif""> </span></p>
<p class="MsoNormal"> </p>
</div>
</div>
<br></div></div><div class="im">_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></div></blockquote></div><br>You have to export one other environment variable:<br><br>KOHA_CONF=/etc/koha/koha-conf.xml<br><br>The actual path will vary based on where you installed Koha to, but the filename will always be koha-conf.xml.<br clear="all">
<font color="#888888">
<br>-- <br>Jesse Weaver<br>
</font><br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Nitesh Rijal<br>BE IT<br><a href="http://niteshrijal.com.np">http://niteshrijal.com.np</a><br>+9779841458173<br>