Wil Cooley wrote:

On Thu, 2004-03-11 at 15:05, John Gibson wrote:


Hi, all.

I am struggling to get Cyrus IMAP off of the ground. My current problem is that the path to the Cyrus perl modules doesn't seem to get added properly to perl INC during compilation/installation.

The cyradm shell script fails.

Help with this would be appreciated.



As a test, set the path to the perl Cyrus/ directory to the environment variable PERL5LIB. If that works, then add to cryadm near the top something like this:

use lib '/usr/local/perl/whatever';

Or use Simon's RPMs and have it install in the normal Perl lib directory
:)

Wil


Thanks Wil ! However...

bash-2.05a$ PERL5LIB=/usr/local/lib/perl5/site_perl/5.6.1/i386-linux;export PERL5LIB
bash-2.05a$ cyradm ares
IMAP Password:


YEAH !!!


Your suggestion sounds great, but "cyradm" is a bourne shell script, not perl. So the "use" command gives an error.


use lib '/usr/local/perl/whatever';

bash-2.05a$ cyradm1 ares
/usr/local/bin/cyradm1: use: command not found

bash-2.05a$ diff /usr/local/bin/cyradm /usr/local/bin/cyradm1
41a42,43
> # Added suggestion by Wil Cooley   jg.
> use lib '/usr/local/lib/perl5/site_perl/5.6.1/i386-linux';
bash-2.05a$


How do I add that idea into the installation? These are the files that are created during the IMAP build.


135046 360 -r-xr-xr-x 1 root root 361606 Mar 11 04:50 ./site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so
135047 0 -r--r--r-- 1 root root 0 Mar 11 04:50 ./site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.bs
135054 4 -rw-r--r-- 1 root root 150 Mar 11 04:53 ./site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/.packlist
135048 4 drwxr-xr-x 3 root root 4096 Mar 11 04:53 ./site_perl/5.6.1/i386-linux/Cyrus
135049 16 -r--r--r-- 1 root root 12551 Oct 22 13:50 ./site_perl/5.6.1/i386-linux/Cyrus/IMAP.pm
135050 4 drwxr-xr-x 2 root root 4096 Mar 11 04:53 ./site_perl/5.6.1/i386-linux/Cyrus/IMAP
135051 28 -r--r--r-- 1 root root 27953 Jan 15 08:35 ./site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm
135052 8 -r--r--r-- 1 root root 7331 May 25 2002 ./site_perl/5.6.1/i386-linux/Cyrus/IMAP/IMSP.pm
135053 48 -r--r--r-- 1 root root 46439 Jan 15 08:35 ./site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm
[EMAIL PROTECTED] perl5]#




---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to