Subject: pkg/25247: mail/cyrus-imapd22 fails to build on -current if BDB_TYPE == native
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 04/20/2004 00:14:05
>Number:         25247
>Category:       pkg
>Synopsis:       mail/cyrus-imapd22 fails to build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 19 22:15:00 UTC 2004
>Originator:     Jukka Salmi
>Release:        NetBSD 2.0C
System: NetBSD 2.0C NetBSD 2.0C (GENERIC) #0: Sat Apr 10 15:10:44 CEST 2004 i386
Architecture: i386
Machine: i386
On NetBSD-current, mail/cyrus-imapd22 fails to build if BDB_TYPE is set to
"native" (i.e. if databases/db[34] is not installed).
$ cd pkgsrc/mail/cyrus-imapd22 && make configure
        * BDBBASE (defined)
        * BDB_TYPE = native
checking for db_create in -ldb... no
checking for db_open in -ldb... no
configure: error: Berkeley DB 3.x or later was not found.  You may need to
    supply the --with-bdb-libdir or --with-bdb-incdir configure options.
*** Error code 1
Workaround: set BDB_TYPE=db4