I had the same problem, what I had to do was alter cyradm from:

exec Perl -MCyrus::IMAP::Shell -e shell -- "$@"
to:
exec Perl -I/usr/imap/lib/perl5/site_perl -MCyrus::IMAP::Shell -e
(insert whatever path you have to the Shell.pm above)

-Andreas



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael J
Barber
Sent: Thursday, July 24, 2003 5:51 AM
To: Andrea Bencini
Cc: [EMAIL PROTECTED]
Subject: Re: AB003-cyrus


Can't remember how to fix it but....

It is referring to your perl search path.  Perl has it's own PATH
environment
variable.  It is looking everywhere it knows to look for the file.
This at least is what the @INC is for.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Michael J Barber
SUNY Plattsburgh
CMS Computer Labs Technician
116D Feinberg Library
Plattsburgh, NY 12901
518.564.2319
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


Quoting Andrea Bencini <[EMAIL PROTECTED]>:

^^ Hi all,
^^ I am trying to setup Cyrus on RedHat 8.0. When I try to use cyradm to add
^^ the user accounts etc. I get an error.
^^
^^ 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.
^^
^^ An other things, what is @INC ?
^^
^^ please help
^^
^^ Andrea
^^
^^

-----------------------------------------------------
-----------------------------------------------------
This site run by Horde      http://www.horde.org
                 Apache     http://httpd.apache.org
                 PHP        http://www.php.net
                 PostgreSQL http://www.postgresql.org
                 MySQL      http://www.mysql.com
                 Postfix    http://www.postfix.org
                 Cyrus-Imap http://asg.web.cmu.edu/
and of course
        GNU Linux by RedHat http://www.redhat.com
-----------------------------------------------------



Reply via email to