Date: Wed, 28 Jan 2009 23:32:59 +0100 From: Nicolas Letellier <nicolas@nicoelro.net> To: Mel <fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: Cannot build dovecot with bdb support Message-ID: <20090128233259.c864fb41.nicolas@nicoelro.net> In-Reply-To: <200901280927.04636.fbsd.questions@rachie.is-a-geek.net> References: <20090128174753.8d2b15b5.nicolas@nicoelro.net> <200901280927.04636.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Jan 2009 09:27:04 -0900 Mel <fbsd.questions@rachie.is-a-geek.net> 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 Regards, -- -Nicolas.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090128233259.c864fb41.nicolas>