Building inn with Berkley db v 4.1.24

Michael Schloh von Bennewitz michael.schloh at cw.com
Wed Oct 9 16:26:13 UTC 2002


It seems that inn v2.3.3 is not meant to be used with Berkley db 4.1.24 (the
latest release). I get compile errors right about at the (db)open call in
ovdb.c. If I am right about this, then I might have to patch at least
ovdb to work with the new db.

Does anybody have information about using inn with Berkley db 4.X?

Thanks,
Michael

----

./configure --prefix=/cw --bindir=/cw/libexec/inn --with-etc-dir=/cw/etc/inn \
  --with-db-dir=/cw/var/inn/db --with-control-dir=/cw/libexec/inn/control \
  --with-filter-dir=/cw/libexec/inn/filter --with-lib-dir=/cw/lib/inn \
  --with-log-dir=/cw/var/inn/log --with-run-dir=/cw/var/inn/run \
  --with-spool-dir=/cw/var/inn/spool --with-tmp-path=/cw/var/inn/tmp \
  --with-openssl=/cw --with-berkeleydb=/cw --with-news-user=cw \
  --with-news-group=cw --with-news-master=cw --with-sendmail=/cw/sbin/sendmail \
  --enable-uucp-rnews --with-perl
[...]
/cw/bin/cc -O -I/cw/include -I../include   -I../../include -I.. -I/cw/include -c ovdb.c -o ovdb.o
ovdb.c:103:2: #error Need BerkeleyDB 2.6.x, 2.7.x, or 3.x
ovdb.c: In function `open_db_file':
ovdb.c:405: warning: passing arg 2 of pointer to function from incompatible pointer type
ovdb.c:405: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
ovdb.c:405: too few arguments to function



More information about the inn-workers mailing list