Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 soprano doesn't build against latest clucene 2.3.3.4

Soprano_svn_trunk
closed
nobody
None
5
2012-09-11
2011-05-07
Elias Probst
No

When using the latest clucene 2.3.3.4, soprano doesn't build anymore (full log provided in attachment):

[100%] Building CXX object tools/CMakeFiles/sopranocmd.dir/modelmonitor.cpp.o
Linking CXX executable sopranocmd
../index/libsopranoindex.so.1.1.0: undefined reference to lucene::util::atomic_threads::atomic_decrement(unsigned int*)' ../index/libsopranoindex.so.1.1.0: undefined reference tolucene::document::Field::Field(wchar_t const, wchar_t const, int, bool)'
../index/libsopranoindex.so.1.1.0: undefined reference to lucene::index::IndexWriter::optimize(bool)' ../index/libsopranoindex.so.1.1.0: undefined reference tolucene::document::Field::isIndexed() const'
../index/libsopranoindex.so.1.1.0: undefined reference to lucene::index::IndexReader::termDocs(lucene::index::Term*)' ../index/libsopranoindex.so.1.1.0: undefined reference tolucene::store::FSDirectory::getDirectory(char const, bool, lucene::store::LockFactory)'
../index/libsopranoindex.so.1.1.0: undefined reference to lucene::document::Field::name() const' ../index/libsopranoindex.so.1.1.0: undefined reference tolucene::search::Searcher::search(lucene::search::Query)'
../index/libsopranoindex.so.1.1.0: undefined reference to lucene::index::IndexWriter::close(bool)' ../index/libsopranoindex.so.1.1.0: undefined reference tolucene::index::IndexReader::open(lucene::store::Directory
, bool, lucene::index::IndexDeletionPolicy)'
../index/libsopranoindex.so.1.1.0: undefined reference to `lucene::document::Document::fields()'

collect2: ld returned 1 exit status

make[2]:
[tools/sopranocmd] Error 1

make[1]:
[tools/CMakeFiles/sopranocmd.dir/all] Error 2

make: ** [all] Error 2

Discussion

  • Elias Probst
    Elias Probst
    2011-05-07

    build.log of soprano-9999 (soprano from SCM) on Gentoo

     
    Attachments
  • Soprano is developed as a dependency for Nepomuk in KDE. Since we are not using the lucene integration anymore there will be no further development in that area.
    The solution is to simply disable the clucene integration via SOPRANO_DISABLE_LUCENE_INDEX=1

     

  • Anonymous
    2012-09-11

    With SOPRANO_DISABLE_LUCENE_INDEX=1 kimono doesnt build...