source: general/genlib/lzo.xml@ ac38e9dc

systemd-13485
Last change on this file since ac38e9dc was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

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

  • Property mode set to 100644
File size: 4.5 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 lzo-download-http "http://www.oberhumer.com/opensource/lzo/download/lzo-&lzo-version;.tar.gz">
8 <!ENTITY lzo-download-ftp " ">
9 <!ENTITY lzo-md5sum "c7ffc9a103afe2d1bba0b015e7aa887f">
10 <!ENTITY lzo-size "584 KB">
11 <!ENTITY lzo-buildsize "8.4 MB">
12 <!ENTITY lzo-time "0.2 SBU (additional 0.2 SBU to run the tests)">
13]>
14
15<sect1 id="lzo" xreflabel="LZO-&lzo-version;">
16 <?dbhtml filename="lzo.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>LZO-&lzo-version;</title>
24
25 <indexterm zone="lzo">
26 <primary sortas="a-LZO">LZO</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to LZO</title>
31
32 <para>
33 <application>LZO</application> is a data compression
34 library which is suitable for data decompression and compression in
35 real-time. This means it favors speed over compression ratio.
36 </para>
37
38 &lfs77_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&lzo-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&lzo-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &lzo-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &lzo-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &lzo-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &lzo-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/lzo"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of LZO</title>
81
82 <para>
83 Install <application>LZO</application> by running the
84 following commands:
85 </para>
86
87<screen><userinput>./configure --prefix=/usr \
88 --enable-shared \
89 --disable-static \
90 --docdir=/usr/share/doc/lzo-&lzo-version; &amp;&amp;
91make</userinput></screen>
92
93 <para>
94 To test the results, issue: <command>make check; make test</command>.
95 </para>
96
97 <para>
98 Now, as the <systemitem class="username">root</systemitem> user:
99 </para>
100
101<screen role="root"><userinput>make install</userinput></screen>
102
103 <para>
104 The shared library needs to be moved to
105 <filename class="directory">/lib</filename>, and as a result the
106 <filename class="extension">.so</filename> file in
107 <filename class="directory">/usr/lib</filename> will need to be
108 recreated. Run the following command as the
109 <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen><userinput remap="install">mv -v /usr/lib/liblzo2.so.* /lib
113ln -sfv ../../lib/$(readlink /usr/lib/liblzo2.so) /usr/lib/liblzo2.so</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../../xincludes/static-libraries.xml"/>
122
123 </sect2>
124
125 <sect2 role="content">
126 <title>Contents</title>
127
128 <segmentedlist>
129 <segtitle>Installed Programs</segtitle>
130 <segtitle>Installed Libraries</segtitle>
131 <segtitle>Installed Directories</segtitle>
132
133 <seglistitem>
134 <seg>
135 None
136 </seg>
137 <seg>
138 liblzo2.so
139 </seg>
140 <seg>
141 /usr/include/lzo and
142 /usr/share/doc/lzo
143 </seg>
144 </seglistitem>
145 </segmentedlist>
146
147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
151
152 <varlistentry id="liblzo2">
153 <term><filename class='libraryfile'>liblzo2.so</filename></term>
154 <listitem>
155 <para>
156 is a data compression and decompression library.
157 </para>
158 <indexterm zone="lzo liblzo2">
159 <primary sortas="c-liblzo2">liblzo2.so</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 </variablelist>
165
166 </sect2>
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.