[EMAIL PROTECTED] wrote:
>
> Sorry to keep this painful thread happening.. am keen to get cyrus imap
tis all
> ...
>
> The next problem I got to is it (sieve I think) wanted to find
bison.simple in
> /usr/local/share but it was in /usr/lib. So I make a symbolink
/usr/local/share
> to /usr/lib - is this a bad idea?
>
No, that's fine. You have to do the same with bison.hairy.
> Anyway, it got further and now I get the following error when trying
"cyradm
> localhost -u admin";
>
> Can't locate Cyrus/IMAP/Shell.pm in @INC and it goes on to list what @INC
> includes. I think it all about this crap with redhat where it doesn't put
> things in /usr/local/whatever and all these proggys expect stuff there..
*sigh*
>
> I tried copying Cyrus/IMAP/* to one of the paths in @INC but it just got a
bit
> further and then there was more perl errors.
>
Don't do that (remove the stuff you copied in before going any further).
Instead, find where Cyrus::IMAP::Shell was installed to, and add that to
your Perl 5 include path. Probably the easiest way to do this is to add an
environment var 'PERL5LIB'. Or, go into the 'perl' directory in the Cyrus
source tree and type 'make clean; perl
Makefile.pl --prefix=<something/in/your/perl5 @INC>;make;make test;make
install'.
I removed the perl RPM for RH7.1--I've found that compiling my own Perl
avoids a lot of problems. YMMV.