23 Dec
2012
23 Dec
'12
3:37 a.m.
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