[Dovecot] can not compile 1.1.5 with BDB
tss at iki.fi
Sat Oct 25 15:59:00 EEST 2008
On Sat, 2008-10-25 at 09:22 +0200, LÉVAI Dániel wrote:
> I'm trying to use dovecot-1.1.5 with Berkley DB 4.6.21 on OpenBSD.
It compiles fine on Debian with bdb 220.127.116.11, but I think it should work
fine with older versions too.
> While compiling I get this:
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-sql \
> -DPKG_RUNDIR=\""/var/run/dovecot"\" -I/usr/local/include -std=gnu99\
> -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations \
> -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast \
> -fstack-protector -MT dict-db.o -MD -MP -MF .deps/dict-db.Tpo -c -o \
> dict-db.o dict-db.c
> dict-db.c:15: error: syntax error before "DB_ENV"
My guess is that #include <db.h> includes wrong file. Try to find out
the correct file and try putting the full path there. I don't have
OpenBSD installed so I can't really test this myself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081025/cced3d03/attachment.bin
More information about the dovecot