Soprano (formally known as QRDF) is a library which provides a nice Qt interface to RDF storage solutions. It has a modular structure which allows to replace the actual RDF storage implementation used.
This package is known to build and work properly using an LFS-7.5 platform.
Download (HTTP): http://downloads.sourceforge.net/soprano/soprano-2.9.4.tar.bz2
Download MD5 sum: 91413e5783efeee0beb747ea4c5c9ef0
Download size: 1.9 MB
Estimated disk space required: 22 MB
Estimated build time: 0.6 SBU
CMake-2.8.12.2, Qt-4.8.5, and Redland-1.0.17
CLucene-2.3.3.4, D-Bus-1.8.0, libiodbc-3.52.8 (required for the Virtuoso backend. Additionally, Virtuoso-6.1.8 is required as a runtime dependency for this backend.)
Doxygen-1.8.6 (to build the documentation) and Sesame2
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/soprano
Install soprano by running the following commands:
patch -Np1 -i ../soprano-2.9.4-dbus-1.patch && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ .. && make
This package does not come with a working test suite.
Now, as the root
user:
make install
-DCMAKE_BUILD_TYPE=Release
:
This switch is used to apply higher level of the compiler
optimizations.
-DSOPRANO_DISABLE_CLUCENE_INDEX=ON
:
This switch disables compilation of Clucene-based full-text index.
Create a directory where Soprano
places some runtime data as the root
user:
install -m755 -d /srv/soprano
The sopranod accepts
some parameters. To configure how the bootscript starts
sopranod, create a
configuration file again as the root
user:
cat > /etc/sysconfig/soprano <<EOF # Begin /etc/sysconfig/soprano SOPRANO_STORAGE="/srv/soprano" SOPRANO_BACKEND="virtuoso" # virtuoso, sesame2, redland #SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711" # Default port is 5000 # End /etc/sysconfig/soprano EOF
It is not required to start the Soprano server at boottime for KDE. KDE will start Soprano as needed.
In order to get Soprano started
automatically when the system is booted, install the /etc/rc.d/init.d/soprano
init script included
in the blfs-bootscripts-20140301 package
as the root
user:
make install-soprano
Last updated on 2014-02-27 09:10:28 -0800