[Dovecot] clucene-config.h location
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
4 Jan
4 Jan
5:50 a.m.
On 23.12.2012, at 3.37, Dimitri <mitya@mageia.org> wrote:
Or CPPFLAGS='-I/usr/lib/CLucene' ./configure … ?
Added for v2.2: http://hg.dovecot.org/dovecot-2.2/rev/af5265e74b9e
4598
Age (days ago)
4610
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dimitri
-
Timo Sirainen