cyradm file - errors

From: Emma Grant (no email)
Date: Mon Feb 02 2004 - 08:08:01 EST


Hi All,
 
I tried to access the cyradmn to create mailboxes for my users, but I
ran into problems. did I get a bad batch or something? LOL
 
First I got the error message:
 
Can't locate Cyrus/IMAP/Shell.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 .).
BEGIN failed--compilation aborted.
 
I did a locate on Shell.pm and it's actually is in /usr/lib/perl5/5.8.0
 
So I took it upon myself to change the perl directory in the fille from
/bin/bash to /usr/bin/perl
 
I then get the errors..
 
String found where operator expected at ./cyradm line 45, near "case
"x$BASH_VERSION""
        (Do you need to predeclare case?)
Bareword found where operator expected at ./cyradm line 45, near
""x$BASH_VERSION" in"
        (Missing operator before in?)
Scalar found where operator expected at ./cyradm line 46, near "-- $"
        (Missing operator before $?)
syntax error at ./cyradm line 45, near "case "x$BASH_VERSION""
Execution of ./cyradm aborted due to compilation errors.
 
Which is what usually happens when I make a srewup in MY perl file. I
really don't feel like fixing this file, so if anyone could give me any
advice. maybe there is a another file to download. maybe I am tired and
it's something really obvious. Anyway. I am gonna search the net, just
thought I would try all my resources :-)
 
Thanks,
 
Emma








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD