Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: error building on RHEL5

On Wed, Sep 03, 2008 at 11:22:35PM +1000, Luke Mewburn wrote:
  | 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/usr/xsrc/xfree/xc/programs/Xserver/include -c -o rgb.lo.o    
  |   | /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.

Actually, the approach I ended up taking was parsing rgb.txt
with a bit of awk and feeding that into db(1) to create the rgb.db.

The script that wraps this behaviour up is src/x11/bin/
if you're interested.

It seems to build fine on NetBSD 3.1 and FC8.


Attachment: pgp1rzLHuAA3a.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index