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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: prince
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] exim: does it require db-devel when it has gdbm-*?
Also, I have these changes in the Makefile

*******************
SUPPORT_MAILDIR=yes
*******************

LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes

*******************
LOOKUP_MYSQL=yes
AUTH_CRAM_MD5=yes
AUTH_PLAINTEXT=yes
*******************

Thanks,
Prince.

On Wed, 21 Jan 2004 16:24:31 -0800, prince wrote
> 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.
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##