failed to compile exim 4.97.1 with DA custombuild

jennyuanc

New member
Joined
Jun 26, 2024
Messages
1
Hi,

Does anyone know how to fix this problem?
I have tried several methods mentioned in the forum, but still could not fix the problem.
I would be grateful if someone could give me a solution.
======================================================================
# da build exim
This system is receiving updates from CloudLinux Network server.
Error: Unable to find a match: libspf2-devel perl-File-FcntlLock
download_cached: using cached '/usr/local/directadmin/custombuild/cache/exim-4.97.1.tar.gz' file
Compiling exim...
/bin/sh scripts/source_checks

>>> Creating links to source files...
>>> Creating lookups/Makefile for building dynamic modules
>>> New Makefile & lookups/Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile

make[1]: warning: -j2 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/usr/local/directadmin/custombuild/tmp/tmp.8AY5CtNNyr.exim-4.97.1.tar.gz/build-Linux-x86_64'
/bin/sh ../scripts/Configure-os.c
cc buildconfig.c
/bin/sh ../scripts/Configure-os.h
cc exim_lock.c
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory '/usr/local/directadmin/custombuild/tmp/tmp.8AY5CtNNyr.exim-4.97.1.tar.gz/build-Linux-x86_64'
make[2]: 'buildconfig' is up to date.
make[2]: Leaving directory '/usr/local/directadmin/custombuild/tmp/tmp.8AY5CtNNyr.exim-4.97.1.tar.gz/build-Linux-x86_64'
cc -o exim_lock
>>> exim_lock utility built

Building configuration file config.h
>>> config.h built

cc -DMACRO_PREDEF macro_predef.c
cc -DMACRO_PREDEF globals.c
In file included from exim.h:536,
from macro_predef.c:13:
hintsdb.h:160:11: fatal error: db.h: No such file or directory
# include <db.h>
^~~~~~
compilation terminated.
make[1]: *** [Makefile:263: macro_predef.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from exim.h:536,
from globals.c:13:
hintsdb.h:160:11: fatal error: db.h: No such file or directory
# include <db.h>
^~~~~~
compilation terminated.
make[1]: *** [Makefile:266: macro-globals.o] Error 1
make[1]: Leaving directory '/usr/local/directadmin/custombuild/tmp/tmp.8AY5CtNNyr.exim-4.97.1.tar.gz/build-Linux-x86_64'
make: *** [Makefile:37: all] Error 2
doExim: failed to compile '/usr/local/directadmin/custombuild/cache/exim-4.97.1.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.8AY5CtNNyr.exim-4.97.1.tar.gz'
failed to compile exim 4.97.1
==================================================================================
 
Hi, the reason for the problem is in a first couple of log lines:

Code:
This system is receiving updates from CloudLinux Network server.
Error: Unable to find a match: libspf2-devel perl-File-FcntlLock

CB failed to install the required packages. These packages are available in the epel repo. Make sure epel repo is enabled. Normally epel repo is enabled by default and we do not recommend disabling it. IF disabled you will not be receiving the updates for packages from epel repo with simple yum update.
 
Back
Top