[Dovecot] squat not working in 2.1

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Feb 29 15:27:19 EET 2012


* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
> * Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
> > * Christoph Bußenius <busseniu at in.tum.de>:
> > > On 21.02.2012 01:18, Timo Sirainen wrote:
> > > >On 20.2.2012, at 19.30, Metro Domain Admin wrote:
> > > >
> > > >>Squat is apparently deprecated:  http://dovecot.org/list/dovecot/2011-December/062630.html
> > 
> > Looking at http://wiki2.dovecot.org/Plugins/FTS/Lucene now.
> > What else do I need for fts_lucene to work? Any 3rd party packages?
> > Libs? Compile Time Options?
> 
> Rebuilding with --with-lucene --with-stemmer, let's see what happens.

The plugin doesn't build:

postamt:/usr/src/dovecot-2.1/dovecot-2.1/src/plugins/fts-lucene# make

/bin/bash ../../../libtool --tag=CXX   --mode=compile 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 -g -Wl,--as-needed  -g -O2 -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c -o lucene-wrapper.lo lucene-wrapper.cc
libtool: compile:  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 -g -Wl,--as-needed -g -O2 -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c lucene-wrapper.cc  -fPIC -DPIC -o .libs/lucene-wrapper.o
In file included from /usr/include/CLucene/config/compiler.h:40:0,
                 from /usr/include/CLucene/StdHeader.h:17,
                 from /usr/include/CLucene.h:11,
                 from lucene-wrapper.cc:23:
/usr/include/CLucene/config/CompilerGcc.h:12:68: fatal error: CLucene/clucene-config.h: No such file or directory
compilation terminated.
make: *** [lucene-wrapper.lo] Error 1

# dpkg -L libclucene-dev |grep -i clucene-config
/usr/lib/CLucene/clucene-config.h

That's retarded! Who's putting includes into /usr/lib/CLucene/ ??? ARGH!
After symlinking, I'm getting:

# make
/bin/bash ../../../libtool --tag=CXX   --mode=compile 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 -g -Wl,--as-needed  -g -O2 -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c -o lucene-wrapper.lo lucene-wrapper.cc
libtool: compile:  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 -g -Wl,--as-needed -g -O2 -MT lucene-wrapper.lo
-MD -MP -MF .deps/lucene-wrapper.Tpo -c lucene-wrapper.cc  -fPIC -DPIC -o .libs/lucene-wrapper.o
lucene-wrapper.cc:24:36: fatal error: CLucene/util/CLStreams.h: No such file or directory
compilation terminated.

Where do I get this include from (on Debian)?

# dpkg -l |grep lucene
ii  libclucene-dev                      0.9.21b-2+b1 library for full-featured text search engine (development)
ii  libclucene0ldbl                     0.9.21b-2+b1 library for full-featured text search engine (runtime)

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | http://www.charite.de
	    


More information about the dovecot mailing list