problem building 0.15.7
Dave Lovelace
dave at firstcomp.biz
Mon Dec 8 21:07:40 CET 2003
OK, having been dealing with other things, I thought I'd finally get around to
updating bogofilter. We're still running 0.11.1.8. I downloaded the stable
release, which appears to be 0.15.7. I ran configure, which produced lots
of output but no errors. Now I run make, & here is what I get:
----snip----snip----snip----snip----snip----snip----snip----snip----snip----
$ make
No suffix list.
Making all in trio
No suffix list.
Making all in src
make all-recursive
Making all in .
source='globals.c' object='globals.o' libtool=no \
depfile='.deps/globals.Po' tmpdepfile='.deps/globals.TPo' \
depmode=gcc /bin/ksh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../trio -I.. -I/usr/local/BerkeleyDB.4.1/include -DBOGOFILTER -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wreturn-type -c `test -f 'globals.c' || echo './'`globals.c
In file included from globals.h:10,
from globals.c:14:
common.h:92: parse error before `020'
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
----snip----snip----snip----snip----snip----snip----snip----snip----snip----
This is under DG/UX for 88k (an old, basically SYSV system).
Output of uname -a:
dgux fci4100 R4.11MU06 generic AViiON mc88100
For what it's worth, I didn't have any problem building bogofilter in the
past (except for the need to build BerkeleyDB first).
Line 92 of common.h ... hmm. Here it is with some context (& prepended line
numbers):
----snip----snip----snip----snip----snip----snip----snip----snip----snip----
88:
89:typedef enum ex_e { EX_SPAM = RC_SPAM,
90: EX_HAM = RC_HAM,
91: EX_UNSURE = RC_UNSURE,
92: EX_OK = 0,
93: EX_ERROR = 3 } ex_t;
94:
----snip----snip----snip----snip----snip----snip----snip----snip----snip----
I don't know what in all this is getting #define'd as 020.
Any help would be much appreciated.
--
- Dave Lovelace
dave at firstcomp.biz
davel at cyberspace.org
More information about the Bogofilter
mailing list