[Exim] exim: does it require db-devel when it has gdbm-*?

Top Page
Delete this message
Reply to this message
Author: prince
Date:  
To: exim-users
Subject: [Exim] exim: does it require db-devel when it has gdbm-*?
Dear Group!

I am trying to get exim to work with courier-imap and mysql. I have tested
the courier-imap + MySql successfully. When I try tho "make" exim I am
getting the following error.

make[1]: Entering directory `/home/prince/exim-4.30/build-Linux-i386'
make[2]: Entering directory `/home/prince/exim-4.30/build-Linux-i386/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/prince/exim-4.30/build-Linux-i386/pcre'
gcc -c -O  -DCOMPILE_UTILITY -o util-spool_in.o spool_in.c
In file included from exim.h:354,
                 from spool_in.c:12:
dbstuff.h:101:16: db.h: No such file or directory
In file included from exim.h:354,
                 from spool_in.c:12:
dbstuff.h:527: parse error before "DB"
dbstuff.h:527: warning: no semicolon at end of struct or union
dbstuff.h:529: parse error before '}' token
dbstuff.h:529: warning: data definition has no type or storage class
In file included from exim.h:358,
                 from spool_in.c:12:
dbfunctions.h:11: parse error before '*' token
dbfunctions.h:12: parse error before '*' token
dbfunctions.h:13: parse error before '*' token
dbfunctions.h:13: parse error before "open_db"
dbfunctions.h:13: warning: data definition has no type or storage class
dbfunctions.h:14: parse error before '*' token
dbfunctions.h:15: parse error before '*' token
dbfunctions.h:16: parse error before '*' token
make[1]: *** [util-spool_in.o] Error 1
make[1]: Leaving directory `/home/prince/exim-4.30/build-Linux-i386'
make: *** [go] Error 2


% rpm -qa | grep dbm
gdbm-1.8.0-20
gdbm-devel-1.8.0-20


I have also the following devels installed.

postgresql-devel-7.3.2-3
mysql-devel-3.23.58-1.9

Do I still need db*-devel?

I am following http://www.kowee.com/exim/exim002-eng.html. My makefile has
the following entry.

# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -
I /usr/local/pgsql/include
# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds
LOOKUP_INCLUDE=-I /usr/include/mysql
LOOKUP_LIBS=-L/usr/lib/mysql -lmysqlclient

Thanks,
Prince.