Subject: Re: Build problem with mail/bogofilter on Darwin 6.5
To: Jeremy C. Reed <>
From: Sean J. Schluntz <>
List: tech-pkg
Date: 05/02/2003 10:10:28
In message <>, 
"Jeremy C. Reed" writes:
>On Fri, 2 May 2003, Sean J. Schluntz wrote:
>> Greetings, I'm trying to build mail/bogofilter on a MacOS 10.2.5 system
>> and it can't see the BerkleyDB files.  The package system knows they
>> are there. Any ideas why this error would pop up?
>I think it should be installed at
>Or what does this tell you (when in mail/bogofilter):
> make show-var VARNAME=BUILDLINK_PREFIX.db4
>(Mine is /usr/pkg.)

Yep, I get the same responce:

  ttyp1 blue-schluntz> BUILDLINK_PREFIX.db4                   <


But for some reason bogofilter doesn't recognize it.  When trying to 
built it by hand it reports it can't find DB at all.  When using the
packages version the config.log shows:

configure:3274: checking whether db_create is declared
configure:3301: cc -c -g -I/usr/pkg/include  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wpointer-arith -Wno-system-headers -I/usr/pkg/include/db4 -no-cpp-precomp -I/usr/pkg/include conftest.c >&5
configure:3296: warning: function declaration isn't a prototype
configure: In function `main':
configure:3298: `db_create' undeclared (first use in this function)
configure:3298: (Each undeclared identifier is reported only once
configure:3298: for each function it appears in.)
configure:3298: warning: unused variable `p'
configure:3304: $? = 1
configure: failed program was:
| #line 3279 "configure"