RE: [Exim] db.h not found??

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Karl Schmidt
CC: exim-users
Assunto: RE: [Exim] db.h not found??
On Wed, 7 Mar 2001, Karl Schmidt wrote:

> You must NOT set USE_DB for gdbm.
> [KPS] I didn't - but look at:
>
> rpm -qa | grep db1
> db1-1.85-4
> db1-devel-1.85-4


I am not a Linux person. I'm not experienced in all this RPM stuff.
Looks like you have DB 1.85, which is very old.

> rpm -qa | grep gdb
> gdbm-1.8.0-5
> gdbm-devel-1.8.0-5
> xxgdb-1.12-16
> gdb-5.0-7


Heck, and some gdbm stuff.

> rpm -qa | grep db3
> db3-3.1.14-6


And DB3.

> What is the syntax of USE_DB ? is it USE_DB=yes ?


Yes. Probably best to make it use DB3, but you'll have to make sure you
get the correct db.h. I have several DBMs installed on my system for
testing, but I keep them in separate directories. My Local/Makefile
contains

USE_DB=yes
INCLUDE=-I/opt/local/include/db-3
DBMLIB=/opt/local/lib/db-3/libdb.a

when I want to use DB3 (but I'm using Solaris 8, not Linux).

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.