source: general/sysutils/cpio.xml@ 9603139

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9603139 was 9603139, checked in by Pierre Labastie <pieere@…>, 8 years ago

More GCC 6 tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17338 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[6426122]7 <!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2">
8 <!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2">
[16e895e]9 <!ENTITY cpio-md5sum "93eea9f07c0058c097891c73e4955456">
10 <!ENTITY cpio-size "1.2 MB">
11 <!ENTITY cpio-buildsize "18 MB (with tests and docs)">
12 <!ENTITY cpio-time "0.3 SBU (with tests and docs)">
[52d29f7]13]>
14
[1df9017f]15<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
[35f3cb4]16 <?dbhtml filename="cpio.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[a2ae800]23 <title>cpio-&cpio-version;</title>
[35f3cb4]24
25 <indexterm zone="cpio">
26 <primary sortas="a-Cpio">Cpio</primary>
27 </indexterm>
28
[4e82a189]29 <sect2 role="package">
[a2ae800]30 <title>Introduction to cpio</title>
[35f3cb4]31
32 <para>The <application>cpio</application> package contains
33 tools for archiving.</para>
34
[9603139]35 &lfs79_checked;&gcc6_checked;
[bd32b6f]36
[35f3cb4]37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&cpio-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&cpio-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &cpio-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &cpio-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &cpio-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &cpio-time;</para>
56 </listitem>
57 </itemizedlist>
58
[d2da67c]59 <bridgehead renderas="sect3">CPIO Dependencies</bridgehead>
60
61 <bridgehead renderas="sect4">Optional</bridgehead>
62 <para role="optional">
63 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
64 </para>
65
[1039de3]66 <para condition="html" role="usernotes">User Notes:
67 <ulink url="&blfs-wiki;/cpio"/></para>
68
[35f3cb4]69 </sect2>
70
71 <sect2 role="installation">
[a2ae800]72 <title>Installation of cpio</title>
[35f3cb4]73
[4e82a189]74 <para>Install <application>cpio</application> by running the following
[35f3cb4]75 commands:</para>
76
[16e895e]77<screen><userinput><!--sed -i -e '/gets is a/d' gnu/stdio.in.h &amp;&amp;
[96ed758]78
[16e895e]79-->./configure --prefix=/usr \
[1b83b0e0]80 --bindir=/bin \
81 --enable-mt \
[4dd6703]82 --with-rmt=/usr/libexec/rmt &amp;&amp;
[d17e355]83make &amp;&amp;
84makeinfo --html -o doc/html doc/cpio.texi &amp;&amp;
85makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi &amp;&amp;
86makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi</userinput></screen>
[6587e936]87
[8aeb474]88 <para>If you have <xref linkend="texlive"/>
[f1e103a]89 installed and wish to create PDF or Postscript documentation, issue one or
90 both of the following commands:</para>
[f2cae5f]91
92<screen><userinput>make -C doc pdf &amp;&amp;
[d17e355]93make -C doc ps</userinput></screen>
[f2cae5f]94
[9327a61]95 <para>To test the results, issue: <command>make check</command>.</para>
[bccbdaea]96
[35f3cb4]97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[6587e936]98
[d17e355]99<screen role="root"><userinput>make install &amp;&amp;
100install -v -m755 -d /usr/share/doc/cpio-&cpio-version;/html &amp;&amp;
101install -v -m644 doc/html/* \
102 /usr/share/doc/cpio-&cpio-version;/html &amp;&amp;
103install -v -m644 doc/cpio.{html,txt} \
104 /usr/share/doc/cpio-&cpio-version;</userinput></screen>
[0882c90]105
[d17e355]106 <para>If you built PDF or Postscript documentation, install it
[f2cae5f]107 by issuing the following commands as the
108 <systemitem class="username">root</systemitem> user:</para>
109
[d17e355]110<screen role="root"><userinput>install -v -m644 doc/cpio.{pdf,ps,dvi} \
[f2cae5f]111 /usr/share/doc/cpio-&cpio-version;</userinput></screen>
112
[35f3cb4]113 </sect2>
[52d29f7]114
[35f3cb4]115 <sect2 role="commands">
116 <title>Command Explanations</title>
[0882c90]117
[c35030e]118 <para><parameter>sed -i -e '/gets is a/d' gnu/stdio.in.h &amp;&amp;</parameter>:
[c4b0455]119 This fixes an incompatibility with <application>glibc-2.16.0</application>.
[c35030e]120 </para>
121
[4e82a189]122 <para><parameter>--bindir=/bin</parameter>: This parameter installs
[5ee44e37]123 <command>cpio</command> to <filename class="directory">/bin</filename>
124 instead of <filename class="directory">/usr/bin</filename> as recommended
125 by the FHS guidelines.</para>
[0882c90]126
[d17e355]127 <para><parameter>--enable-mt</parameter>: This parameter forces the
128 building and installation of the <command>mt</command> program.</para>
129
[4dd6703]130 <para><parameter>--with-rmt=/usr/libexec/rmt</parameter>: This parameter
[5ee44e37]131 inhibits building the <command>rmt</command> program as it is already
132 installed by the <application>Tar</application> package in LFS.</para>
[0882c90]133
[35f3cb4]134 </sect2>
[52d29f7]135
[35f3cb4]136 <sect2 role="content">
137 <title>Contents</title>
[0882c90]138
[35f3cb4]139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directories</segtitle>
[6587e936]143
[35f3cb4]144 <seglistitem>
145 <seg>cpio and mt</seg>
146 <seg>None</seg>
[d17e355]147 <seg>/usr/share/doc/cpio-&cpio-version;</seg>
[35f3cb4]148 </seglistitem>
149 </segmentedlist>
[6587e936]150
[35f3cb4]151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
[6587e936]155
[35f3cb4]156 <varlistentry id="cpio-prog">
157 <term><command>cpio</command></term>
158 <listitem>
159 <para>copies files to and from archives.</para>
160 <indexterm zone="cpio cpio-prog">
161 <primary sortas="b-cpio">cpio</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
[6587e936]165
[35f3cb4]166 <varlistentry id="mt">
167 <term><command>mt</command></term>
168 <listitem>
169 <para>controls magnetic tape drive operations.</para>
170 <indexterm zone="cpio mt">
171 <primary sortas="b-mt">mt</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
[0882c90]175
[35f3cb4]176 </variablelist>
177
178 </sect2>
[1df9017f]179
180</sect1>
Note: See TracBrowser for help on using the repository browser.