[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 |
|
---|
[17d6b7c] | 7 | <!ENTITY clucene-download-http "http://downloads.sourceforge.net/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 |
|
---|
[0d7900a] | 32 | <para><application>CLucene</application> is a C++ version of Lucene, a
|
---|
[47969a6] | 33 | high performance text search engine.</para>
|
---|
| 34 |
|
---|
[9cbbc30e] | 35 | &lfs80_checked;
|
---|
[47969a6] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&clucene-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&clucene-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &clucene-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &clucene-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &clucene-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &clucene-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing='compact'>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Required patch: <ulink
|
---|
[7f5a5884] | 63 | url="&patch-root;/clucene-&clucene-version;-contribs_lib-1.patch"/></para>
|
---|
[47969a6] | 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
| 66 |
|
---|
[7f5a5884] | 67 | <bridgehead renderas="sect3">CLucene Dependencies</bridgehead>
|
---|
[47969a6] | 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 70 | <para role="required">
|
---|
[7f5a5884] | 71 | <xref linkend="cmake"/>
|
---|
| 72 | </para>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 75 | <para role="recommended">
|
---|
| 76 | <xref linkend="boost"/>
|
---|
[47969a6] | 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/clucene"/></para>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of CLucene</title>
|
---|
| 86 |
|
---|
[7f5a5884] | 87 | <para>Install <application>CLucene</application> by running the following
|
---|
[47969a6] | 88 | commands:</para>
|
---|
| 89 |
|
---|
[7f5a5884] | 90 | <screen><userinput>patch -Np1 -i ../clucene-&clucene-version;-contribs_lib-1.patch &&
|
---|
[059a1a5c] | 91 |
|
---|
[7f5a5884] | 92 | mkdir build &&
|
---|
[059a1a5c] | 93 | cd build &&
|
---|
| 94 |
|
---|
[7f5a5884] | 95 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 96 | -DBUILD_CONTRIBS_LIB=ON .. &&
|
---|
[47969a6] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 100 |
|
---|
| 101 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
[7f5a5884] | 104 |
|
---|
[47969a6] | 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
| 107 |
|
---|
[7f5a5884] | 108 | <para>
|
---|
| 109 | <parameter>-DBUILD_CONTRIBS_LIB=ON</parameter>: This cmake variable
|
---|
| 110 | enables building the CLucene contribs library necessary for running
|
---|
| 111 | applications that use language specific text analyzers like LibreOffice
|
---|
| 112 | for example.
|
---|
| 113 | </para>
|
---|
[47969a6] | 114 |
|
---|
| 115 | </sect2>
|
---|
[7f5a5884] | 116 |
|
---|
[47969a6] | 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
[7f5a5884] | 121 | <segtitle>Installed Programs</segtitle>
|
---|
[47969a6] | 122 | <segtitle>Installed Libraries</segtitle>
|
---|
[7f5a5884] | 123 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 124 |
|
---|
| 125 | <seglistitem>
|
---|
| 126 | <seg>None</seg>
|
---|
[7f5a5884] | 127 | <seg>
|
---|
| 128 | libclucene-contribs-lib.so,
|
---|
| 129 | libclucene-core.so, and
|
---|
| 130 | libclucene-shared.so
|
---|
| 131 | </seg>
|
---|
| 132 | <seg>
|
---|
| 133 | /usr/include/CLucene and
|
---|
| 134 | /usr/lib/CLuceneConfig.cmake
|
---|
| 135 | </seg>
|
---|
[47969a6] | 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
[7f5a5884] | 138 |
|
---|
[47969a6] | 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | </sect1>
|
---|