Exim compiling errors
I have centos 5.5 with directadmin installed using the tutorial in these forums.
After stating the mail services etc it fails to receive any mails to the server.
So i followed guide in
this post, as did my friend in post above. Rebuilt /etc/virtual dir then went to recompile exim form source as in
this post.
All was good till i went ot
make. It errors out as below. Please help as i need a working email server so as to regain many accounts for hosting site i run.
gcc exim_dbmbuild.c
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:540: error: expected specifier-qualifier-list before 'DB'
exim_dbmbuild.c: In function 'main':
exim_dbmbuild.c:150: error: 'DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: 'd' undeclared (first use in this function)
exim_dbmbuild.c:151: error: 'DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected ';' before 'key'
exim_dbmbuild.c:213: error: 'DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: 'content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/root/exim-4.73/build-Linux-x86_64'
make: *** [all] Error 2
[root@server exim-4.73]
Kind regards
Dj