[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 |
|
---|
[7f5a5884] | 7 | <!ENTITY clucene-download-http " ">
|
---|
[47969a6] | 8 | <!ENTITY clucene-download-ftp " ">
|
---|
[7f5a5884] | 9 | <!ENTITY clucene-md5sum " ">
|
---|
| 10 | <!ENTITY clucene-size "19 MB">
|
---|
| 11 | <!ENTITY clucene-buildsize "86 MB">
|
---|
| 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">
|
---|
| 26 | <primary sortas="l-clucene">clucene</primary>
|
---|
| 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 |
|
---|
[7f5a5884] | 35 | &lfs74_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>
|
---|
[7f5a5884] | 45 | <!--
|
---|
[47969a6] | 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &clucene-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
[7f5a5884] | 49 | -->
|
---|
[47969a6] | 50 | <listitem>
|
---|
| 51 | <para>Download size: &clucene-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &clucene-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &clucene-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing='compact'>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Required patch: <ulink
|
---|
[7f5a5884] | 65 | url="&patch-root;/clucene-&clucene-version;-contribs_lib-1.patch"/></para>
|
---|
[47969a6] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[7f5a5884] | 69 | <bridgehead renderas="sect3">CLucene Dependencies</bridgehead>
|
---|
[47969a6] | 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[7f5a5884] | 73 | <xref linkend="git"/> and
|
---|
| 74 | <xref linkend="cmake"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
| 79 | <xref linkend="boost"/>
|
---|
[47969a6] | 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <para condition="html" role="usernotes">User Notes:
|
---|
| 83 | <ulink url="&blfs-wiki;/clucene"/></para>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of CLucene</title>
|
---|
| 89 |
|
---|
[7f5a5884] | 90 | <para>
|
---|
| 91 | Since <application>CLucene</application> developers haven't released any
|
---|
| 92 | tarballs yet, to obtain the source code first clone
|
---|
| 93 | <application>CLucene</application> git repository then checkout the
|
---|
| 94 | &clucene-version; version:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>git clone git://clucene.git.sourceforge.net/gitroot/clucene/clucene &&
|
---|
| 98 | cd clucene &&
|
---|
| 99 | git checkout tags/clucene-src-&clucene-version;</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | <para>Install <application>CLucene</application> by running the following
|
---|
[47969a6] | 102 | commands:</para>
|
---|
| 103 |
|
---|
[7f5a5884] | 104 | <screen><userinput>patch -Np1 -i ../clucene-&clucene-version;-contribs_lib-1.patch &&
|
---|
| 105 | mkdir build &&
|
---|
| 106 | cd build &&
|
---|
| 107 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 108 | -DBUILD_CONTRIBS_LIB=ON .. &&
|
---|
[47969a6] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
[7f5a5884] | 116 |
|
---|
[47969a6] | 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[7f5a5884] | 120 | <para>
|
---|
| 121 | <parameter>-DBUILD_CONTRIBS_LIB=ON</parameter>: This cmake variable
|
---|
| 122 | enables building the CLucene contribs library necessary for running
|
---|
| 123 | applications that use language specific text analyzers like LibreOffice
|
---|
| 124 | for example.
|
---|
| 125 | </para>
|
---|
[47969a6] | 126 |
|
---|
| 127 | </sect2>
|
---|
[7f5a5884] | 128 |
|
---|
[47969a6] | 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
[7f5a5884] | 133 | <segtitle>Installed Programs</segtitle>
|
---|
[47969a6] | 134 | <segtitle>Installed Libraries</segtitle>
|
---|
[7f5a5884] | 135 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 136 |
|
---|
| 137 | <seglistitem>
|
---|
| 138 | <seg>None</seg>
|
---|
[7f5a5884] | 139 | <seg>
|
---|
| 140 | libclucene-contribs-lib.so,
|
---|
| 141 | libclucene-core.so, and
|
---|
| 142 | libclucene-shared.so
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | /usr/include/CLucene and
|
---|
| 146 | /usr/lib/CLuceneConfig.cmake
|
---|
| 147 | </seg>
|
---|
[47969a6] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
[7f5a5884] | 150 |
|
---|
[47969a6] | 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | </sect1>
|
---|