xfs
[Top] [All Lists]

Re: [PATCH] xfstests: fix dbtest build

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfstests: fix dbtest build
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Wed, 12 Nov 2008 09:55:49 -0600
Cc: xfs mailing list <xfs@xxxxxxxxxxx>
In-reply-to: <20081112100420.GA32567@xxxxxxxxxxxxx>
References: <490F8380.6020706@xxxxxxxxxx> <20081112100420.GA32567@xxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
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@host xfstests]# locate gdbm/ndbm.h
/usr/include/gdbm/ndbm.h
[root@host xfstests]# rpm -qf /usr/include/gdbm/ndbm.h
gdbm-devel-1.8.0-26.2.1
[root@bear-05 xfstests]#


-Eric

<Prev in Thread] Current Thread [Next in Thread>