cyradm - perl problem?

Alasdair Hatfield alasdair-hatfield at embedded-designs.be
Wed Dec 17 09:28:07 EST 2003


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 #



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




More information about the Info-cyrus mailing list