Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 17:47:53 +0100
From:      Nicolas Letellier <nicolas@nicoelro.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Cannot build dovecot with bdb support
Message-ID:  <20090128174753.8d2b15b5.nicolas@nicoelro.net>

next in thread | raw e-mail | index | archive | help
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 output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/mail/dovecot.
*** Error code 1

Stop in /usr/ports/mail/dovecot.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.60329.0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! mail/dovecot  (configure error)

At the top of the "make", I see "dovecot-1.1.8 depends on shared library: db41.1 - found". So, I have some db files installed...

When I remove dbd support, it works. I wrote to the maintainer. But, temporarly, I want to solve this problem and add bdb support to my dovecot. Do you have a solution? Why I havn't got libdb?

Thanks.

Best regards,

-- 
 -Nicolas.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090128174753.8d2b15b5.nicolas>