source: chapter05/gzip.xml@ 2cddf7e4

Last change on this file since 2cddf7e4 was 2cddf7e4, checked in by Jeremy Huntwork <jhuntwork@…>, 17 years ago

Fix broken loops

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8290 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[1f7ca93]7
[9652249]8<sect1 id="ch-tools-gzip" role="wrap">
[1f7ca93]9 <?dbhtml filename="gzip.html"?>
10
11 <title>Gzip-&gzip-version;</title>
12
13 <indexterm zone="ch-tools-gzip">
14 <primary sortas="a-Gzip">Gzip</primary>
15 <secondary>tools</secondary>
16 </indexterm>
17
18 <sect2 role="package">
19 <title/>
[6370fa6]20
[1f7ca93]21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
22 href="../chapter06/gzip.xml"
23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
[81fd230]24
[1f7ca93]25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
[673b0d8]28
[1f7ca93]29 <seglistitem>
[e4a5635]30 <seg>&gzip-ch5-sbu;</seg>
31 <seg>&gzip-ch5-du;</seg>
[1f7ca93]32 </seglistitem>
33 </segmentedlist>
[673b0d8]34
[1f7ca93]35 </sect2>
[73aedd1d]36
[1f7ca93]37 <sect2 role="installation">
38 <title>Installation of Gzip</title>
[73aedd1d]39
[4f56afa3]40 <para>The version of the function <quote>futimens</quote> used
41 by Gzip is incompatible with the version that current
42 Glibc provides, so we'll rename the function:</para>
43
[2cddf7e4]44<screen><userinput>for file in gzip.c lib/utimens.{c,h} ; do \
[4f56afa3]45 cp -v $file{,.orig}
[2cddf7e4]46 sed 's/futimens/gl_&amp;/' $file.orig &gt; $file
[4f56afa3]47done</userinput></screen>
48
[1f7ca93]49 <para>Prepare Gzip for compilation:</para>
[73aedd1d]50
51<screen><userinput>./configure --prefix=/tools</userinput></screen>
52
[1f7ca93]53 <para>Compile the package:</para>
[73aedd1d]54
55<screen><userinput>make</userinput></screen>
56
[b8913f42]57 <para>To test the results, issue:
58 <userinput>make check</userinput>.</para>
[81fd230]59
[1f7ca93]60 <para>Install the package:</para>
[73aedd1d]61
62<screen><userinput>make install</userinput></screen>
63
[1f7ca93]64 </sect2>
[6370fa6]65
[1f7ca93]66 <sect2 role="content">
67 <title/>
[81fd230]68
[1f7ca93]69 <para>Details on this package are located in
70 <xref linkend="contents-gzip" role="."/></para>
71
72 </sect2>
[81fd230]73
[1f7ca93]74</sect1>
Note: See TracBrowser for help on using the repository browser.