Re: [exim] problem with exim_dbmbuild

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Sujit Choudhury
CC: exim-users
Subject: Re: [exim] problem with exim_dbmbuild
On Wed, 12 Jan 2005, Sujit Choudhury wrote:

> I have the following:
>
> exim@chinstrap:~> ls /usr/include/db*
> /usr/include/db_185.h /usr/include/db.h
> /usr/include/db_cxx.h /usr/include/dbm.h
>
> /usr/include/db4:
> db_185.h db_cxx.h db.h
>
> /usr/include/db40:
> cxx_common.h cxx_except.h db_185.h db_cxx.h db.h
>
> /usr/include/db41:
> cxx_common.h cxx_except.h db_185.h db_cxx.h db.h
>

[snip]

> and as Philip suggested,
> LOOKUP_DBM=yes
> USE_DB=yes
> DBMLIB=/usr/lib/libdb-4.0.a
> INCLUDE=-I/usr/include/db4
>
> And it gives the same problem.


I suggest that you move /usr/include/db.h out of the way; maybe it is
finding that one before the one in -I/usr/include/db4. Or possibly you
need /usr/include/db40 rather than /usr/include/db4.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book