On Tue, Nov 12, 2002 at 11:18:27AM -0500, Ben Collins wrote: > On Tue, Nov 12, 2002 at 11:19:04AM +0100, Sven Luther wrote: > > Hello, ... > > > > I have a package who used to use /usr/include/db1/ndbm.h to build ndbm > > support, which worked fine with libc6 versions prior to 2.3.1. > > > > Now, this file seem to have vanished from the latest libc6. Is that an > > intentional thing, and if yes, what are the new way of using dbm support ? > > > > I currently hacked my package so it use the gdbm-ndbm.h from > > libgdbmg1-dev, which seems to work, and am about to send a patch > > upstream about this, but would want to know what exactly is going on, so > > i can provide a cleaner patch that may also be working in the future. > > You can also use the dbm interfaces in all the libdb packages (including > the latest db4.0). They are all binary compatible on-disk formats.
Well, my problem is that the package does not enable the support at compile time when it does not detect a ndbm.h. So i would have to build depend on a package providing an ndbm.h (currently it looks at /usr/include, /usr/include/db1 and /usr/include/gdbm) but is not happy for a gdbm-ndbm.h. > db1 support in glibc 2.2 was hacked in. It was never there upstream. For > glibc 2.3, we dropped the hack. The db1-compat package provides binary Ok, but a changelog entry would have been handy. > compatibility, but as noted many times, compile time needs to use the > dbm interfaces in libdb4.0-dev Ok, so i should build-depend on libdb4.0-dev ? It conflicts with libbonobo-conf-dev, libbonobo-dev, libdb3-dev, libgdk-pixbuf-gnome-dev, libglade-gnome0-dev, libgnome-dev and libgnomeprint-dev though. ... Mmm, it provides a /usr/include/db.h though, and not a /usr/include/ndbm.h, are those the same things ? Friendly, Sven Luther > > -- > Debian - http://www.debian.org/ > Linux 1394 - http://www.linux1394.org/ > Subversion - http://subversion.tigris.org/ > Deqo - http://www.deqo.com/

