Re: libdb (w/ 1.85 compatibility)



On Wed, 26 Feb 2003 12:25:38 -0500
Jody Goldberg <jody gnome org> wrote:

On Tue, Feb 25, 2003 at 12:55:46AM -0600, Jim Bjorksten wrote:
This webpage:  http://www.gnome.org/projects/gnumeric/download.shtml
doesn't mention libdb as a dependency.

I'm trying to build gnumeric on a:
uname -a
SunOS <hostname_not_applicable> 5.8 Generic_108528-16 sun4u sparc 
SUNW,UltraSPARC-IIi-Engine

which doesn't have libdb installed on it already.

I went to www.sleepycat.com and downloaded and built their latest 
version, but (as shown below) it doesn't have a 1.85 compatibility mode.

Can someone point me to the best place to get a gnumeric-compatible 
libdb?  (a filename would be helpful if it's not obvious).

Below is my configure error message:
.
.
.
checking for strdup... (cached) yes
checking for utime.h... yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for umode_t... no
checking for dbopen... no
checking for dbopen in -ldb... no
checking for dbopen in -ldb1... no
configure: error: Your db library is missing db 1.85 compatibility mode

Hmm.  Gnumeric does not depend on libdb.  That test must be coming
from the gnome default tests somehow.  What version of gnumeric is
this ?  My first guess would be that any version of libdb is ok, but
you need to compile it with the 1.85 compatibility enabled.  I have
not needed to look at that in a long time.

Get the most recent libdb from www.sleepycat.com, configure the source with the --enable-compat185 parameter, 
and build the db libraries.  Then, be certain to include the db install directory in your LD_LIBRARY_PATH 
environment variable, or copy or link the libdb files into a directory already on your library path.  Be sure 
that you get rid of any old copies of both the library and include files.

 -- Norm Reitzel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]