Auteur: Sujit Choudhury Date: À: Philip Hazel CC: exim-users Sujet: Re: [exim] problem with exim_dbmbuild
Philip Hazel wrote: > 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,
You are absolutely right, using /usr/include/db40 solves the problem.
Many thanks for your help.