On Sat, 2008-10-25 at 09:22 +0200, LÉVAI Dániel wrote:
Hi!
I'm trying to use dovecot-1.1.5 with Berkley DB 4.6.21 on OpenBSD.
It compiles fine on Debian with bdb 4.7.25.2, 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