I've been having some problems getting courier to compile under solaris 9
with Sun's compiler. It fails here: (I've tried using both sun's make and
cc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/openssl/include/openssl
-I/opt/BerkeleyDB/include -I/opt/openldap/include -I/usr/sfw/include -g
-I./.. -I.. -c maildirquota.c
"maildirquota.c", line 889: void function cannot return value
cc: acomp failed for maildirquota.c
*** Error code 2
make: Fatal error: Command failed for target `maildirquota.o'
Current working directory
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
My ./configure looks like this:
./configure --prefix=/opt/courier --with-piddir=/var/run
--without-authpwd --without-authpgsql --without-authvchkpw
--without-authldap --with-ispell=/opt/ispell/bin --enable-https
--with-calendarpurge=90 --with-trashquota --enable-mimetypes=/etc/mime.types
My LD and CPPFLAGS are:
LDFLAGS=-L/opt/openssl/lib -L/opt/BerkeleyDB/lib -L/opt/openldap/lib
All the required software is installed in /opt.
BerkeleyDB apache gmake lost+found php
SUNWits autoconf ipf mysql python
SUNWrtvc automake ispell openldap src
SUNWspro expect libtool openssl sudo
Any help anyone might be able to provide would be greatly appreciated. This
is driving me a bit mad, and I really would like a working mail server (a
courier one if at all possible ;).
Thanks in advance, and let me know if more information is required.