Greetings,

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 
gmake)

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 
/export/home/rakowsre/westeros/courier-0.39.1/maildir
*** 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 
--with-mailuser=courier --with-mailgroup=courier 
--with-shellpath=/bin:/sbin:/usr/sbin:/usr/sfw/bin:/usr/sfw/sbin 
--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 
-L/usr/sfw/lib
CPPFLAGS=-I/opt/openssl/include/openssl -I/opt/BerkeleyDB/include 
-I/opt/openldap/include -I/usr/sfw/include

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.


Reece




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to