Thank you. I'm using the FreeBSD, and clucene is 0.9. Now I'm try
compile 2.3.3.4 which's fails now, and then I'll try build the dovecot
with lucene plugin.

2012/5/22 Nick Rosier <nick+dove...@bunbun.be>:
> Veniamin Gvozdikov wrote:
>>
>> Hi,
>>
>>  I've tryed build dovecot with the lucene plugin but I have this is
>> output:
>>
>>  /bin/sh ../../../libtool --tag=CXX    --mode=compile c++
>>  -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 -I/usr/local/include -I/usr/local/lib  -O2
>>  -pipe -fno-strict-aliasing -MT lucene-wrapper.lo -MD -MP -MF
>>  .deps/lucene-wrapper.Tpo -c -o lucene-wrapper.lo lucene-wrapper.cc
>>  libtool: compile:  c++ -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 -I/usr/local/include -I/usr/local/lib -O2 -pipe
>>  -fno-strict-aliasing -MT lucene-wrapper.lo -MD -MP -MF
>>  .deps/lucene-wrapper.Tpo -c lucene-wrapper.cc  -fPIC -DPIC -o
>>  .libs/lucene-wrapper.o
>>  Assembler messages:
>>  FATAL: can't create .libs/lucene-wrapper.o: Permission denied
>>  lucene-wrapper.cc:24:36: error: CLucene/util/CLStreams.h: No such file
>>  or directory
>>  lucene-wrapper.cc:25:45: error: CLucene/search/MultiPhraseQuery.h: No
>>  such file or directory
>>  In file included from lucene-wrapper.cc:26:
>>  SnowballAnalyzer.h:12: error: expected constructor, destructor, or
>>  type conversion before '(' token
>>  *** Error code 1
>>  1 error
>>  *** Error code 1
>>  1 error
>>  *** Error code 1
>>  1 error
>>  *** Error code 1
>>  1 error
>
>
> Which platform/OS are you trying to compile on? Which version of CLucene?
> You need at version 2.3.3.4 (not 0.9) as stated on the Wiki
> (http://wiki2.dovecot.org/Plugins/FTS/Lucene)
>
> N.



-- 
Phone: +7 916 948 58 30
Site: http://zlonet.ru

Reply via email to