[PATCH] xfstests: fix dbtest build

Eric Sandeen sandeen at redhat.com
Wed Nov 12 09:55:49 CST 2008


Christoph Hellwig wrote:
> On Mon, Nov 03, 2008 at 05:04:32PM -0600, Eric Sandeen wrote:
>> At least on my x86_64 RHEL5 box, if gdbm-devel is installed, then the
>> xfstests build fails with:
> 
> Still doesn't build even with libgdbm-dev installed on debian, despite
> having a /usr/include/gdbm.h.  Even when manually including that one it
> doesn't define DBM.  Which of the three headers does actually get used
> on RHEL?
> 

hm, looks like:


checking gdbm/ndbm.h usability... yes
checking gdbm/ndbm.h presence... yes
checking for gdbm/ndbm.h... yes

and include/config.h winds up as:

/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
#define HAVE_GDBM_NDBM_H 1

...

/* Define to 1 if you have the <ndbm.h> header file. */
/* #undef HAVE_NDBM_H */

and:

[root at host xfstests]# locate gdbm/ndbm.h
/usr/include/gdbm/ndbm.h
[root at host xfstests]# rpm -qf /usr/include/gdbm/ndbm.h
gdbm-devel-1.8.0-26.2.1
[root at bear-05 xfstests]#


-Eric



More information about the xfs mailing list