cyradm doesn't work!

Steve Huston huston at astro.princeton.edu
Thu Apr 10 14:29:00 EDT 2003


On Thu, 10 Apr 2003, Khalid Mehmood wrote:

> Hi
> I have installed cyrus-imapd-2.1.12-7 on RH 8.0.
> imtest is working just fine, but when I try to run
> cyradm I get the following error:
> Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC
> contains: /usr/lib/perl5/5.8.0/i3               
> 86-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-l               
> inux-thread-multi /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl/5.6.1                
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-mult
>                i /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl .).

I see this all the time with Perlish things (probably because I don't know
enough about how to install them properly :> )  What likely happened is that
the Cyrus Perl stuff got thrown into /usr/local/lib/perl5/, but Perl's @INC
doesn't know to look there.

I usually get around this by symlinking /usr/local/lib/perl5 to /usr/lib/perl5
*before* installing things, to make sure they all go to the same place.  Once
I figured out how to change @INC to include the /usr/local/lib/perl5 tree, but
promptly forgot how to do it.

-- 
Steve Huston - Unix Systems Admin, Dept. of Astrophysical Sciences
 Princeton University  |     ICBM Address: 40.346525   -74.651285
   126 Peyton Hall     |"On my ship, the Rocinante, wheeling through
 Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
   (609) 258-7375      | headlong into mystery."  -Rush, 'Cygnus X-1'





More information about the Info-cyrus mailing list