On Wed, Sep 03, 2008 at 12:16:57AM +0200, Manuel Bouyer wrote: | # compile rgb/rgb.lo | cc -O3 -march=nocona -DNDBM -DRGB_DB=\"/usr/X11R6/lib/X11/rgb\" -I/dsk/l1/misc/bouyer/tmp/i386/dest/usr/X11R6/include -I/usr/xsrc/xfree/xc/programs/Xserver/include -c -o rgb.lo.o /dsk/l1/misc/bouyer/current/xsrc/xfree/xc/programs/rgb/rgb.c | /dsk/l1/misc/bouyer/current/xsrc/xfree/xc/programs/rgb/rgb.c:38:18: error: ndbm.h: No such file or directory There's our problem; no <ndbm.h> on your Linux system. We either need a src/tools/compat/ndbm.h and modify src/x11/tools/rgb to use it, or modify rgb to support db(3)'s hash (which is what ndbm is emulating) and ensure that it generates the same file as the ndbm.h emulation in db(3). The former is probably less change. I'll try and get to this in the next day or so, unless someone beats me to it.
Attachment:
pgpg2rkQDRLWB.pgp
Description: PGP signature