Temp wrote:
> 
> > On 14 Mar 2003, [EMAIL PROTECTED] writes:
> >
> > > I run cyradm in RedHat 7.2, perl-5.6
> > > and just get these:
> > >
> > > Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
> > > /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
> > > /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
> > > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> > > /usr/lib/perl5/site_perl .).
> > > BEGIN failed--compilation aborted.

I had this same problem when compiling under Solaris 8.  The problem
I found is that the Cyrus Perl modules are installed in the cyrus tree
and not in the Perl tree, so when running cyradm, Perl can't find them. 
My fix was to add the following as the first two lines in the cyradm script:

PERL5LIB=/private/cyrus/lib/site_perl
export PERL5LIB

This fixed it, and all is happy. I would suspect you have the same
issue with Red Hat. (I had installed Cyrus under FreeBSD, and I didn't 
have to add these lines.) 


--------------
Gardiner Leverett                               [EMAIL PROTECTED]
Merit Network, Inc.                             Phone: 734-647-9888
4251 Plymouth Rd., Suite 2000   Ann Arbor, MI  48105-2785
                                http://www.merit.edu

Reply via email to