I moved all of the .pm files into /usr/lib/perl5/site_perl/5.8.0/Cyrus and when I run cyradm I now get this error, any ideas:

Can't locate loadable object for module Cyrus::IMAP in @INC (@INC contains: /usr/lib/perl5/5.8.0/Cyrus/IMAP /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/5.6.1 /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 .) at /usr/lib/perl5/5.8.0/Cyrus/IMAP/Admin.pm line 44
Compilation failed in require at /usr/lib/perl5/5.8.0/Cyrus/IMAP/Admin.pm line 44.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/Cyrus/IMAP/Admin.pm line 44.
Compilation failed in require at /usr/lib/perl5/5.8.0/Cyrus/IMAP/Shell.pm line 60.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/Cyrus/IMAP/Shell.pm line 60.
Compilation failed in require.
BEGIN failed--compilation aborted.







From: Michael Bacon <[EMAIL PROTECTED]>
To: Gregory Chagnon <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: cyradm binary
Date: Tue, 22 Oct 2002 12:47:36 -0400

No binary's going to help you out of this error -- it's a problem in your include path for perl. That is, if the error you're getting is still:

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/5.6.1
/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 .).
BEGIN failed--compilation aborted.

You're going to need to make sure that the Cyrus perl modules got installed into one of those directories. Generally, the'd be in a place like /usr/lib/perl5/site_perl/5.8.0/Cyrus/...,
or something similar, but I can't say for your system.

Theoretically, the RPMs would all agree on where to put things and go there, but that's obviously not happening here. What's getting you is that cyradm isn't a binary; it's a perl script that loads a number of external modules, and your system isn't loading those modules correctly. Beyond that, without further knowledge of your system, I can't tell you much else.

Michael

--On Tuesday, October 22, 2002 10:38:21 -0400 Gregory Chagnon <[EMAIL PROTECTED]> wrote:

Hi-
Even after rebuilding the source RPMs I still get the same error...The
IMAP server starts just fine, I just get an error with cyradm...Is there
anyway you could please send me the binanry?  Thanks!! -Greg






From: Simon Matter <[EMAIL PROTECTED]>
To: Gregory Chagnon <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: cyradm binary
Date: Mon, 21 Oct 2002 16:51:18 +0200

Gregory Chagnon schrieb:
>
> Hi, does anyone have a binary of cyradm that they could send me?  I'm
using
> a Red Hat 8 system on an i386, and I can't get it to compile.  I keep
> getting the following error:

Why don't you want to install via rpm? My source rpms compile fine on RH
8.0.

http://home.teleport.ch/simix/

Simon

>
> In file included from IMAP.xs:51:
> ../../lib/imclient.h:56:18: sasl.h: No such file or directory
> In file included from IMAP.xs:51:
> ../../lib/imclient.h:79: parse error before "sasl_callback_t"
> IMAP.xs: In function `XS_Cyrus__IMAP__send':
> IMAP.xs:495: warning: passing arg 2 of `imclient_send' from
> incompatible pointer type
> make: *** [IMAP.o] Error 1
>
> Thanks so much in advance.
> -Greg
>
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp

_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp



_________________________________________________________________
Unlimited Internet access for only $21.95/month.  Try MSN! http://resourcecenter.msn.com/access/plans/2monthsfree.asp

Reply via email to