From owner-freebsd-ports@FreeBSD.ORG Fri Jun 13 16:25:56 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78BCA37B401 for ; Fri, 13 Jun 2003 16:25:56 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE12943FB1 for ; Fri, 13 Jun 2003 16:25:54 -0700 (PDT) (envelope-from P.Christias@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.11.6p2/8.11.6) with ESMTP id h5DNPoq91632; Sat, 14 Jun 2003 02:25:50 +0300 (EEST) Received: from ajax.noc.ntua.gr (localhost [127.0.0.1]) by ajax.noc.ntua.gr (8.12.9/8.12.6) with ESMTP id h5DNPo93088400; Sat, 14 Jun 2003 02:25:50 +0300 (EEST) (envelope-from P.Christias@noc.ntua.gr) Received: (from christia@localhost) by ajax.noc.ntua.gr (8.12.9/8.12.9/Submit) id h5DNPouw088399; Sat, 14 Jun 2003 02:25:50 +0300 (EEST) X-Authentication-Warning: ajax.noc.ntua.gr: christia set sender to P.Christias@noc.ntua.gr using -f Date: Sat, 14 Jun 2003 02:25:49 +0300 From: Panagiotis Christias To: Dag-Erling Smorgrav Message-ID: <20030613232549.GO731@ajax.noc.ntua.gr> References: <20030613181938.GN731@ajax.noc.ntua.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: inn-2.4.0 and ovdb support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 23:25:56 -0000 On Fri, Jun 13, 2003 at 11:23:38PM +0200, Dag-Erling Smorgrav wrote: > Panagiotis Christias writes: > > why isn't ovdb support (--with-berkeleydb) enabled by default in > > the inn-2.4.0 package? Is where any system specific problem? If > > not, you could add it as an user option in the Makefile. > > What version of Berkeley DB does INN expect? Then ovdb man page states: "Ovdb is a storage method that uses the BerkeleyDB library to store overview data. It requires version 2.6.x or later of the BerkeleyDB library, but has mostly been tested with version 3 and 4." In inn's configure file lines 5829 to 5838: if test x"$BERKELEY_DB_DIR" = xyes ; then for v in db4 db3 db2 ; do if test -d "/usr/local/include/$v" ; then BERKELEY_DB_LDFLAGS="-L/usr/local/lib" BERKELEY_DB_CFLAGS="-I/usr/local/include/$v" BERKELEY_DB_LIB="-l$v" echo "$ac_t""FreeBSD locations" 1>&6 break fi done the order of preference for FreeBSD systems is db4 then db3 and last db2. I verified it in a system with both db4 and db3 installed. Version 4.1 would probably work fine too since a few lines before the configure script looks for BerkeleyDB.4.1 etc directories under /usr/local, /opt or /usr. Regards, Panagiotis > DES > -- > Dag-Erling Smorgrav - des@ofug.org -- Panagiotis J. Christias Network Management Center P.Christias@noc.ntua.gr National Technical Univ. of Athens, GREECE