configure failure os x
Matthias Andree
matthias.andree at gmx.de
Thu Apr 3 12:44:18 CEST 2003
"Michael K. Ter Louw" <mterlo1 at uic.edu> writes:
> make error:
>
> xlc_r -DHAVE_CONFIG_H -I. -I. -I. -I./dcdflib/doc
> -I/homes/home1/mterlo1/include -DBOGOFILTER -g -c `test -f 'globals.c' ||
> echo './'`globals.c
> "common.h", line 66.24: 1506-046 (S) Syntax error.
> make[3]: *** [globals.o] Error 1
This patch should fix this particular problem. Save this mail body into
the bogofilter source directory as compile-fix-aix.diff, then "cd"
into that directory and type "patch <compile-fix-aix.diff". Should AIX
lack a "patch" command, get the GNU patch command.
Please forward any other "Syntax error." you'll find. According to
various web sites I've found, I'd suggest that you try:
make distclean
CC=xlc ./configure # add your options if necessary
make
Here's the patch:
Index: src/common.h
===================================================================
RCS file: /cvsroot/bogofilter/bogofilter/src/common.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -c -r1.4 -r1.5
*** src/common.h 16 Mar 2003 16:24:03 -0000 1.4
--- src/common.h 3 Apr 2003 10:16:35 -0000 1.5
***************
*** 1,4 ****
! /* $Id: common.h,v 1.4 2003/03/16 16:24:03 relson Exp $ */
#ifndef COMMON_H
#define COMMON_H
--- 1,4 ----
! /* $Id: common.h,v 1.5 2003/04/03 10:16:35 m-a Exp $ */
#ifndef COMMON_H
#define COMMON_H
***************
*** 63,69 ****
REG_SPAM = BIT(2),
REG_GOOD = BIT(3),
UNREG_SPAM = BIT(4),
! UNREG_GOOD = BIT(5),
} run_t;
extern run_t run_type;
--- 63,69 ----
REG_SPAM = BIT(2),
REG_GOOD = BIT(3),
UNREG_SPAM = BIT(4),
! UNREG_GOOD = BIT(5)
} run_t;
extern run_t run_type;
--
Matthias Andree
More information about the Bogofilter
mailing list