clamav + milter help

wazigster at gmail.com wazigster at gmail.com
Sat Mar 31 14:31:21 PDT 2007


Hi,

I've tried to build the clamav + milter package. But it fails as you
can see below:
# less mk.conf
# Generated from nrelease
#
# $DragonFly: src/nrelease/mk.conf.pkgsrc,v 1.2 2005/12/22 23:23:32 dillon Exp $
. ifdef BSD_PKG_MK
PKG_DBDIR=/var/db/pkg
LOCALBASE=/usr/pkg
VARBASE=/var
FETCH_CMD=/usr/pkg/bin/ftp
PAX=/usr/pkg/bin/pax
X11_TYPE=xorg
WRKOBJDIR=/usr/obj/pkgsrc
ACCEPTABLE_LICENSES+=sendmail-license
PKG_OPTIONS.clamav += milter
USE_LANGUAGES+=c
USE_LANGUAGES+=c++
USE_LANGUAGES+=fortran
. endif

# bmake install clean
<SNIP>
WARNING: [depends.mk] Unknown object format for installed package
digest-20050731
=> Required installed package digest>=20010302: digest-20050731 found
=> Required installed package libtool-base>=1.5.22nb1:
libtool-base-1.5.22nb4 found
=> Required installed package libmilter>=8.13.1: libmilter-8.13.8 found
=> Required installed package curl>=7.16.0: curl-7.16.1 found
=> Required installed package gmp>=4.2.1: gmp-4.2.1 found
<SNIP>
checking for sendmail... /usr/sbin/sendmail
checking for __gmpz_init in -lgmp... yes
checking for curl >= 7.10.0... pkg-config: not found
7.16.1
checking for mi_stop in -lmilter... no
checking for library containing strlcpy... no
checking for mi_stop in -lmilter... no
configure: error: Cannot find libmilter
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/mail/clamav
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/mail/clamav
# locate libmilter | less
/usr/include/libmilter
/usr/include/libmilter/mfapi.h
/usr/include/libmilter/mfdef.h
/usr/lib/compat/libmilter.so.2
/usr/lib/libmilter.a
/usr/lib/libmilter.so
/usr/lib/libmilter.so.3
<SNIP>
/usr/pkg/include/libmilter
/usr/pkg/include/libmilter/mfapi.h
/usr/pkg/include/libmilter/mfdef.h
/usr/pkg/lib/libmilter.a
and of course the base install has sendmail with milter support
# sendmail -d0 < /dev/null | grep MILTER
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
How do I tell the build script where milter is? Or am I doing the the
wrong way? If so please enlighten me how it's done.
TIA,





More information about the Users mailing list