Curtis,

The following instructions fixed it for me. Maybe you can try it again.

>>
go to $CYRUS_SOURCE_DIR/perl/imap
perl Makefile.PL
make
make install

This will install cyradm into your perl directory structure. (if
perl=/usr/bin/perl then cyrus=/usr/bin/cyradm)
 
Greg
>>

(Thanks Greg)

Then I ran /usr/bin/cyradm 

Thanks, now I can work on getting Postfix talking to Cyrus.

Dan


Curtis Martin wrote:
> 
> I had the exact same problem. Here are two responses I received.
> 
> I tried both and it didn't help me. I guesss I'm pretty Linux/Pear/Imap
> illiterate.... If you figure this out be sure to pass the help on to me.
> 
> Curtis
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> First Email:
> 
> I had a similar problem in Solaris where my ssl dir wasn't being linked
> properly. I had to modify the Makefiles and pass LD_OPTIONS to gmake.
> Below is an excerpt from my own installation instructions. You'll need to
> change the path's from /opt/* to /usr/*. I installed everything in /opt on
> our system to keep it separate from /usr/local.
> 
>         4) Make the following change(s) to the file 'perl/Makefile'
> --- perl/Makefile.orig  Tue Jun 19 09:13:04 2001
> +++ perl/Makefile       Tue Jun 19 09:13:42 2001
> @@ -50,7 +50,7 @@
>  srcdir = .
> 
>  INSTALL = .././install-sh -c
> -SASL_LIB=-L/opt/local/lib -lsasl
> +SASL_LIB=-L/opt/local/lib -L/opt/local/ssl/lib -lsasl
>  SASL_INC=-I/opt/local/include
>  PERL=perl
> 
>         5) Make the following change(s) to the file 'perl/sieve/Makefile'
> --- perl/sieve/Makefile.orig    Tue Jun 19 09:13:04 2001
> +++ perl/sieve/Makefile Tue Jun 19 09:14:35 2001
> @@ -61,7 +61,7 @@
>  exec_prefix = ${prefix}
>  cyrus_prefix = /opt/local/cyrus
> 
> -SASL_LIB=-L/opt/local/lib -lsasl
> +SASL_LIB=-L/opt/local/lib -L/opt/local/ssl/lib -lsasl
>  SASL_INC=-I/opt/local/include
>  CC=gcc
>  PERL=perl
> 
>         6) LD_OPTIONS="-R/opt/local/ssl/lib:/opt/local/lib" gmake
> 
> Daniel
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Second Email:
> 
> go to $CYRUS_SOURCE_DIR/perl/imap
> perl Makefile.PL
> make
> make install
> 
> This will install cyradm into your perl directory structure. (if
> perl=/usr/bin/perl then cyrus=/usr/bin/cyradm)
> 
> Greg
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ----- Original Message -----
> From: "Dan Fitzpatrick" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 21, 2001 4:23 PM
> Subject: New install: cyradm Perl error
> 
> > I just installed Cyrus (2.0.14) on a brand new Redhat 7.1 installation
> > and everything went great until I tried to run cyradm for the first
> > time. It returned the following error.
> >
> > # cyradm
> > Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
> > /usr/lib/perl5/5.6.0/i386-linux
> > /usr/lib/perl5/5.6.0
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux
> > /usr/lib/perl5/site_perl/5.6.0
> > /usr/lib/perl5/site_perl .).
> > BEGIN failed--compilation aborted.
> >
> > So I looked for the missing file...
> >
> > # find / -name Shell.pm
> > /tmp/cyrus-imapd-2.0.14/perl/imap/IMAP/Shell.pm
> > /tmp/cyrus-imapd-2.0.14/perl/imap/blib/lib/Cyrus/IMAP/Shell.pm
> > /usr/lib/perl5/5.6.0/Shell.pm
> > /usr/lib/perl5/5.6.0/IMAP/Shell.pm
> > /usr/local/lib/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Shell.pm
> >
> > Since none of the above paths are in the @INC list, I copied the Perl
> > Cyrus directory to one of the @INC locations:
> >
> > # cp -R /usr/local/lib/site_perl/5.6.0/i386-linux/Cyrus
> > /usr/lib/perl5/site_perl/Cyrus
> >
> > Then I received a different error upon running cyradm.
> >
> > # cyradm
> > Can't locate loadable object for module Cyrus::IMAP in @INC (@INC
> > contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> > /usr/lib/perl5/site_perl .) at
> > /usr/lib/perl5/site_perl/Cyrus/IMAP/Admin.pm line 43
> > Compilation failed in require at
> > /usr/lib/perl5/site_perl/Cyrus/IMAP/Admin.pm line 43.
> > BEGIN failed--compilation aborted at
> > /usr/lib/perl5/site_perl/Cyrus/IMAP/Admin.pm line 43.
> > Compilation failed in require at
> > /usr/lib/perl5/site_perl/Cyrus/IMAP/Shell.pm line 58.
> > BEGIN failed--compilation aborted at
> > /usr/lib/perl5/site_perl/Cyrus/IMAP/Shell.pm line 58.
> > Compilation failed in require.
> > BEGIN failed--compilation aborted.
> >
> > I don't have very much Perl experience. Anyone know what is missing or
> > if I missed a step in the config.
> >
> > Thanks,
> >
> > Dan

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Dan Fitzpatrick
 Overhaul Search
 http://www.overhaulsearch.com
 mailto:[EMAIL PROTECTED]
 main: +1 (714) 445-0050
 fax:  +1 (714) 445-0082
 cell: +1 (949) 275-6002
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to