problem compiling cyradm in cyrus-imapd-2.1.13

Ali Asad Lotia lotia at umich.edu
Mon May 12 07:44:39 EDT 2003


hello all,

thanks to this great tip by efler lukas, i was able to get cyradm to 
run.

hope anyone else who is having this problem can now get around it.

aal

On Monday, May 12, 2003, at 03:55 America/Detroit, Efler, Lukas wrote:

> Hi Ali
>
> Your perl can't find the Cyrus perl module. As you can see in the 
> @INC, it looks in the perl directory only.
>
> Solution: around line 45 in cyradm, change the perl call to include 
> your location of the Cyrus module, ie. change
> exec perl -MCyrus::IMAP::Shell -e shell -- "$@"
> to:
> exec perl -I/usr/imap/lib/perl5/site_perl -MCyrus::IMAP::Shell -e 
> shell -- "$@"
> (or -I wherever it got installed in your system)
>
> hope that helps
>
> Lukas
>
>
>> -----Original Message-----
>> From: Ali Asad Lotia [mailto:lotia at umich.edu]
>> Sent: Montag, 12. Mai 2003 02:38
>> To: info-cyrus at lists.andrew.cmu.edu
>> Subject: problem compiling cyradm in cyrus-imapd-2.1.13
>>
>>
>> hello all,
>>
>> i am compiling cyrus imapd 2.1.13 under gentoo linux. i have compiled
>> and installed sasl 2.1.13 and i am having problems with cyradm.
>> sasl location is: /usr/sasl
>> i have passed the following to configure:
>> ./configure  --prefix=/usr/imap --with-cyrus-prefix=/usr/imap
>> --enable-fulldirhash --with-sasl=/usr/sasl
>>
>> imapd compiles fine and installs fine. however, when i try to run
>> cyradm, i get the following error:
>>
>> ./cyradm
>> Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
>> /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0
>> /usr/lib/perl5/site_perl/5.8.0/i686-linux
>> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl/5.8.0/i686-linux
>> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .).
>> BEGIN failed--compilation aborted.





More information about the Info-cyrus mailing list