Soprano-2.5.63

Introduction to Soprano

Soprano Software library that provides an object oriented C++/Qt4 framework for RDF data.

This package is known to build and work properly using an LFS-6.7 platform.

Package Information

Soprano Dependencies

Required

Qt-4.8.0, cmake-2.8.6, rasqal-0.9.20, raptor-1.4.21, redland-1.0.12

Recommended

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/soprano

Installation of Soprano

Install soprano by running the following commands:

mkdir build &&
cd build

Prepare the package for compilation:

cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
make

Now, as the root user:

make install

Configuration of Soprano

Create a directory where soprano places some runtime data:

install -m755 -d /srv/soprano

The sopranod accepts some parameter. To not hardcode them in the startscript, create a configuratuion file:

cat > /etc/sysconfig/soprano <<EOF
# Begin /etc/sysconfig/soprano

SOPRANO_STORAGE="/srv/soprano"
SOPRANO_BACKEND="virtuosobackend"        # virtuoso, sesame2, redland
SOPRANO_OPTIONS="--with-index"           # using CLucene index
#SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711"  # Default port is 5000

# End /etc/sysconfig/soprano
EOF

Boot Script

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-20111226 package.

make install-soprano

Contents

Installed Programs: sopranod, sopranocmd, onto2vocabularyclass
Installed Libraries: libsoprano.so, libsopranoclient.so, libsopranoserver.so and several other libs in /usr/lib/soprano/
Installed Directory: /usr/{lib,share}/soprano

Last updated on 2011-02-08 21:13:13 +0000