On Thu, 24 Apr 2008 14:15:08 +0200 (CEST), s...@datanet.hu wrote: > On Thu, 24 Apr 2008, pete wrote: > >> phew, i kicked off sqlite dev files (i figured out that these were > required >> for building an awkward apache2 mod, mod_watch) >> >> then i grabbed the latest sqlite (the 2M tarball), i built it and > started >> configure with >> >> export CFLAGS="-I../sqlite-3.5.8" CPPFLAGS="-I../sqlite-3.5.8"; > ./configure >> ... >> >> >> config went successfully, but upon making, i got these (at last, i > removed >> the --enable-spamdrop-helper --enable-static-build flags from configure > to >> see if they are the root cause, but no - after removing them i still got >> the message below) >> >> #make >> gcc -O2 -Wall -g -I../sqlite-3.5.8 -fPIC -I. -DHAVE_SQLITE3 >> -DHAVE_ANTISPAM -DHAVE_BLACKHOLE -DHAVE_SURBL -DHAVE_WHITELIST > -DHAVE_CASE >> -c clapf.c -o clapf.o >> In file included from clapf.c:21: >> misc.h:41: error: 'MAX_RCPT_TO' undeclared here (not in a function) >> misc.h:41: error: 'MAXBUFSIZE' undeclared here (not in a function) >> misc.h:42: error: 'MAX_RCPT_TO' undeclared here (not in a function) >> misc.h:42: error: 'MAXBUFSIZE' undeclared here (not in a function) >> misc.h:43: error: 'MAX_RCPT_TO' undeclared here (not in a function) >> misc.h:43: error: 'MAXBUFSIZE' undeclared here (not in a function) >> make: *** [clapf.o] Error 1 >> >> >> >> strange, did i sth. wrong? >> > > No, I don't think so, but it's strange, indeed. Ok, I build a static > package for you to move on. What configure command have you used?
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