Date: Tue, 9 Sep 2003 20:20:12 -0500 From: "Scot W. Hetzel" <hetzelsw@westbend.net> To: <elitetek@tekrealm.net>, <ports@freebsd.org> Subject: Re: security/amavisd 1.0 problem Message-ID: <068001c37739$b3677950$11fd2fd8@westbend.net> References: <20030909020143.GA25505@freebsd.tekrealm.net>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Andrew Stuart" <elitetek@tekrealm.net> > It appears with the recent upgrade to 1.0, that amavisd is broken when > you build with_milter. attached is the section of the configure error, > anyone know how to fix this off hand? > > checking for libmilter/mfapi.h... yes > checking for smfi_main in -lmilter... no > configure: error: milter requested but not found > Your missing the libsm.a library, so you need to compile and install it by doing the following: cd /usr/src/lib/libsm vi Makefile - change INTERNALLIB to NOPIC make obj && make && make install If your building this on -CURRENT, then you also need to add the following to the amavisd/Makefile: CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS} \ PTHREAD_CFLAGS=${PTHREAD_CFLAGS} I have sent a pr with this fix today, see PR 56658. It also changes the startup scripts to use sysutils/rc_subr. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?068001c37739$b3677950$11fd2fd8>