Bug report - bogofilter 0.93.0

Maurizio Loreti maurizio.loreti at pd.infn.it
Mon Nov 8 14:16:44 CET 2004


Hello -
I have downloaded bogofilter 0.93.0 and tried to install it under the 
prefix /usr/soft (a disk NFS-mounted where my cluster of 15 pc/Linux 
expect to find their software).  I ran configure with

CFLAGS=-O2 ./configure --prefix=/usr/soft --with-gsl-prefix=/usr/soft

and got:
...
checking for GSL - version >= 1.4... no
*** Could not run GSL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured.
...

Looking into config.log, I have found there:
...
configure:12332: checking for gsl-config
configure:12363: result: /usr/soft/bin/gsl-config
configure:12371: checking for GSL - version >= 1.4
configure:12470: gcc -o conftest -O2  -Wpointer-arith -ggdb -Wall -W
  -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast
  -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return
  -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs
  -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point
  -Wreturn-type -Wno-system-headers -Wformat -I/usr/soft/include
  conftest.c -lm  -L/usr/soft/lib -lgsl -lgslcblas -lm >&5
cc1: Unrecognized option `-Wmissing-format-attribute'
cc1: Unrecognized option `-Wsequence-point'
cc1: Unrecognized option `-Wno-system-headers'
configure:12473: $? = 1
configure: program exited with status 1

It seems that my gcc (version 3.4.3) does not support these -Wflags.

$ gcc -v
Reading specs from /usr/soft/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/usr/soft
Thread model: posix
gcc version 3.4.3

Remiving -Wmissing-format-attribute -Wsequence-point -Wno-system-headers 
from "configure", ./configure followed by make builds a working 
bogofilter.

Hope that helps,		M.

-- 
Maurizio Loreti                       http://www.pd.infn.it/~loreti/mlo.html
Un. of Padova, Dept. of Physics - Padova, Italy        loreti at padova.infn.it



More information about the Bogofilter mailing list