I don't think you want or need to include the version or architecture in your path. And I think you want a space after the I. So try:
x) exec perl -MCyrus::IMAP::Shell -I /usr/lib/perl5/site_perl -e shell -- ${1+"$@"} ;; And frankly, that path is already probably in your include path (try perl -V) You probably need to point to your cyrus installation instead. On my system, it's like this: x) exec perl -MCyrus::IMAP::Shell -I /opt/imapd/perl -e shell -- ${1+"$@"} ;; On Fri, May 28, 2004 at 11:00:27AM -0400, Kent L. Nasveschuk wrote: > This is what I added but I get the same db_version error :( > I have yet to get this to run, very frustrating. It obviously works > people use it. I'm so close on this... > > > case "x$BASH_VERSION" in > x) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- ${1+"$@"} ;; > *) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- "$@" ;; > esac > echo "$0: how did I get here?" >&2 > exit 1 > > > > On Fri, 2004-05-28 at 10:31, Andrew J Caird wrote: > > On Fri, 28 May 2004, Kent Nasveschuk wrote: > > > > > Hello, > > > You had a perl path problem back in April in cyradm (Cyrus IMAP) that it > > > seems many people had. I was just wondering if you solved it and exactly > > > what you did to solve it. I have Cyrus 2.2.4 installed and working on a > > > test machine with exception of cyradm. Any help would be appreciated, > > > I'm really beating my head against the wall on this one. > > > > Kent, > > If your problem is truely only a path problem, you might want to try > > what I do, which is adding: > > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris to the two > > "exec perl" lines at the top of cyradm (see below). Of course, if you > > aren't using solaris or Perl v5.8.3, the last two components of the path > > will be different for you. > > Hope this helps. > > -- > > Andrew Caird > > > > --------------------------------- > > Now the top of cyradm looks like: > > > > case "x$BASH_VERSION" in > > x) exec perl -MCyrus::IMAP::Shell > > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- ${1+"$@"} ;; > > *) exec perl -MCyrus::IMAP::Shell > > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- "$@" ;; > > esac > > echo "$0: how did I get here?" >&2 > > exit 1 > -- > Kent L. Nasveschuk <[EMAIL PROTECTED]> > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html