CLucene version for strigi should be =0.9.16 ?

Jason Harris jharris at 30doradus.org
Tue Mar 20 14:14:43 GMT 2007


Hello,

When compiling strigi with CLucene-0.9.17, I get the following error:

/home/jharris/kde4svn/kdesupport/strigi/src/luceneindexer/cluceneindexreader.cpp: 
In
   member function `virtual std::vector<std::string,
   std::allocator<std::string> > CLuceneIndexReader::getFieldNames()':
/home/jharris/kde4svn/kdesupport/strigi/src/luceneindexer/cluceneindexreader.cpp:527: 
error: no
   matching function for call to `lucene::index::IndexReader::getFieldNames()'
/usr/include/CLucene/index/IndexReader.h:158: error: candidates are: virtual
   void
   
lucene::index::IndexReader::getFieldNames(lucene::index::IndexReader::FieldOption,
   lucene::util::StringArrayWithDeletor&)
make[2]: *** 
[src/luceneindexer/CMakeFiles/cluceneindex.dir/cluceneindexreader.o] Error 1
make[1]: *** [src/luceneindexer/CMakeFiles/cluceneindex.dir/all] Error 2
make: *** [all] Error 2

If I downgrade to CLucene-0.9.16a, this error is resolved.  It looks like the 
CLucene API changed between 0.9.16 and 0.9.17.  I guess the version 
recommended by cmake should be =0.9.16, rather than >=0.9.16 ?

thanks,
Jason

-- 
Jason Harris
jharris at 30doradus.org




More information about the kde-core-devel mailing list