[kde-freebsd] The quest for a working strigi service (Was: Re: Nepomukservicestub and redland soprano backend)
Mel Flynn
mel.flynn+fbsd.kde at mailing.thruhere.net
Mon Jun 22 02:21:47 CEST 2009
On Saturday 20 June 2009 09:24:16 Mel Flynn wrote:
> I don't know what other storage backends beside redland and the java one
> are available for soprano, but I think we should not make redland the
> default.
Patch effectively eliminates the crash always seen on start up of the desktop
and while changing my backend to sesame2 found that redland is needed for the
raptor serializer, yet not the parser and that the raptor parser is needed for
nepomuk to run in the first place.
As such, patched soprano port as attached to fix the broken plist if
WITHOUT_REDLAND is set and fixed up the CMakeLists.txt to allow separate
disabling of the serializer.
However, we still do not get a working strigi service :
[/usr/local/kde4/bin/nepomukservicestub] nepomukstrigiservice(76909)
Nepomuk::StrigiService::StrigiService: Failed to lower scheduling priority.
nepomukstrigiservice(76909) Nepomuk::StrigiService::StrigiService: Failed to
lower io priority.
nepomukstrigiservice(76909) Nepomuk::StrigiService::StrigiService: Failed to
load sopranobackend Strigi index manager.
NepomukServer(76804) Nepomuk::ServiceController::slotServiceInitialized:
Failed to initialize service "nepomukstrigiservice"
To be continued.
FYI, the sesame2 backend is working for as far as I can tell:
% ls -l .kde4/share/apps/nepomuk/repository/main/data/sesame2
<[16:20:39]/52.0C>
total 850
-rw-rw-r-- 1 mel mel 4 Jun 21 00:43 namespaces.dat
-rw-rw-r-- 1 mel mel 178173 Jun 21 16:04 triples-cspo.dat
-rw-rw-r-- 1 mel mel 161789 Jun 21 16:04 triples-opsc.dat
-rw-rw-r-- 1 mel mel 165885 Jun 21 16:04 triples-posc.dat
-rw-rw-r-- 1 mel mel 172029 Jun 21 16:04 triples-spoc.dat
-rw-rw-r-- 1 mel mel 116 Jun 21 00:43 triples.prop
-rw-rw-r-- 1 mel mel 125931 Jun 21 16:04 values.dat
-rw-rw-r-- 1 mel mel 37416 Jun 21 16:04 values.hash
-rw-rw-r-- 1 mel mel 21464 Jun 21 16:04 values.id
--
Mel
-------------- next part --------------
--- CMakeLists.txt.orig 2009-02-27 10:27:48.000000000 -0900
+++ CMakeLists.txt 2009-06-21 10:59:58.000000000 -0800
@@ -17,7 +17,8 @@
option(SOPRANO_DISABLE_REDLAND_BACKEND "Disable the compilation of the redland backend")
option(SOPRANO_DISABLE_SESAME2_BACKEND "Disable the compilation of the sesame2 backend")
option(SOPRANO_DISABLE_CLUCENE_INDEX "Disable the compilation of the clucene-based full-text index")
-option(SOPRANO_DISABLE_RAPTOR_PARSER "Disable the compilation of the raptor parser and serializer plugins (provides most Soprano parsers and serializers)")
+option(SOPRANO_DISABLE_RAPTOR_PARSER "Disable the compilation of the raptor parser plugins (provides most Soprano parsers and needed for nepomuk)")
+option(SOPRANO_DISABLE_RAPTOR_SERIALIZER "Disable the compilation of the raptor serializer plugins (provides most Soprano serializers and requires redland library)")
option(SOPRANO_DISABLE_DBUS "Disable the D-Bus integration")
option(SOPRANO_BUILD_API_DOCS "Build the Soprano API documentation")
@@ -91,9 +92,9 @@
if(RAPTOR_FOUND AND NOT SOPRANO_DISABLE_RAPTOR_PARSER)
set(BUILD_RAPTOR_PARSER TRUE)
endif(RAPTOR_FOUND AND NOT SOPRANO_DISABLE_RAPTOR_PARSER)
-if(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" AND NOT SOPRANO_DISABLE_RAPTOR_PARSER)
+if(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" AND NOT SOPRANO_DISABLE_RAPTOR_SERIALIZER)
set(BUILD_RAPTOR_SERIALIZER TRUE)
-endif(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" AND NOT SOPRANO_DISABLE_RAPTOR_PARSER)
+endif(RAPTOR_FOUND AND REDLAND_FOUND AND REDLAND_VERSION STRGREATER "1.0.5" AND NOT SOPRANO_DISABLE_RAPTOR_SERIALIZER)
if(NOT SOPRANO_DISABLE_DBUS AND QT_QTDBUS_FOUND)
set(BUILD_DBUS_SUPPORT TRUE)
endif(NOT SOPRANO_DISABLE_DBUS AND QT_QTDBUS_FOUND)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-textproc::soprano
Type: text/x-patch
Size: 1704 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20090621/7c61bd3d/attachment.diff
More information about the kde-freebsd
mailing list