Andreas Freyvogel afreyvogel at ecmarket.com
Thu Jul 24 15:29:55 EDT 2003

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

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


-----Original Message-----
From: owner-info-cyrus at lists.andrew.cmu.edu
[mailto:owner-info-cyrus at lists.andrew.cmu.edu]On Behalf Of Michael J
Sent: Thursday, July 24, 2003 5:51 AM
To: Andrea Bencini
Cc: info-cyrus at lists.andrew.cmu.edu
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
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

Quoting Andrea Bencini <andrea.bencini at tin.it>:

^^ 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

More information about the Info-cyrus mailing list