Subject: pkg/20972: databases/openldap needs a database buildlink2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/31/2003 20:27:36
>Number:         20972
>Category:       pkg
>Synopsis:       databases/openldap needs a database buildlink2
>Confidential:   yes
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 31 20:28:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/databases/openldap needs a database (at least maybe under Linux).
For example:

checking for db.h... no
checking for MDBM library... checking for mdbm_set_chain... no
checking for mdbm_set_chain in -lmdbm... no
no
checking for mdbm.h... no
checking for db... no
checking for GDBM library... checking for gdbm_open... no
checking for gdbm_open in -lgdbm... no
no
checking for gdbm.h... no
checking for db... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable
*** Error code 1

>How-To-Repeat:
	
>Fix:
My workaround was to add a check for Linux also at the SunOS
check. (But it isn't right, because there is no librt.)

Also, maybe an option to choose Berkeley DB or GDBM or other?
>Release-Note:
>Audit-Trail:
>Unformatted: