Strigi

From CBLFS
Revision as of 07:33, 13 September 2009 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://sourceforge.net/projects/strigi/files/strigi/strigi-0.6.4/strigi-0.6.4.tar.bz2/download

Introduction to Strigi

Strigi is a desktop and indexer independent desktop search engine.

Project Homepage: http://strigi.sourceforge.net/

Dependencies

Caution.png

Note

It's highly recommended to enable the inotify support in kernel.

Required

Recommended

Optional

Configuration Information

-DENABLE_INOTIFY:BOOL=ON: enable inotify support. See note below.
-DENABLE_DBUS:BOOL=ON: enable D-BUS support.
-DENABLE_FAM=ON:" Support for efficient file change monitoring system is enabled
-DENABLE_EXPAT:BOOL=ON:" Support for XML via Expat is enabled

Non-Multilib

Compile the package:

sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp &&
sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp &&
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_INSTALL_DIR=${KDEDIR}/lib \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_CXX_FLAGS="-fpermissive" \
    -DLIB_SUFFIX= \
    -DENABLE_INOTIFY:BOOL=ON \
    -DENABLE_DBUS:BOOL=ON \
    -DENABLE_FAM=ON \
    -DENABLE_EXPAT:BOOL=ON \
    .. &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp &&
sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp &&
mkdir -v build &&
cd build &&
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_INSTALL_DIR=${KDEDIR}/lib \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_C_FLAGS="${BUILD32}" \
    -DCMAKE_CXX_FLAGS="${BUILD32} -fpermissive" \
    -DLIB_SUFFIX= \
    -DENABLE_INOTIFY:BOOL=ON \
    -DENABLE_DBUS:BOOL=ON \
    -DENABLE_FAM=ON \
    -DENABLE_EXPAT:BOOL=ON \
    .. &&
make

Install the package:

make install

N32

64Bit

Compile the package:

sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp &&
sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp &&
mkdir -v build &&
cd build &&
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_INSTALL_DIR=${KDEDIR}/lib64 \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_C_FLAGS="${BUILD64}" \
    -DCMAKE_CXX_FLAGS="${BUILD64} -fpermissive" \
    -DLIB_SUFFIX=64 \
    -DENABLE_INOTIFY:BOOL=ON \
    -DENABLE_DBUS:BOOL=ON \
    -DENABLE_FAM=ON \
    -DENABLE_EXPAT:BOOL=ON \
    .. &&
make

Install the Package

make install

Contents

Installed Directories: /usr/include/strigi, /usr/lib/strigi, /usr/share/strigi
Installed Programs: deepfind, deepgrep, xmlindexer, strigicmd, luceneindexer, strigiclient, strigidaemon
Installed Libraries: libstreams.so.0.6.4, libstreamanalyzer.so.0.6.4, libstreamanalyzer.so.0.6.4, libcluceneindex.so.0.6.4, libstrigihtmlgui.so.0.6.4, libstrigiqtdbusclient.so.0.6.4, libsearchclient.so.0.6.4
Retrieved from "?title=Strigi&oldid=19155"