Re: Compile error

Rob Andrews (rob@comawhite.demon.co.uk)
Sun, 8 Aug 1999 00:24:19 +0100 (BST)

On Sat, 7 Aug 1999, Kari Suomela wrote:

> I did, and get:
> ref.c:63: nbdm.h: No such file or directory

There can be many reasons for this.

ndbm.h is part of the GNU C library. If you're using glibc 2.1.x, then the
#include directive should read "db1/ndbm.h", so that's why it doesn't
work.

If you're not a Linux user, then you might not have that dbm library. Edit
the CONFIG file and remove "-DHAS_NDBM_H" from the OPTS section for your
system.

If you do have the 2.1.x version of glibc, then edit the source to refer
to "db1/ndbm.h". This occurs in the files:

ifgate/ifdbm.h
ifgate/msgidbm.c
ifcico/nlindex.h

(on the 2.14 version).

HTH.

-- 
RzA.