On Fri, Feb 24, 2012 at 7:19 AM, <manu@...> wrote: > Gary Faith <gafaith@...> wrote: > >> That fixed the compile problem. > > Great, I wonder if it is wise to do an alpha 2 right now: there may be > some compiling issue remaining. CONFIGURE_ARGS = --prefix=/opt/csw CONFIGURE_ARGS += --sysconfdir=/etc/opt/csw CONFIGURE_ARGS += --with-user=`/usr/xpg4/bin/id -u` CONFIGURE_ARGS += --with-conffile=/etc/opt/csw/greylist.conf CONFIGURE_ARGS += --enable-dnsrbl CONFIGURE_ARGS += --enable-stdio-hack CONFIGURE_ARGS += --localstatedir=/var/opt/csw CONFIGURE_ARGS += --with-libGeoIP=/opt/csw/lib CONFIGURE_ARGS += --with-libspf2=/opt/csw/lib CONFIGURE_ARGS += --mandir=/opt/csw/share/man CONFIGURE_ARGS += --with-libcurl=/opt/csw/lib And Gary used: ./configure --with-libspf2=/usr/local --enable-p0f3 --enable-spamassassin --sysconfdir=/etc --localstatedir=/var That leaves --enable-mx, --enable-drac and --enable-postfix. I added them even though I don't need them just to test and had trouble with drac: /opt/csw/bin/gcc-4.6 -mtune=i686 -O2 -pipe -m32 -march=i386 -Wall -I/opt/csw/lib/include -DUSE_CURL -I/opt/csw/lib/include -DUSE_GEOIP -I/opt/csw/lib/include -DUSE_FD_POOL -DUSE_DRAC -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_MX -DUSE_POSTFIX -DCONFFILE=\"/etc/opt/csw/greylist.conf\" -DDUMPFILE=\"/var/opt/csw/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I. -I/opt/csw/include -I/opt/csw/include -c -o milter-greylist.o milter-greylist.c milter-greylist.c: In function 'real_header': milter-greylist.c:809:11: warning: variable 'stat' set but not used [-Wunused-but-set-variable] milter-greylist.c: In function 'real_body': milter-greylist.c:886:11: warning: variable 'stat' set but not used [-Wunused-but-set-variable] milter-greylist.c: In function 'real_eom': milter-greylist.c:988:11: warning: variable 'stat' set but not used [-Wunused-but-set-variable] milter-greylist.c: In function 'gmtoffset': milter-greylist.c:2040:2: warning: implicit declaration of function 'gmtime_r' [-Wimplicit-function-declaration] milter-greylist.c:2041:2: warning: implicit declaration of function 'localtime_r' [-Wimplicit-function-declaration] milter-greylist.c: In function 'check_drac': milter-greylist.c:2218:2: warning: implicit declaration of function 'dbopen' [-Wimplicit-function-declaration] milter-greylist.c:2218:41: error: 'O_SHLOCK' undeclared (first use in this function) milter-greylist.c:2218:41: note: each undeclared identifier is reported only once for each function it appears in milter-greylist.c:2226:2: warning: passing argument 2 of 'ddb->get' from incompatible pointer type [enabled by default] milter-greylist.c:2226:2: note: expected 'struct DB_TXN *' but argument is of type 'struct DBT *' milter-greylist.c:2226:2: error: too few arguments to function 'ddb->get' milter-greylist.c:2227:2: error: too few arguments to function 'ddb->close' milter-greylist.c: In function 'fstring_expand': milter-greylist.c:2568:2: warning: implicit declaration of function 'strtok_r' [-Wimplicit-function-declaration] milter-greylist.c:2568:15: warning: assignment makes pointer from integer without a cast [enabled by default] gmake: *** [milter-greylist.o] Error 1 Removing drac, it built. /peter
Message
Re: [milter-greylist] milter-greylist 4.4 alpha1 is available
2012-02-24 by shuttlebox
Attachments
- No local attachments were found for this message.