diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-15 07:32:17 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-15 07:32:17 +0000 |
commit | 984ab5a1722ef03420e9de06aabbe8846ed9e785 (patch) | |
tree | 5adf0785b640a862b2f7d7f5d88c6d785cea53a0 /chapter05 | |
parent | cce4232d70bf7c23cd9f786a1f40da1c7a372a1e (diff) |
Converted static tar to new layout.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2328 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/tar-inst.xml | 24 | ||||
-rw-r--r-- | chapter05/tar.xml | 4 |
2 files changed, 18 insertions, 10 deletions
diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml index 92060aaa4..5b7805e87 100644 --- a/chapter05/tar-inst.xml +++ b/chapter05/tar-inst.xml @@ -1,20 +1,28 @@ +<sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of Tar</title> -<para>To be able to directly use bzip2 files with tar, use the tar -patch available from the LFS FTP site. This patch will add the -j option -to tar which works the same as the -z option to tar (which can be used -for gzip files).</para> +<para>A patch may be applied to give tar direct support for +bzip2 files. This patch adds the <emphasis>-j</emphasis> option +to tar, which is similar to the <emphasis>-z</emphasis> option +used for gzip files.</para> <para>Apply the patch by running the following command:</para> <para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para> -<para>Install Tar by running the following commands:</para> +<para>Prepare Tar to be compiled:</para> + +<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</userinput></screen></para> + +<para>Continue with compiling the package:</para> + +<para><screen><userinput>make</userinput></screen></para> + +<para>Finish installing the package:</para> -<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls && -make && -make install</userinput></screen></para> +<para><screen><userinput>make install</userinput></screen></para> </sect2> diff --git a/chapter05/tar.xml b/chapter05/tar.xml index 0a4924233..55c993836 100644 --- a/chapter05/tar.xml +++ b/chapter05/tar.xml @@ -5,9 +5,9 @@ <screen>Estimated build time: &tar-time-static; Estimated required disk space: &tar-compsize-static;</screen> -&c5-tar-inst; -&aa-tar-desc; +&aa-tar-shortdesc; &aa-tar-dep; +&c5-tar-inst; </sect1> |