Subject: pkg/7828: siag doesn't build.. missing dependancy on gdbm?
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 06/21/1999 08:52:47
>Number:         7828
>Category:       pkg
>Synopsis:       siag doesn't build; botched autoconf handling of ndbm?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 21 08:50:00 1999
>Last-Modified:
>Originator:     Bill Sommerfeld
>Organization:
	
>Release:        19990621
>Environment:
	
System: NetBSD orchard.arlington.ma.us 1.4 NetBSD 1.4 (ORCHARDII) #54: Sun May 16 10:05:51 EDT 1999 sommerfeld@orchard.arlington.ma.us:/usr/src/sys/arch/i386/compile/ORCHARDII i386


>Description:

siag includes siod, which fails to build because of an apparent
autoconf botch; HAVE_DBM_PAGFNO is defined in the generated config.h
file but is not defined to anything which can compile.

cc -DHAVE_CONFIG_H -I. -I. -I.. -Dunix -DSIAG  -DNDBM  -Wall -O2 -Dunix -Dunix -c ndbm.c
ndbm.c: In function `ldbm_pagfno':
ndbm.c:155: `DBM_PAGFNO_NOT_AVAILABLE' undeclared (first use in this function)
ndbm.c:155: (Each undeclared identifier is reported only once
ndbm.c:155: for each function it appears in.)
ndbm.c: In function `ldbm_rdonly':
ndbm.c:173: warning: implicit declaration of function `dbm_rdonly'
gmake[2]: *** [ndbm.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/misc/siag/work.i386/siag-3.1.11/siod'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/misc/siag/work.i386/siag-3.1.11'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

>How-To-Repeat:
	try building siag.  maybe it uses gdbm if it's installed on
	the system, but i don't have it installed.
>Fix:
	???

>Audit-Trail:
>Unformatted: