On Sun, 2011-09-18 at 13:27 +0200, Lutz Preßler wrote: > Hello, > On So, 11 Sep 2011, Timo Sirainen wrote: > > On 11.9.2011, at 22.22, Lutz Preßler wrote: > > > I have problems recompiling the Debian squeeze auto build packages > > > with "--with-lecene". Is the git (2.3) version of CLucene necessary? > > Yes. > Ok, I now tried to test with clucene-core-2.3.3.4. Quite unsucessfully... > I built libclucene-core-static.a and libclucene-shared-static.a after > changing the cmake option (BUILD_STATIC_LIBRARIES). But despite enabling > BUILD_CONTRIBS, BUILD_CONTRIBS_LIB no snowball/libstemmer has been build.
You need to install libstemmer separately. I think I used http://snowball.tartarus.org/dist/libstemmer_c.tgz > dovecot: imap(...): Error: fts_lucene: default_language set, but Dovecot > built without stemmer support Fixed: http://hg.dovecot.org/dovecot-2.1/rev/02c84406c661