atom feed4 messages in net.sourceforge.lists.courier-users[courier-users] Solaris 9 compile pro...
FromSent OnAttachments
C. Reece RakowskiJul 14, 2002 9:07 am 
Sam VarshavchikJul 14, 2002 10:23 am 
C. Reece RakowskiJul 14, 2002 1:18 pm 
Sam VarshavchikJul 14, 2002 2:15 pm 
Subject:[courier-users] Solaris 9 compile problems
From:C. Reece Rakowski (crak@circi.com)
Date:Jul 14, 2002 9:07:42 am
List:net.sourceforge.lists.courier-users

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