Re: [Exim] Which DB/DBM libraries to use with Exim-3.31 and …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Michael J. Tubby B.Sc. G8TIC
Ημερομηνία:  
Προς: Oliver Cook
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Which DB/DBM libraries to use with Exim-3.31 and RedHat 7.0 ?
----- Original Message -----
From: "Oliver Cook" <ollie@???>
To: "Michael J. Tubby B.Sc. G8TIC" <mike.tubby@???>
Cc: <exim-users@???>
Sent: Saturday, July 14, 2001 12:09 PM
Subject: Re: [Exim] Which DB/DBM libraries to use with Exim-3.31 and RedHat
7.0 ?


> On Sat, Jul 14, 2001 at 11:01:38AM +0100, Michael J. Tubby B.Sc. G8TIC

wrote:
> > gcc -O  -o exim_dbmbuild  exim_dbmbuild.c \
> >   -lnsl -lcrypt  -ldb
> > In file included from exim.h:332,
> >                  from exim_dbmbuild.c:30:
> > dbfn.h:107:16: db.h: No such file or directory
> > make[1]: *** [exim_dbmbuild] Error 1
> > make[1]: Leaving directory `/root/exim-3.31/build-Linux-i386'
> > make: *** [go] Error 2
> > [root@pendragon exim-3.31]#

>
> Forgot to mention in my last email... where is your db.h? (find / -name

db.h
> or locate db.h)
>
> If it's not in a standard include directory you will have to edit the

Makefile
> to include -I/path/to/the/directory
>
> Ollie
>
> --
> Oliver Cook    Systems Administrator, ClaraNET
> ollie@???               020 7903 3065

>


Okay,

I've fiddled with the Makefile in the build-linux-i386 directory and got it
to build against db1 by changing this:

# From OS/Makefile-Linux
BASENAME_COMMAND=look_for_it
CFLAGS=-O -I/usr/include/db1/ -L/usr/lib/            <- changed
DBMLIB = -ldb1                                                  <- changed
USE_DB = yes
LIBS = -lnsl -lcrypt


haven't tested it in anger (yet).


Mike