cyradm - perl problem?

Achim Altmann aa at com-gate.com
Wed Dec 17 09:05:10 EST 2003



Alasdair Hatfield schrieb:

>Hi
>
>I am in the process of installing a cyrus / postfix mail server but am 
>suffering some dumb problems.
>
>I plan to use web-cyradm for administration. This appears to use the cyradm 
>code as supplied with the cyrus-imapd.
>
>The problem I have is that if I run cyradm from the command line to try and 
>atleast get commandline control of imapd, this fails with the following:
>
>fortytwo:/usr/local/cyrus-imapd/bin # ./cyradm
>Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains: 
>/usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1 
>/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi 
>/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl 
>/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi 
>/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .).
>BEGIN failed--compilation aborted.
>fortytwo:/usr/local/cyrus-imapd/bin #
>  
>
I think

cd <your_source_dist>/perl/imap/
perl Makefile.Pl
make
make install

regards Achim

>
>
>If I 'hack' this so the requested files are visible to perl through symbolic 
>links, then the next complaint is that a loadable module is not available.
>
>At this point I quit as more hacking doesn't seem the right way to go.
>
>What has gone wrong in the installation, causing the appropriate files to not 
>be put in the right places for perl to be able to execute this?
>
>Below is the ./configure command line
>
> ./configure  --with-sasl=/usr/local/lib --with-perl=/usr/bin/perl 
>--with-auth=unix --with-bdb-dir=/usr/local/bdb 
>--with-bdb-libdir=/usr/local/bdb/lib --with-bdb-incdir=/usr/local/bdb/include 
>--with-openssl=/usr/local/ssl --without-ucdsnmp 
>--prefix=/usr/local/cyrus-imapd --with-sasl=/usr/local/cyrus-sasl
>
>Any help would be appreciated
>
>Thanks
>Alasdair
>
>  
>

-- 
_________________________________________
Fa. Com-Gate
An der Hofwiese 30
90427 Nürnberg

Tel. : 	+49 (0)911 / 277 43 77
Fax  : 	+49 (0)911 / 274 11 878
Mobil:	+49 (0)172 / 834 56 26
Mail : 	aa at com-gate.com
WWW  : 	http://www.com-gate.com






More information about the Info-cyrus mailing list