Subject: pkg/25247: mail/cyrus-imapd22 fails to build on -current if BDB_TYPE == native
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jukka-netbsd@2004.salmi.ch>
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
>Closed-Date:
>Last-Modified:
>Originator:     Jukka Salmi
>Release:        NetBSD 2.0C
>Organization:
>Environment:
System: NetBSD himo.salmi.ch 2.0C NetBSD 2.0C (GENERIC) #0: Sat Apr 10 15:10:44 CEST 2004 build@himo.salmi.ch:/build/nbsdc/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
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).
>How-To-Repeat:
$ 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
>Fix:
Workaround: set BDB_TYPE=db4
>Release-Note:
>Audit-Trail:
>Unformatted: