Changeset 37e35d2 for chapter06/tar.xml
- Timestamp:
- 06/29/2020 07:55:01 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- c4804e8
- Parents:
- d4fdde6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/tar.xml
rd4fdde6 r37e35d2 6 6 ]> 7 7 8 <sect1 id="ch- system-tar" role="wrap">8 <sect1 id="ch-tools-tar" role="wrap"> 9 9 <?dbhtml filename="tar.html"?> 10 10 … … 17 17 <title>Tar-&tar-version;</title> 18 18 19 <indexterm zone="ch- system-tar">19 <indexterm zone="ch-tools-tar"> 20 20 <primary sortas="a-Tar">Tar</primary> 21 <secondary>tools</secondary> 21 22 </indexterm> 22 23 … … 24 25 <title/> 25 26 26 <para>The Tar package contains an archiving program.</para> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 28 href="../chapter08/tar.xml" 29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 27 30 28 31 <segmentedlist> … … 31 34 32 35 <seglistitem> 33 <seg>&tar- ch6-sbu;</seg>34 <seg>&tar- ch6-du;</seg>36 <seg>&tar-tmp-sbu;</seg> 37 <seg>&tar-tmp-du;</seg> 35 38 </seglistitem> 36 39 </segmentedlist> … … 43 46 <para>Prepare Tar for compilation:</para> 44 47 45 <screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 \ 46 ./configure --prefix=/usr \ 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(build-aux/config.guess) \ 47 51 --bindir=/bin</userinput></screen> 48 49 <variablelist>50 <title>The meaning of the configure options:</title>51 52 <varlistentry>53 <term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term>54 <listitem>55 <para>This forces the test for <function>mknod</function> to be run56 as root. It is generally considered dangerous to run this test as57 the root user, but as it is being run on a system that has only been58 partially built, overriding it is OK.</para>59 </listitem>60 </varlistentry>61 </variablelist>62 52 63 53 <para>Compile the package:</para> … … 65 55 <screen><userinput remap="make">make</userinput></screen> 66 56 67 <para>To test the results (about 3 SBU), issue:</para>68 69 <screen><userinput remap="test">make check</userinput></screen>70 71 <!-- Seems to pass for version 1.31. Keeping as a comment just in case...72 <para>One test, link mismatch, is known to fail.</para>73 -->74 75 57 <para>Install the package:</para> 76 58 77 <screen><userinput remap="install">make install 78 make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen> 59 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 79 60 80 61 </sect2> 81 62 63 <sect2 role="content"> 64 <title/> 82 65 83 <sect2 id="contents-tar" role="content"> 84 <title>Contents of Tar</title> 85 86 <segmentedlist> 87 <segtitle>Installed programs</segtitle> 88 <segtitle>Installed directory</segtitle> 89 90 <seglistitem> 91 <seg>tar</seg> 92 <seg>/usr/share/doc/tar-&tar-version;</seg> 93 </seglistitem> 94 </segmentedlist> 95 96 <variablelist> 97 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 98 <?dbfo list-presentation="list"?> 99 <?dbhtml list-presentation="table"?> 100 101 <varlistentry id="tar"> 102 <term><command>tar</command></term> 103 <listitem> 104 <para>Creates, extracts files from, and lists the contents of archives, 105 also known as tarballs</para> 106 <indexterm zone="ch-system-tar tar"> 107 <primary sortas="b-tar">tar</primary> 108 </indexterm> 109 </listitem> 110 </varlistentry> 111 112 </variablelist> 66 <para>Details on this package are located in <xref linkend="contents-tar" role="."/></para> 113 67 114 68 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.