mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
47969a6003
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8858 af4574ff-66df-0310-9fd7-8a98e5e911e0
184 lines
5.8 KiB
XML
184 lines
5.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY strigi-download-http "&sourceforge-repo;/strigi/strigi-&strigi-version;.tar.bz2">
|
|
<!ENTITY strigi-download-ftp " ">
|
|
<!ENTITY strigi-md5sum "ddbd274cb31d65be6a78da58fc09079a">
|
|
<!ENTITY strigi-size "890 KB">
|
|
<!ENTITY strigi-buildsize "127 MB">
|
|
<!ENTITY strigi-time "1.7 SBU">
|
|
]>
|
|
|
|
<sect1 id="strigi" xreflabel="strigi-&strigi-version;">
|
|
<?dbhtml filename="strigi.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Strigi-&strigi-version;</title>
|
|
|
|
<indexterm zone="strigi">
|
|
<primary sortas="l-strigi">strigi</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Strigi</title>
|
|
|
|
<para><application>Strigi</application> is a desktop search engine.</para>
|
|
|
|
&lfs67_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&strigi-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&strigi-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &strigi-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &strigi-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &strigi-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &strigi-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
<!--
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/strigi-&strigi-version;-fixes-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
<bridgehead renderas="sect3">strigi Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="cmake"/>,
|
|
<xref linkend="expat"/> or <xref linkend="libxml2"/>,
|
|
<xref linkend="clucene"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="gamin"/> (or FAM),
|
|
<xref linkend="exiv2"/>,
|
|
<xref linkend="qt4"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/strigi"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Strigi</title>
|
|
|
|
<para>Add missing header files to some includes:</para>
|
|
|
|
<screen><userinput>sed -i "s;#include \"jsgzipcompressstream.h\";#include <stdio.h>\n&;" \
|
|
src/luceneindexer/jsgzipcompressstream.cpp &&
|
|
sed -i "s;#include \"sqliteindexmanager.h\";#include <stdio.h>\n&;" \
|
|
src/sqliteindexer/sqliteindexmanager.cpp &&
|
|
sed -i "s;#include <cerrno>;#include <stdio.h>\n&;" \
|
|
src/daemon/eventlistener/famlistener.cpp &&
|
|
sed -i "s;#include <stdlib.h>;&\n#include <stdio.h>;" \
|
|
src/daemon/strigithread.cpp</userinput></screen>
|
|
|
|
<para>Install <application>strigi</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build</userinput></screen>
|
|
|
|
<para>Prepare the package for compilation:</para>
|
|
|
|
<screen><userinput>cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DENABLE_EXPAT=ON \
|
|
-DENABLE_FAM=ON \
|
|
-DENABLE_SQLITE=OFF .. &&
|
|
make</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><option>-DENABLE_SQLITE=OFF</option>: Even though there is a sed on a sqlite related
|
|
source file, this option switches building the sqlite backend off because the support of
|
|
sqlite is entirely broken.</para>
|
|
|
|
</sect2>
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>deepfind, xmlindexer, strigicmd, luceneindexer, strigiclient, strigidaemon</seg>
|
|
<seg>several static and shared libraries</seg>
|
|
<seg>/usr/lib/strigi</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
<!--
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="iodbc-config">
|
|
<term><command>iodbc-config</command></term>
|
|
<listitem>
|
|
<para>is a utility for retrieving the installation options of strigi</para>
|
|
<indexterm zone="strigi iodbc-config">
|
|
<primary sortas="b-iodbc-config">iodbc-config</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="iodbctest">
|
|
<term><command>iodbctest{,w}</command></term>
|
|
<listitem>
|
|
<para>is an interactive SQL processor</para>
|
|
<indexterm zone="strigi iodbctest">
|
|
<primary sortas="b-iodbctest">iodbctest</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="iodbcadm">
|
|
<term><command>iodbcadm</command></term>
|
|
<listitem>
|
|
<para>is a graphical administration utility</para>
|
|
<indexterm zone="strigi iodbcadm">
|
|
<primary sortas="b-iodbcadm">iodbcadm</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
-->
|
|
</sect2>
|
|
|
|
</sect1>
|