From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 08:32:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2480D1065670 for ; Thu, 29 Jan 2009 08:32:26 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from mail.nicoelro.net (helm.nicoelro.net [87.98.216.147]) by mx1.freebsd.org (Postfix) with ESMTP id D88F28FC13 for ; Thu, 29 Jan 2009 08:32:25 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: by mail.nicoelro.net (Postfix, from userid 58) id 99473792D4; Thu, 29 Jan 2009 09:32:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on helm.nicoelro.net X-Spam-Level: X-Spam-Status: No, score=-4.3 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from orthanc (mne69-8-82-247-37-160.fbx.proxad.net [82.247.37.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas@nicoelro.net) by mail.nicoelro.net (Postfix) with ESMTP id 3408D78F08; Thu, 29 Jan 2009 09:32:23 +0100 (CET) Date: Thu, 29 Jan 2009 09:32:23 +0100 From: Nicolas Letellier To: Mel Message-Id: <20090129093223.47c35a54.nicolas@nicoelro.net> In-Reply-To: <200901281519.44870.fbsd.questions@rachie.is-a-geek.net> References: <20090128174753.8d2b15b5.nicolas@nicoelro.net> <200901280927.04636.fbsd.questions@rachie.is-a-geek.net> <20090128233259.c864fb41.nicolas@nicoelro.net> <200901281519.44870.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cannot build dovecot with bdb support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 08:32:26 -0000 On Wed, 28 Jan 2009 15:19:44 -0900 Mel wrote: > On Wednesday 28 January 2009 13:32:59 Nicolas Letellier wrote: > > On Wed, 28 Jan 2009 09:27:04 -0900 > > > > Mel wrote: > > > On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote: > > > > Hello. > > > > > > > > I use FreeBSD-6.3. I want to install dovecot port with dbd support. > > > > However, that's impossible. See my error: > > > > > > > > hecking for pam/pam_appl.h... no > > > > checking for pam_setcred in -lpam... yes > > > > checking for auth_userokay... no > > > > checking db_env_create in -ldb... no > > > > configure: error: Can't build with db support: libdb not found > > > > ===> Script "configure" failed unexpectedly. > > > > Please report the problem to yds@CoolRat.org [maintainer] and attach > > > > the "/usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log" including > > > > the > > > > > > The answer is in there. Works for me with db46. Could you show the part > > > of config.log where it says it fails? > > > Search for "checking db_env_create in -ldb" and anything below that will > > > be helpful. > > > > I built db46 port, but I was the same error whel building dovecot... > > The log says: > > > > configure:27631: checking db_env_create in -ldb > > configure:27660: cc -o conftest -std=gnu99 -O2 -pipe -march=pentium4 > > -I/usr/local/include/db41 -L/usr/local/lib -fno-strict-aliasing -Wall -W > > -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith > > -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/local/include > > -L/usr/local/lib conftest.c -ldb >&5 /usr/bin/ld: cannot find -ldb > > > -L/usr/local/lib/db41 is missing above. Not entirely sure why that is. I removed db41 package (and dependances) I installed db46. Now, it works. db41 does not install some files in /usr/local/lib (like libdb). Thanks for your advices. Regards. -- -Nicolas.