Article:
  Building an Advanced Mail Server
Subject:   courier-imap compiling error
Date:   2004-09-09 13:00:45
From:   Manis
Hello
This is Manish.Well i installed vpopmail witt mysql and now i am not able to install courier-imap.I am getting courier-imap compiling error.Therefore Please give me the solution about this.


Eroor was as below:
Making check in authlib
make[1]: Entering directory
`/var/src/courier-imap-3.0.7/authlib'
make[1]: *** No rule to make target `check'. Stop.
make[1]: Leaving directory
`/var/src/courier-imap-3.0.7/authlib'
make: *** [check-recursive] Error 1


Steps
run as non root user as per the courier-imap docs
su - vpopmail
cd /var/src/
tar -jxvf /var/src/tar/tar/courier-imap-3.0.7.tar.bz2
cd /var/src/courier-imap-3.0.7/
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH"


./configure --prefix=/usr/local/courier-imap
--disable-root-check --without-authpam
--without-authldap --without-authpwd
--without-authmysql --without-authpgsql
--without-authshadow --without-authuserdb
--without-authcustom --without-authcram
--enable-workarounds-for-imap-clients-bugs
--with-authdaemon --without-ipv6 --with-authvchkpw
--with-ssl --with-redhat
make


Thanking you
Manish