[47969a6] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY clucene-download-http "&sourceforge-dl;/clucene/clucene-core-&clucene-version;.tar.gz">
|
---|
[47969a6] | 8 | <!ENTITY clucene-download-ftp " ">
|
---|
[17d6b7c] | 9 | <!ENTITY clucene-md5sum "48d647fbd8ef8889e5a7f422c1bfda94">
|
---|
| 10 | <!ENTITY clucene-size "2.2 MB">
|
---|
| 11 | <!ENTITY clucene-buildsize "78 MB">
|
---|
[7f5a5884] | 12 | <!ENTITY clucene-time "0.8 SBU">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
[7f5a5884] | 15 | <sect1 id="clucene" xreflabel="CLucene-&clucene-version;">
|
---|
[47969a6] | 16 | <?dbhtml filename="clucene.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>CLucene-&clucene-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="clucene">
|
---|
[6e02b8c9] | 26 | <primary sortas="a-clucene">clucene</primary>
|
---|
[47969a6] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to CLucene</title>
|
---|
| 31 |
|
---|
[d56e7df] | 32 | <para>
|
---|
| 33 | <application>CLucene</application> is a C++ version of Lucene, a
|
---|
| 34 | high performance text search engine.
|
---|
| 35 | </para>
|
---|
[47969a6] | 36 |
|
---|
[87351a9] | 37 | &lfs10_checked;
|
---|
[47969a6] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[d56e7df] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&clucene-download-http;"/>
|
---|
| 44 | </para>
|
---|
[47969a6] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[d56e7df] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&clucene-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[47969a6] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[d56e7df] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &clucene-md5sum;
|
---|
| 54 | </para>
|
---|
[47969a6] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[d56e7df] | 57 | <para>
|
---|
| 58 | Download size: &clucene-size;
|
---|
| 59 | </para>
|
---|
[47969a6] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[d56e7df] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &clucene-buildsize;
|
---|
| 64 | </para>
|
---|
[47969a6] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[d56e7df] | 67 | <para>
|
---|
| 68 | Estimated build time: &clucene-time;
|
---|
| 69 | </para>
|
---|
[47969a6] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing='compact'>
|
---|
| 75 | <listitem>
|
---|
[d56e7df] | 76 | <para>
|
---|
| 77 | Required patch: <ulink
|
---|
| 78 | url="&patch-root;/clucene-&clucene-version;-contribs_lib-1.patch"/>
|
---|
| 79 | </para>
|
---|
[47969a6] | 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[7f5a5884] | 83 | <bridgehead renderas="sect3">CLucene Dependencies</bridgehead>
|
---|
[47969a6] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 86 | <para role="required">
|
---|
[7f5a5884] | 87 | <xref linkend="cmake"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 91 | <para role="recommended">
|
---|
| 92 | <xref linkend="boost"/>
|
---|
[47969a6] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/clucene"/></para>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of CLucene</title>
|
---|
| 102 |
|
---|
[d56e7df] | 103 | <para>
|
---|
| 104 | Install <application>CLucene</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
[47969a6] | 107 |
|
---|
[7f5a5884] | 108 | <screen><userinput>patch -Np1 -i ../clucene-&clucene-version;-contribs_lib-1.patch &&
|
---|
[059a1a5c] | 109 |
|
---|
[7f5a5884] | 110 | mkdir build &&
|
---|
[059a1a5c] | 111 | cd build &&
|
---|
| 112 |
|
---|
[7f5a5884] | 113 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 114 | -DBUILD_CONTRIBS_LIB=ON .. &&
|
---|
[47969a6] | 115 | make</userinput></screen>
|
---|
| 116 |
|
---|
[d56e7df] | 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
[47969a6] | 120 |
|
---|
| 121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
[7f5a5884] | 124 |
|
---|
[47969a6] | 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
[7f5a5884] | 128 | <para>
|
---|
| 129 | <parameter>-DBUILD_CONTRIBS_LIB=ON</parameter>: This cmake variable
|
---|
| 130 | enables building the CLucene contribs library necessary for running
|
---|
| 131 | applications that use language specific text analyzers like LibreOffice
|
---|
| 132 | for example.
|
---|
| 133 | </para>
|
---|
[47969a6] | 134 |
|
---|
| 135 | </sect2>
|
---|
[7f5a5884] | 136 |
|
---|
[47969a6] | 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
[7f5a5884] | 141 | <segtitle>Installed Programs</segtitle>
|
---|
[47969a6] | 142 | <segtitle>Installed Libraries</segtitle>
|
---|
[7f5a5884] | 143 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 144 |
|
---|
| 145 | <seglistitem>
|
---|
| 146 | <seg>None</seg>
|
---|
[7f5a5884] | 147 | <seg>
|
---|
| 148 | libclucene-contribs-lib.so,
|
---|
| 149 | libclucene-core.so, and
|
---|
| 150 | libclucene-shared.so
|
---|
| 151 | </seg>
|
---|
| 152 | <seg>
|
---|
| 153 | /usr/include/CLucene and
|
---|
| 154 | /usr/lib/CLuceneConfig.cmake
|
---|
| 155 | </seg>
|
---|
[47969a6] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
[7f5a5884] | 158 |
|
---|
[47969a6] | 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | </sect1>
|
---|