[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 | ]>
|
---|
[b28fd35] | 7 |
|
---|
[9652249] | 8 | <sect1 id="ch-tools-tar" role="wrap">
|
---|
[b28fd35] | 9 | <?dbhtml filename="tar.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>tar</productname>
|
---|
| 13 | <productnumber>&tar-version;</productnumber>
|
---|
| 14 | <address>&tar-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[b28fd35] | 17 | <title>Tar-&tar-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-tools-tar">
|
---|
| 20 | <primary sortas="a-Tar">Tar</primary>
|
---|
| 21 | <secondary>tools</secondary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
| 25 | <title/>
|
---|
[6370fa6] | 26 |
|
---|
[d9441360] | 27 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[b28fd35] | 28 | href="../chapter06/tar.xml"
|
---|
| 29 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
[81fd230] | 30 |
|
---|
[b28fd35] | 31 | <segmentedlist>
|
---|
| 32 | <segtitle>&buildtime;</segtitle>
|
---|
| 33 | <segtitle>&diskspace;</segtitle>
|
---|
[673b0d8] | 34 |
|
---|
[b28fd35] | 35 | <seglistitem>
|
---|
[e4a5635] | 36 | <seg>&tar-ch5-sbu;</seg>
|
---|
| 37 | <seg>&tar-ch5-du;</seg>
|
---|
[b28fd35] | 38 | </seglistitem>
|
---|
| 39 | </segmentedlist>
|
---|
[673b0d8] | 40 |
|
---|
[b28fd35] | 41 | </sect2>
|
---|
[73aedd1d] | 42 |
|
---|
[b28fd35] | 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of Tar</title>
|
---|
[73aedd1d] | 45 |
|
---|
[3b5a16f7] | 46 | <para>First fix a bug that was inserted into the latest code release:</para>
|
---|
[44c1417] | 47 |
|
---|
| 48 | <screen><userinput remap="pre">sed -i /SIGPIPE/d src/tar.c</userinput></screen>
|
---|
| 49 |
|
---|
[b28fd35] | 50 | <para>Prepare Tar for compilation:</para>
|
---|
[73aedd1d] | 51 |
|
---|
[0445a3d] | 52 | <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
|
---|
[73aedd1d] | 53 |
|
---|
[b28fd35] | 54 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 55 |
|
---|
[0445a3d] | 56 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 57 |
|
---|
[1fa0f19] | 58 | <para>Compilation is now complete. As discussed earlier, running the test
|
---|
| 59 | suite is not mandatory for the temporary tools here in this chapter. To run
|
---|
| 60 | the Tar test suite anyway, issue the following command:</para>
|
---|
[0445a3d] | 61 |
|
---|
| 62 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[73aedd1d] | 63 |
|
---|
[b28fd35] | 64 | <para>Install the package:</para>
|
---|
[73aedd1d] | 65 |
|
---|
[0445a3d] | 66 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 67 |
|
---|
[b28fd35] | 68 | </sect2>
|
---|
[6370fa6] | 69 |
|
---|
[b28fd35] | 70 | <sect2 role="content">
|
---|
| 71 | <title/>
|
---|
[81fd230] | 72 |
|
---|
[b28fd35] | 73 | <para>Details on this package are located in
|
---|
| 74 | <xref linkend="contents-tar" role="."/></para>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
[81fd230] | 77 |
|
---|
[b28fd35] | 78 | </sect1>
|
---|