While trying to test v.2.1.rc1 with
configure
--with-lucene
--without-stemmer
[...]
I get the following error: [...] /bin/sh ../../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -O2 -march=i686 -pipe -c -o lucene-wrapper.lo lucene-wrapper.cc libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -O2 -march=i686 -pipe -c lucene-wrapper.cc -fPIC -DPIC -o .libs/lucene-wrapper.o lucene-wrapper.cc:26:30: fatal error: SnowballAnalyzer.h: No such file or directory compilation terminated. make[4]: *** [lucene-wrapper.lo] Error 1
The offending line in lucene-wrapper.cc is: #include "SnowballAnalyzer.h"
Sure enough, there is no SnowballAnalyzer.h in the tarball.
Looks like a missing a backslash in src/plugins/fts-lucene/Makefile.am:
[...]
noinst_HEADERS =
fts-lucene-plugin.h
lucene-wrapper.h
SnowballAnalyzer.h
SnowballFilter.h
-- Eray Aslan