source: BOOK/final-system/common/zlib.xml@ 6d7d314

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6d7d314 was 5bd38fd, checked in by kb0iic <kb0iic@…>, 15 years ago

Remove unneeded chmod on zlib static library.

  • Property mode set to 100644
File size: 2.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
8<sect1 id="ch-system-zlib" role="wrap">
9 <?dbhtml filename="zlib.html"?>
10
11 <title>Zlib-&zlib-version;</title>
12
13 <indexterm zone="ch-system-zlib">
14 <primary sortas="a-Zlib">Zlib</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Zlib package contains compression and decompression routines
21 used by some programs.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Zlib</title>
27
28 <para os="a">Prepare Zlib for compilation:</para>
29
30<screen os="b"><userinput>CC="gcc -isystem /usr/include" CXX="g++ -isystem /usr/include" \
31 LDFLAGS="-Wl,-rpath-link,/lib" ./configure --prefix=/usr</userinput></screen>
32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37 <para os="e">To test the results, issue:
38 <userinput>make check</userinput>.</para>
39
40 <para os="f">Install the package:</para>
41
42<screen os="g"><userinput>make install</userinput></screen>
43
44 <para os="h">The previous command installed two <filename
45 class="extension">.so</filename> files into <filename
46 class="directory">/usr/lib</filename>. We will move it into
47 <filename class="directory">/lib</filename> and then relink it
48 to <filename class="directory">/usr/lib</filename>:</para>
49
50<screen os="i"><userinput>mv -v /usr/lib/libz.so.* /lib
51ln -svf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>
52
53 </sect2>
54
55 <sect2 id="contents-zlib" role="content">
56 <title>Contents of Zlib</title>
57
58 <segmentedlist>
59 <segtitle>Installed libraries</segtitle>
60
61 <seglistitem>
62 <seg>libz.[a,so]</seg>
63 </seglistitem>
64 </segmentedlist>
65
66 <variablelist>
67 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
68 <?dbfo list-presentation="list"?>
69 <?dbhtml list-presentation="table"?>
70
71 <varlistentry id="libz">
72 <term><filename class="libraryfile">libz</filename></term>
73 <listitem>
74 <para>Contains compression and decompression
75 functions used by some programs</para>
76 <indexterm zone="ch-system-zlib libz">
77 <primary sortas="c-libz">libz</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.