[Dovecot] clucene-config.h location

Timo Sirainen tss at iki.fi
Fri Jan 4 05:50:23 EET 2013


On 23.12.2012, at 3.37, Dimitri <mitya at mageia.org> wrote:

> By deafult, CLucene installs the clucene-config.h header
> to /usr/lib/CLucene, but fts-lucene tries to include it
> from /usr/include/CLucene and fails. Here is how it is fixed in Fedora,
> for instance:
> 
> sed -i '/DEFAULT_INCLUDES *=/s|$| '"$(pkg-config --cflags
> libclucene-core)|" src/plugins/fts-lucene/Makefile.in

Or CPPFLAGS='-I/usr/lib/CLucene' ./configure … ?

> Indeed, Lucene's pkgconfig file reflects the fact that some headers
> reside in /usr/lib/CLucene. It would be great if Dovecot used pkgconfig
> for CLucene.

Added for v2.2: http://hg.dovecot.org/dovecot-2.2/rev/af5265e74b9e



More information about the dovecot mailing list