This seems to be a problem with config not including the correct location
of where Cyrus/IMAP/Shell.pm is located.
do a which on cyradm (to find where cyradm shell script is located)
and modify it where it calls Shell.pm to add:
-I/usr/local/lib/perl5/site_perl/5.005/i386-linux
to the
exec perl -MCyrus::IMPA::SHELL
lines about 20% down the script.
johnh...
On Mon, 19 Mar 2001, Leonardo Alves (VetorialNet) wrote:
> Date: Mon, 19 Mar 2001 10:50:19 -0300 (BRT)
> From: "Leonardo Alves (VetorialNet)"
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: problems with cyradm
>
> Hi,
>
> I'm just start to deal with cyrus and I'm having problems to use
> cyradm. When it was called the message showed was:
>
> [cyrus@mobile2 /]$ cyradm
> Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
> /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
> .).
> BEGIN failed--compilation aborted.
>
> I've seachead for Shell.pm and the results was:
>
> [cyrus@mobile2 /]$ locate Shell.pm
> /usr/lib/perl5/5.00503/Shell.pm
> /usr/lib/perl5/site_perl/5.005/i386-linux/DBI/Shell.pm
> /usr/local/lib/perl5/site_perl/5.005/i386-linux/Cyrus/IMAP/Shell.pm
> /usr/cyrus/perl/imap/IMAP/Shell.pm
> /usr/cyrus/perl/imap/blib/lib/Cyrus/IMAP/Shell.pm
>
> I cannot understand what's going on. Somebody could help me?
>
> []s.
> Leonardo Alves De Paula e Silva
> <[EMAIL PROTECTED]>
> _________________________________________________________
> V e t o r i a l N e t I n t e r n e t P r o v e d o r
> http://www.vetorialnet.com.br
> (53) 231.1888
>
>