#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
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

     
  • Sebastian Trueg

    Sebastian Trueg - 2011-07-24

    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

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-11

    With SOPRANO_DISABLE_LUCENE_INDEX=1 kimono doesnt build...

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks