[Koha] fine2.pl compilation aborted

H S Rai hsrai at gmx.net
Sat Oct 9 19:35:44 NZDT 2004


It appears to us that Koha2.0.0 works fine, except fine calulation as
it need to be entered in crontab.

Before entering in crontab, i tried it using ./fines2.pl, but it
failed and gave following message:

> Can't locate C4/Context.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
> at
> ./fines2.pl line 30.
> BEGIN failed--compilation aborted at ./fines2.pl line 30.

while this file was there at:

	/usr/local/koha/intranet/modules/C4/Context.pm

Then I used following way to bring it in its path (I know it is wrong
way, but I don't know right way, please help me here also.)

	ln -s /usr/local/koha/intranet/modules/C4 C4

On this, above mentioned error was eliminated, but it gave following
error:

> DBD::mysql::st execute failed: No Database Selected at
> /usr/lib/perl5/5.8.0/C4/Circulation/Fines.pm line 71.
> DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at
> /usr/lib/perl5/5.8.0/C4/Circulation/Fines.pm line 75.

Please let me know the fault. Is my installation fine? What and where
I need to change?

Thanks in advance.

-- 
H. S. Rai 
_____________________________________________________________________
http://www.grex.org/~hsrai | Alternate E-mail: hsraidce at iitr.ernet.in
___________________________|_________________________________________

:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Procmail recipe to split digests               LOST #076

A procmail recipe to split digests from mailing lists into its
component mails, would be as shown .. (This example is for LIH
digests). In your .procmailrc (or /etc/procmailrc) add:
 
  :0:
  * (^To:.*|^Cc:.*)linux-india-help
    | formail +1 -ds >> $HOME/mail/LIH

####[rfowkar (at) yahoo.com]##################################
:




More information about the Koha mailing list