[Dovecot] clucene-config.h location
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
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.
Thanks, Dimitri Mageia Linux packager
On 23.12.2012, at 3.37, Dimitri <mitya@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
participants (2)
-
Dimitri
-
Timo Sirainen