kio-clucene, a search engine for kde

Utilities

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

kio-clucene is a search-ioslave working on indexed data.

############ Application tester very much welcomed ###############
1. gentoo packages added
2. kio-clucene should compile/install for everybody now
3. what is needed in priority are a few testers reporting if the ioslave is actually doing its job, i.e. indexing some documents and returning search-results.
######################################

############## FEATURES ####################

kio-clucene can look for:
- full text content,
- mimetype,
- metainfo,
- mod. dates,
- path names.
- multifield queries are possible
(a multifield search-dialog can be used (or not))

kio-clucene can index:
- local files
- remote files (ftp,pop3,... (basic support))
- archives (basic local support)
- read-only data stored on cds,dvds.

kio-clucene stores previews of:
- all images
- all videos

kio-clucene can search on:
- a single index
- multiple indexes
It relies on a multithreaded search-daemon


kio-clucene integrates well to the existing kde-framework.
You can use kio-clucene from:
- konqueror location-bar
- kicker "run command"
- "Alt+F2" "run command"
- any apps, using the openfile dialog

example: from kpdf, you could open the file-dialog and search very fast for your pdfs like adobe acrobat reader can do.

The ioslave is build to be user-friendly:
- it works a bit like KDE remote-ioslave
- it can call a search-dialog which allow for multifields queries
- it displays recent queries
- recent queries can be saved to desktop-files
=> this almost emulates "virtual folders"

The search engine is based on clucene, a c++ implementation of apache/lucene.
kio-clucene allows for sophisticated queries like:
- proximity-words queries,
- ...
but kio-clucene does not handle yet queries like:
- *substring.

No kpart is provided for the display/sorted of the results like beagle can do.
And sorry but instantaneous file indexing is not provided too, it is more a kernel/kdecore problem I guess. But this should be soon solved since Suse 9.3 already ships with beagle installed, a inotify-enabled kernel. So others will have to follow.

I hope you will enjoy kio-clucene. Any comment is very much welcomed.

This is a prealpha release.

Special dependency: clucene-0.8.13 and kde 3.4 (sorry for that :-()
Last changelog:

15 years ago

Version 0.0.2
Dependency update:
- kio-clucene depends on kde 3.4 ! :-(
- to compile clucene-0.8.13, you must run automake/autoconf. See kio-clucene website.
Many compiler warnings fixed and all void-return to non-void return functions fixed
"Simplified" a bit the search-dialog

Version 0.0.9
Fixes many compilation problems (KSocketDevice is solved)
Ported to scons-build system

Version 0.1.0
Fixed more headers includes problems and webshortcut permissions

All reported compilation problems should be solved now

2005-06-13:
Added Gentoo ebuild packages thanks to Rh.

krf

13 years ago

Is this project still alive?

Report

scummos

13 years ago

seems to be nice, but on SuSE10.1 with kde 3.5.5 i get the following compile error:

g++ -I/opt/kde3/include/ -I/usr/lib/qt3/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/urldispatcher.os KCLuceneIndexerDaemon/libindex/urldispatcher.cpp
KCLuceneIndexerDaemon/libindex/urldispatcher.h:57: error: extra qualification ‘URLDispatcher::’ on member ‘findArchiveType’
scons: *** [KCLuceneIndexerDaemon/libindex/urldispatcher.os] Error 1
make: *** [all] Fehler 2

I would be glad if you had an idea how to fix it =)

Report

Ekardnam

13 years ago

[email protected]:~/program/kde/kio-clucene/kio-clucene-0.1.0$ make
g++ -I/opt/kde/include/ -I/usr/lib/qt/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.os KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp
In file included from /usr/include/CLucene/store/Directory.h:14,
from /usr/include/CLucene/index/IndexReader.h:14,
from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.h:48,
from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp:21:
/usr/include/CLucene/store/Lock.h:14: error: expected constructor, destructor, or type conversion before '(' token
/usr/include/CLucene/store/Lock.h:52: error: expected `;' before '*' token
/usr/include/CLucene/store/Lock.h:65: error: expected `)' before '*' token
In file included from /usr/include/CLucene/util/VoidList.h:14,
from /usr/include/CLucene/store/Directory.h:15,
from /usr/include/CLucene/index/IndexReader.h:14,
from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.h:48,
from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp:21:

