Hi there, i'm using Bill's Linux Qmail Toaster
(http://www.shupp.org/toaster/index.php) to set up my mailserver. All
has been well until the Courier part of the installation.
I'm using courier-imap-4.1.0 and courier-authlib-0.58 in keeping with
the toaster, however I have tried the latest versions of Courier and
get the same error as below.
Not sure if this is relevant - I struggled at first with compiling
courier-authlib - i had to remove "-mtune=i686" and add "-lcrypt" to
the CFLAGS line in the Makefile generated by ./configure in order to
make it compile. I couldn't find anybody else who had that problem
with authlib but I got there eventually.
Now when trying to compile courier-imap I am having trouble:
# tar -xjf courier-imap-4.1.0
# chown -R vpopmail:vchkpw courier-imap-4.1.0
# cd courier-imap-4.1.0
# su vpopmail
$ umask 0022
$ ./configure
$ make
./configure completes without errors but then when I run make, after
quite a while I get the following:
Problems start about here with lots of warnings:
....
Compiling imapd.c
In file included from imapscanclient.h:4,
from imapd.c:62:
config.h:125:1: warning: "RETSIGTYPE" redefined
In file included from /usr/local/include/courierauth.h:9,
from imapd.c:53:
/usr/local/include/courier_auth_config.h:146:1: warning: this is the
location of the previous definition
imapd.c: In function `aclmailbox_merge':
imapd.c:2891: warning: passing arg 4 of `qsort' from incompatible pointer type
imapd.c: At top level:
../maildir/maildiraclt.h:8: warning: `maildiraclt_h_rcsid' defined but
not used
../maildir/maildirnewshared.h:23: warning: `maildirnewshared_h_rcsid'
defined but not used
imaptoken.h:13: warning: `imaptoken_h_rcsid' defined but not used
imapwrite.h:9: warning: `imapwrite_h_rcsid' defined but not used
....
There are about 30 lines with these "defined but not used" warnings,
then I get the following:
....
imapd.c:92: warning: `rcsid' defined but not used
Compiling imapscanclient.c
Compiling mailboxlist.c
mailboxlist.c:91: error: conflicting types for `maildir_shared_index_file'
../maildir/maildirnewshared.h:124: error: previous declaration of
`maildir_shared_index_file'
mailboxlist.c:140: error: conflicting types for `mailbox_scan'
mailboxlist.h:32: error: previous declaration of `mailbox_scan'
mailboxlist.c: In function `list_newshared_cb':
mailboxlist.c:588: warning: initialization discards qualifiers from
pointer target type
mailboxlist.c:589: warning: initialization discards qualifiers from
pointer target type
mailboxlist.c:590: warning: initialization discards qualifiers from
pointer target type
mailboxlist.c: In function `list_newshared_skipcb':
mailboxlist.c:718: warning: passing arg 5 of `list_newshared_shortcut'
discards qualifiers from pointer target type
mailboxlist.c:718: warning: passing arg 6 of `list_newshared_shortcut'
discards qualifiers from pointer target type
mailboxlist.c: In function `do_mailbox_list':
mailboxlist.c:813: warning: passing arg 2 of `maildir_list_sharable'
from incompatible pointer type
mailboxlist.c:823: warning: passing arg 2 of `maildir_list_shared'
from incompatible pointer type
mailboxlist.c: At top level:
mailboxlist.c:70: warning: `rcsid' defined but not used
make[3]: *** [mailboxlist.o] Error 1
make[3]: Leaving directory `/usr/local/src/courier-imap-4.1.0/imap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/courier-imap-4.1.0/imap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/courier-imap-4.1.0'
make: *** [all] Error 2
I am using Slackware 10 and haven't come across any problems building
other applications on this box. Does anybody have any suggestions as
to what I can try? Any help greatly appreciated.
Best regards,
Gareth
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap