From owner-freebsd-hackers Mon Aug 12 10:51:53 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA01837 for hackers-outgoing; Mon, 12 Aug 1996 10:51:53 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA01809; Mon, 12 Aug 1996 10:51:43 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id MAA08683; Mon, 12 Aug 1996 12:50:57 -0500 From: Joe Greco Message-Id: <199608121750.MAA08683@brasil.moneng.mei.com> Subject: Re: Qpopper 2.2 To: greg@uswest.net (Greg Rowe) Date: Mon, 12 Aug 1996 12:50:57 -0500 (CDT) Cc: hackers@freebsd.org, ports@freebsd.org In-Reply-To: <9608092147.ZM29253@nevis.oss.uswest.net> from "Greg Rowe" at Aug 9, 96 09:47:44 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Greetings, > > I'm trying to get the bulletin database(BULLDB) feature in qpopper-2.2 > working. I'm using the 2.1.5 ports version and adding the -DBULLDB entry in the > Makefile. > The pop_bull.c file seems to be missing an include ( ), but other > than that it compiles without error. > > The instructions call for you to create two empty files (bulldb.pag & > bulldb.dir) in the bulletin directory which I did. The first attempt to > retrieve a mail bulletin works fine but creates a zero length 'bulldb.db' file. > Further attempts to check mail fail with the error "Unable to open Bulletin > database". > Permissions don't seem to be the problem. Has anyone used this feature on > FreeBSD or does anyone have any ideas ? Thanks. Your _problem_ is that you are using Berkeley DB - not DBM - and B-DB does not use .pag and .dir files... the instructions aren't helpful for you. :-) If memory serves, there may be a few semantic differences in the C language interface. I think I ran into something similar once when porting a bit of code... I believe, if my flaky memory serves, that there was an argument mismatch of some sort. Sorry that's all I can tell you, ... JG