etc.
On Slackware 11.

Report

benjaminisant

14 years ago

[[email protected] kio-clucene-0.1.0]# make
\g++ -I/opt/kde/include/ -I/opt/qt/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.os KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp
KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp:2499:1: error: pasting "L" and "(" does not give a valid preprocessing token
/usr/local/include/CLucene/store/Lock.h:8: error: expected constructor, destructor, or type conversion before '(' token
/usr/local/include/CLucene/store/Lock.h:46: error: expected ';' before '*' token
/usr/local/include/CLucene/store/Lock.h:59: error: expected `)' before '*' token
/usr/local/include/CLucene/store/Lock.h:72: error: 'CL_NS_END' does not name a type etc...
etc ...
etc ...

contact if further info is needed

Report

espinosa707

15 years ago

Dou you thing about some cooperation with project KAT:
http://kde-apps.org/content/show.php?content=22135

I know, there are slight differences in project aims, but they have (can have) much in common!

What about create common pluggble interface for extracting texts and metainfo from documents!? Then we can use there plugins in both project, pick the best ones (place for alternatives left) and share the effort!

Is it possible?

Report

espinosa707

15 years ago

Dou you thing about some cooperation with project KAT:
http://kde-apps.org/content/show.php?content=22135

I know, there are slight differences in project aims, but they have (can have) much in common!

What about create common pluggble interface for extracting texts and metainfo from documents!? Then we can use there plugins in both project, pick the best ones (place for alternatives left) and share the effort!

Is it possible?

Report

C

trollichon

15 years ago

Hello,

>Dou you thing about some cooperation with project KAT:

Yes, of course. We try to cooperate. But it is a bit difficult when main kat-developer want you to cooperate on kat without daring to give a try at your own software :-(

> I know, there are slight differences in project aims, but they have (can have) much in common!

Seeing how kat is evolving, they have more and more in common, but kat code base is evolving faster for now, converging in many points to what kio-clucene wants and try to do from the begining.

Whatever, we are in discussion with reusing the kio-clucene framework for the kat-kioslave framework too. It is just that I had no time to try to make this happends.

> What about create common pluggble interface for extracting texts and metainfo from documents!? Then we can use there plugins in both project

Yes, this would be good. I am sure it is already possible, with minor work to reuse the text-extraction kat-code for other projects.

cheers and thanks for asking. I will update the kioclucene soon. It is quite out of date now :-(

Report

rcappuccio

15 years ago

For instance, the main kat-developer compiled and installed kio-clucene. :-D

Report

rcappuccio

15 years ago

Hi, we are heavily refactoring our code base in order to allow a complete separation of the core functionalities from the storage backend.
We will then start to investigate the possibility of using clucene as one of the backends for Kat.

Bye

Roberto

Report

AlexTsr

15 years ago

for the gentoo ebuilds.

Report

C

trollichon

15 years ago

Hello,
It seems to work for me. I get redirected to the sourceforge website

Report

C

trollichon

15 years ago

The indexing of the text of images or scanned documents is supported, using the optical recognition program gocr.

Report

C

trollichon

15 years ago

see the first video showing kio-clucene in action at http://kioclucene.objectis.net/documentation/demos

Report

zammi

15 years ago

Hi,

I'm using Fedora Core 3 and KDE 3.4.

Please find the compiler trace as follows.

[[email protected] kio_clucene]# scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/helpertestsstring.o KCLuceneIndexerConfig/helpertestsstring.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/indexerwidget.moc KCLuceneIndexerConfig/indexerwidget.h
uic_processing(["KCLuceneIndexerConfig/indexerwidget_base.h", "KCLuceneIndexerConfig/indexerwidget_base.cpp", "KCLuceneIndexerConfig/indexerwidget_base.moc"], ["KCLuceneIndexerConfig/indexerwidget_base.ui"])
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -o KCLuceneIndexerConfig/indexerwidget_base.h KCLuceneIndexerConfig/indexerwidget_base.ui
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -tr tr2i18n -impl KCLuceneIndexerConfig/indexerwidget_base.h KCLuceneIndexerConfig/indexerwidget_base.ui >> KCLuceneIndexerConfig/indexerwidget_base.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/indexerwidget_base.moc KCLuceneIndexerConfig/indexerwidget_base.h
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/indexerwidget.o KCLuceneIndexerConfig/indexerwidget.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/indexerwidget_base.o KCLuceneIndexerConfig/indexerwidget_base.cpp
dcopidl KCLuceneIndexerConfig/indexerwidget_dcopiface.h > KCLuceneIndexerConfig/indexerwidget_dcopiface.kidl || ( rm -f KCLuceneIndexerConfig/indexerwidget_dcopiface.kidl ; false)
dcopidl2cpp --c++-suffix cpp --no-signals --no-stub KCLuceneIndexerConfig/indexerwidget_dcopiface.kidl
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/indexerwidget_dcopiface_skel.o KCLuceneIndexerConfig/indexerwidget_dcopiface_skel.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/indexesmanagerwidget.moc KCLuceneIndexerConfig/indexesmanagerwidget.h
uic_processing(["KCLuceneIndexerConfig/indexesmanagerwidget_base.h", "KCLuceneIndexerConfig/indexesmanagerwidget_base.cpp", "KCLuceneIndexerConfig/indexesmanagerwidget_base.moc"], ["KCLuceneIndexerConfig/indexesmanagerwidget_base.ui"])
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -o KCLuceneIndexerConfig/indexesmanagerwidget_base.h KCLuceneIndexerConfig/indexesmanagerwidget_base.ui
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -tr tr2i18n -impl KCLuceneIndexerConfig/indexesmanagerwidget_base.h KCLuceneIndexerConfig/indexesmanagerwidget_base.ui >> KCLuceneIndexerConfig/indexesmanagerwidget_base.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/indexesmanagerwidget_base.moc KCLuceneIndexerConfig/indexesmanagerwidget_base.h
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/indexesmanagerwidget.o KCLuceneIndexerConfig/indexesmanagerwidget.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/indexesmanagerwidget_base.o KCLuceneIndexerConfig/indexesmanagerwidget_base.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/ioslaveconfigwidget.moc KCLuceneIndexerConfig/ioslaveconfigwidget.h
uic_processing(["KCLuceneIndexerConfig/ioslaveconfigwidget_base.h", "KCLuceneIndexerConfig/ioslaveconfigwidget_base.cpp", "KCLuceneIndexerConfig/ioslaveconfigwidget_base.moc"], ["KCLuceneIndexerConfig/ioslaveconfigwidget_base.ui"])
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -o KCLuceneIndexerConfig/ioslaveconfigwidget_base.h KCLuceneIndexerConfig/ioslaveconfigwidget_base.ui
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -tr tr2i18n -impl KCLuceneIndexerConfig/ioslaveconfigwidget_base.h KCLuceneIndexerConfig/ioslaveconfigwidget_base.ui >> KCLuceneIndexerConfig/ioslaveconfigwidget_base.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/ioslaveconfigwidget_base.moc KCLuceneIndexerConfig/ioslaveconfigwidget_base.h
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/ioslaveconfigwidget.o KCLuceneIndexerConfig/ioslaveconfigwidget.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/ioslaveconfigwidget_base.o KCLuceneIndexerConfig/ioslaveconfigwidget_base.cpp
uic_processing(["KCLuceneIndexerConfig/textconverterswidget_base.h", "KCLuceneIndexerConfig/textconverterswidget_base.cpp", "KCLuceneIndexerConfig/textconverterswidget_base.moc"], ["KCLuceneIndexerConfig/textconverterswidget_base.ui"])
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -o KCLuceneIndexerConfig/textconverterswidget_base.h KCLuceneIndexerConfig/textconverterswidget_base.ui
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins -nounload -tr tr2i18n -impl KCLuceneIndexerConfig/textconverterswidget_base.h KCLuceneIndexerConfig/textconverterswidget_base.ui >> KCLuceneIndexerConfig/textconverterswidget_base.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/textconverterswidget_base.moc KCLuceneIndexerConfig/textconverterswidget_base.h
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/main.o KCLuceneIndexerConfig/main.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/maingui.moc KCLuceneIndexerConfig/maingui.h
KCLuceneIndexerConfig/maingui.h:56: Warning: Unexpected variable declaration.
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/maingui.o KCLuceneIndexerConfig/maingui.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/textconverterswidget_base.o KCLuceneIndexerConfig/textconverterswidget_base.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerConfig/textconverterwidget.moc KCLuceneIndexerConfig/textconverterwidget.h
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/textconverterwidget.o KCLuceneIndexerConfig/textconverterwidget.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -IKCLuceneIndexerDaemon/libindex -I. -c -o KCLuceneIndexerConfig/settings.o KCLuceneIndexerConfig/settings.cpp
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib/kde3 -o KCLuceneIndexerConfig/kclucene-indexer-config KCLuceneIndexerConfig/main.o KCLuceneIndexerConfig/indexerwidget_base.o KCLuceneIndexerConfig/indexerwidget.o KCLuceneIndexerConfig/indexesmanagerwidget.o KCLuceneIndexerConfig/maingui.o KCLuceneIndexerConfig/textconverterswidget_base.o KCLuceneIndexerConfig/textconverterwidget.o KCLuceneIndexerConfig/ioslaveconfigwidget_base.o KCLuceneIndexerConfig/ioslaveconfigwidget.o KCLuceneIndexerConfig/helpertestsstring.o KCLuceneIndexerConfig/indexerwidget_dcopiface_skel.o KCLuceneIndexerConfig/settings.o KCLuceneIndexerConfig/indexesmanagerwidget_base.o -L/usr/lib -L/usr/lib/qt-3.3/lib -LKCLuceneIndexerDaemon/libindex -lqt-mt -lkio -lkdeprint -lkcluceneindexerdaemon
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/main.o KCLuceneIndexerDaemon/main.cpp
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib/kde3 -o KCLuceneIndexerDaemon/kclucene-indexer-daemon KCLuceneIndexerDaemon/main.o -L/usr/lib -L/usr/lib/qt-3.3/lib -LKCLuceneIndexerDaemon/libindex -lqt-mt -lkio -lkdecore -lkdeui -lkcluceneindexerdaemon
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/converters.os KCLuceneIndexerDaemon/libindex/converters.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/indexnewdoc.os KCLuceneIndexerDaemon/libindex/indexnewdoc.cpp
dcopidl KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface.h > KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface.kidl || ( rm -f KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface.kidl ; false)
dcopidl2cpp --c++-suffix cpp --no-signals --no-stub KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface.kidl
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface_skel.os KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface_skel.cpp
dcopidl2cpp --c++-suffix cpp --no-signals --no-skel KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface.kidl
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface_stub.os KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface_stub.cpp
/usr/lib/qt-3.3/bin/moc -o KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.moc KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.h
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.os KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/urldispatcher.os KCLuceneIndexerDaemon/libindex/urldispatcher.cpp
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib/kde3 -shared -o KCLuceneIndexerDaemon/libindex/libkcluceneindexerdaemon.so KCLuceneIndexerDaemon/libindex/urldispatcher.os KCLuceneIndexerDaemon/libindex/converters.os KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface_stub.os KCLuceneIndexerDaemon/libindex/kclucene_indexer_daemon_dcopiface_skel.os KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.os KCLuceneIndexerDaemon/libindex/indexnewdoc.os -L/usr/lib -L/usr/lib/qt-3.3/lib -lqt-mt -lkio -lkdecore -lclucene
la_file(["KCLuceneIndexerDaemon/libindex/libkcluceneindexerdaemon.la"], ["KCLuceneIndexerDaemon/libindex/libkcluceneindexerdaemon.so"])
/usr/lib/qt-3.3/bin/moc -o KCLuceneSearchDaemon/clucenedaemon.moc KCLuceneSearchDaemon/clucenedaemon.h
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -DQT_THREAD_SUPPORT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ikclucene_simpleClientServerSocketCom -Ikio_clucene -I. -c -o KCLuceneSearchDaemon/clucenedaemon.os KCLuceneSearchDaemon/clucenedaemon.cpp
dcopidl KCLuceneSearchDaemon/clucenesearchthread_dcopiface.h > KCLuceneSearchDaemon/clucenesearchthread_dcopiface.kidl || ( rm -f KCLuceneSearchDaemon/clucenesearchthread_dcopiface.kidl ; false)
dcopidl2cpp --c++-suffix cpp --no-signals --no-stub KCLuceneSearchDaemon/clucenesearchthread_dcopiface.kidl
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -DQT_THREAD_SUPPORT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ikclucene_simpleClientServerSocketCom -Ikio_clucene -I. -c -o KCLuceneSearchDaemon/clucenesearchthread_dcopiface_skel.os KCLuceneSearchDaemon/clucenesearchthread_dcopiface_skel.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -DQT_THREAD_SUPPORT -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ikclucene_simpleClientServerSocketCom -Ikio_clucene -I. -c -o KCLuceneSearchDaemon/main.o KCLuceneSearchDaemon/main.cpp
dcopidl KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface.h > KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface.kidl || ( rm -f KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface.kidl ; false)
dcopidl2cpp --c++-suffix cpp --no-signals --no-stub KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface.kidl
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -DQT_THREAD_SUPPORT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ikclucene_simpleClientServerSocketCom -Ikio_clucene -I. -c -o KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface_skel.os KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface_skel.cpp
dcopidl2cpp --c++-suffix cpp --no-signals --no-skel KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface.kidl
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -DQT_THREAD_SUPPORT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ikclucene_simpleClientServerSocketCom -Ikio_clucene -I. -c -o KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface_stub.os KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface_stub.cpp
g++ -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -fexceptions -DQT_THREAD_SUPPORT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ikclucene_simpleClientServerSocketCom -Ikio_clucene -I. -c -o KCLuceneSearchDaemon/mythread2.os KCLuceneSearchDaemon/mythread2.cpp
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib/kde3 -shared -o KCLuceneSearchDaemon/libkclucenesearchdaemon.so KCLuceneSearchDaemon/clucenedaemon.os KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface_skel.os KCLuceneSearchDaemon/kclucene_search_daemon_dcopiface_stub.os KCLuceneSearchDaemon/mythread2.os KCLuceneSearchDaemon/clucenesearchthread_dcopiface_skel.os -L/usr/lib -L/usr/lib/qt-3.3/lib -Lkclucene_simpleClientServerSocketCom -LKCLuceneSearchDaemon -lqt-mt -lkio -lkdecore -lkdeui -lkclucene_helper_client -lkclucene_helper_clientserver -lclucene
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib/kde3 -o KCLuceneSearchDaemon/kclucene-search-daemon KCLuceneSearchDaemon/main.o -L/usr/lib -L/usr/lib/qt-3.3/lib -Lkclucene_simpleClientServerSocketCom -LKCLuceneSearchDaemon -LKCLuceneSearchDaemon -lqt-mt -lkio -lkdecore -lkdeui -lkclucene_helper_client -lkclucene_helper_clientserver -lclucene -lkclucenesearchdaemon
/usr/lib/libkclucene_helper_client.so: undefined reference to `KNetwork::KSocketDevice::~KSocketDevice()'
/usr/lib/libkclucene_helper_client.so: undefined reference to `KNetwork::KSocketDevice::KSocketDevice(KNetwork::KSocketBase const*)'
collect2: ld returned 1 exit status
scons: *** [KCLuceneSearchDaemon/kclucene-search-daemon] Error 1
scons: building terminated because of errors.
[[email protected] kio_clucene]#

Report

ita256

15 years ago

The error is fairly self-explanatory: you have used "make install" last time you tried kio_kclucene and old files are laying all around:
/usr/lib/libkclucene_helper_client.so

Remove them first, and recompile kio_kclucene (find /usr -iname "*kclucene*" | xargs rm)

Report

zammi

15 years ago

Thanks All....I compiled it successfully this time. Now I'm playing around with this. Will keep in touch....Thanks pal...wish you best of luck...

Report

C

trollichon

15 years ago

I must tell the truth: if you do give feedback on the apps (not the build process) then you will be the first one to do so. this mean you will become very famous. ;-)

ciao

Report

C

trollichon

15 years ago

I'll stay tuned :-)

Report

C

trollichon

15 years ago

thanks tn ;-)

It seems kio-clucene is close to compile for most people now. I've added a scons check for the existence of the clucene-debug header and I've got some verys nice feedback about some more headers missing. I'll try to ask the clucene people to fix the debug-header problems too.
All in all I think it's going on better tracks thanks to scons. Adding dependency-checks is almost fun now

Report

C

trollichon

15 years ago

Hi Zammi,
I don't get it. :-(
All ksocketdevice stuff should have been removed ! :-(
I look at the problem right now

thanks (sorry for troubles)

Report

danieleg

15 years ago

This is my compilation error: scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -I/usr/include/ -I/usr/lib/qt3//include/ -fexceptions -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -IKCLuceneIndexerDaemon -IKCLuceneIndexerDaemon/libindex -c -o KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.os KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp In file included from /usr/include/CLucene.h:5, from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.h:45, from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp:21: /usr/include/CLucene/StdHeader.h:32:37: CLucene/debug/condition.h: No such file or directory In file included from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.h:45, from KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.cpp:21: /usr/include/CLucene.h:6:37: CLucene/debug/condition.h: No such file or directory scons: *** [KCLuceneIndexerDaemon/libindex/kcluceneindexerdaemon.os] Error 1 scons: building terminated because of errors. Solutions??

Report

C

trollichon

15 years ago

Hello,

This is due to how you compiled and installed clucene-0.8.13.

If you don't run automake and autoconf before configure, then the directory (assuming you install with prefix=/usr/local): /usr/local/include/CLucene/debug/
will not be created and the header /usr/local/include/CLucene/debug/condition.h
will not be found.

You _must_ reinstall clucene-0.8.13. See http://kioclucene.objectis.net/documentation/howtos/download_and_install

Or you must edit the header
/usr/local/include/CLucene.h
and delete the lines referencing the useless debug directory. If I remember, this does the job.

Can you let me know if it solves your problem ?

Report

sim0n

15 years ago

looks great !!
i'll try it out ASAP...

Report

zammi

15 years ago

Hi, I could compile and installclucene. But I'm getting compile error while I'm compiling the KCLuceneSearchDaemon. I could successfully compile and install KCLuceneIndexerDaemon and kclucene_simpleClientServerSocketCom.

I'm Using FC3 and KDE 3.4

Report

C

trollichon

15 years ago

Hello, thanks for reporting the problem. Could you mail me the compiler output ?

Report

15 years ago

Version 0.0.2
Dependency update:
- kio-clucene depends on kde 3.4 ! :-(
- to compile clucene-0.8.13, you must run automake/autoconf. See kio-clucene website.
Many compiler warnings fixed and all void-return to non-void return functions fixed
"Simplified" a bit the search-dialog

Version 0.0.9
Fixes many compilation problems (KSocketDevice is solved)
Ported to scons-build system

Version 0.1.0
Fixed more headers includes problems and webshortcut permissions

All reported compilation problems should be solved now

2005-06-13:
Added Gentoo ebuild packages thanks to Rh.

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1.0
updated Jun 13 2005
added May 07 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 4
System Tags app software