Opendkim-2.1.0beta0 build failure

From: Graham Murray <graham_at_gmurray.org.uk>
Date: Mon, 24 May 2010 21:39:33 +0100

1) Building 2.1.0Beta0 fails if configured with --enable-stats and --with-lua and/or
--with-odbx. When --enable-stats is set, OPENDKIM_DB_ONLY is defined
which causes USE_LDAP, USE_SASL, USE_ODBX and USE_LUA to be undefined
which in turn means that the appropriate header files are not included.

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DOPENDKIM_DB_ONLY -I./../libopendkim -I/usr/include -march=native -O2 -pipe -MT opendkim_stats-opendkim-db.o -MD -MP -MF .deps/opendkim_stats-opendkim-db.Tpo -c -o opendkim_stats-opendkim-db.o `test -f 'opendkim-db.c' || echo './'`opendkim-db.c
opendkim-db.c: In function ‘dkimf_db_get’:
opendkim-db.c:2747: error: storage size of ‘lres’ isn’t known
opendkim-db.c:2753: warning: implicit declaration of function ‘dkimf_lua_db_hook’
make[2]: *** [opendkim_stats-opendkim-db.o] Error 1
make[2]: Leaving directory `/home/graham/opendkim-2.1.0/opendkim'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/graham/opendkim-2.1.0'
make: *** [all] Error 2

2) stats/README instructs using the mkdb.mysql script to create the
mysql database table(s). This script is not in the tarball
Received on Mon May 24 2010 - 20:39:46 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:52 PST