source: general/genlib/clucene.xml@ 31973174

systemd-13485
Last change on this file since 31973174 was 83f6c770, checked in by DJ Lucas <dj@…>, 8 years ago

Merge Chapter 9 changes from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16835 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.0 KB
Line 
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
7 <!ENTITY clucene-download-http "http://downloads.sourceforge.net/clucene/clucene-core-&clucene-version;.tar.gz">
8 <!ENTITY clucene-download-ftp " ">
9 <!ENTITY clucene-md5sum "48d647fbd8ef8889e5a7f422c1bfda94">
10 <!ENTITY clucene-size "2.2 MB">
11 <!ENTITY clucene-buildsize "78 MB">
12 <!ENTITY clucene-time "0.8 SBU">
13]>
14
15<sect1 id="clucene" xreflabel="CLucene-&clucene-version;">
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="a-clucene">clucene</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to CLucene</title>
31
32 <para><application>CLucene</application> is a C++ version of Lucene, a
33 high performance text search engine.</para>
34
35 &lfs78_checked;
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
63 url="&patch-root;/clucene-&clucene-version;-contribs_lib-1.patch"/></para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">CLucene Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Required</bridgehead>
70 <para role="required">
71 <xref linkend="cmake"/>
72 </para>
73
74 <bridgehead renderas="sect4">Recommended</bridgehead>
75 <para role="recommended">
76 <xref linkend="boost"/>
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
87 <para>Install <application>CLucene</application> by running the following
88 commands:</para>
89
90<screen><userinput>patch -Np1 -i ../clucene-&clucene-version;-contribs_lib-1.patch &amp;&amp;
91
92mkdir build &amp;&amp;
93cd build &amp;&amp;
94
95cmake -DCMAKE_INSTALL_PREFIX=/usr \
96 -DBUILD_CONTRIBS_LIB=ON .. &amp;&amp;
97make</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>
104
105 <sect2 role="commands">
106 <title>Command Explanations</title>
107
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>
114
115 </sect2>
116
117 <sect2 role="content">
118 <title>Contents</title>
119
120 <segmentedlist>
121 <segtitle>Installed Programs</segtitle>
122 <segtitle>Installed Libraries</segtitle>
123 <segtitle>Installed Directories</segtitle>
124
125 <seglistitem>
126 <seg>None</seg>
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>
136 </seglistitem>
137 </segmentedlist>
138
139 </sect2>
140
141</sect1>
Note: See TracBrowser for help on using the repository browser.