cyradm binary
Kendrick Vargas
ken at hudat.com
Tue Oct 22 13:30:59 EDT 2002
On Tue, 22 Oct 2002, Michael Bacon wrote:
> 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.
I got around this by editing the makefile in the perl/ directory of the
cyrus-imapd distribution so that most everything pointed to /usr instead
of /opt or /usr/local or something like that. Then making, then make
installing.
Of course, now I know I can change the perl include paths with a
environment variable:
export PERL5LIB="/opt/lib/perl:/opt/lib/perl5/site_perl/5.6.1:/opt/lib/perl5/site_perl/5.6.1/i386-linux"
I put the above in a file (perl.sh) in the /etc/profile.d directory of my
RedHat install and I created a csh equivalent as well. Edit the above line
to your system specs. Enjoy.
-peace
>
> Michael
>
> --On Tuesday, October 22, 2002 10:38:21 -0400 Gregory Chagnon
> <gregchagnon at hotmail.com> 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 <simon.matter at ch.sauter-bc.com>
> >> To: Gregory Chagnon <gregchagnon at hotmail.com>
> >> CC: info-cyrus at lists.andrew.cmu.edu
> >> 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
> >
> >
>
>
>
>
--
Let he who is without clue kiss my ass
More information about the Info-cyrus
mailing list