trevor.mclachlan@??? wrote:
> Hi there,
>
> I am getting an error (still, but different error) when trying to do
> the"make" .....
>
> This is the error -
>
> gcc -c -O -o exim_dbmbuild.o exim_dbmbuild.c
> In file included from exim.h:354,
> from exim_dbmbuild.c:30:
> dbstuff.h:101: db.h: No such file or directory
> make[1]: *** [exim_dbmbuild.o] Error 1
> make[1]: Leaving directory
> `/export/home/trevor/exim-4.30/build-SunOS5-5.8-sparc'
> make: *** [go] Error 2
>
>
> Has anyone seen this before ???
A glance at the FAQ or a Google for the specific error message would tell
you that it's pretty common.
> In my Local/Makefile I have set these options -
>
> USE_DB=yes
> CC=gcc
> SUPPORT_TLS=yes
> TLS_LIBS=-L/usr/local/ssl/lib -lssl -lcrypto
> TLS_INCLUDE=-I/usr/local/ssl/include
>
> What line do I need to include in my Local/Makefile to get past this
> dbstuff.h:101: db.h: No such file or directory ??
You need to have installed a suitable DB library for your system, and/or add
the path to its libraries to LOOKUP_LIBS and its includes to LOOKUP_INCLUDE.
You don't say what the OS is, so I can't give you any more specific advice.
Peter