cyradm file - errors

Emma Grant egra0627 at bigpond.net.au
Mon Feb 2 08:08:01 EST 2004


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040202/64cb6207/attachment.html


More information about the Info-cyrus mailing list