On Thu, 24 Apr 2008, pete wrote:
Thanks, but i'm not allowed to install binaries on the server except from
apt repositories...
What could be wrong? i re-unpacked the clapf sources and the error still
there ....
the config options:
export CFLAGS="-I../sqlite-3.5.8" CPPFLAGS="-I../sqlite-3.5.8"; ./configure
--prefix=/usr/local/clapf --enable-whitelist --enable-case --enable-rbl
--enable-blackhole --disable-cgi --with-tokendb=sqlite3
--with-clapf-user=clapf --enable-spamdrop-helper --enable-static-build
Well, pete, your situation is not easy, but you have another option:
create a chroot environment, install the latest sqlite3 from source,
then create your static binary.
Or you can create a special sqlite3 edition to the usual places
(/usr/local/include and ../lib), and rename sqlite3.h to sqlite4.h
and libsqlite3.* to libsqlite4.*, and replace every reference to
#include <sqlite3.h> to #include <sqlite4.h> and -lsqlite3 to -lsqlite4.
I have to admit, that this could be a nightmare so I would recommend you
(if you don't trust my binary) to try the chroot'ed compilation.
If you are using spamdrop (only), you may go without the clapf binary,
so you may comment the clapf.c entry out in Makefile.
I try to get a vmware version of the debian etch tomorrow, and do my best.
Until then, I only can say good luck... :-(
Digitally yours,
SJ.
--