Fix statusproc in init-functions
[linux_from_scratch.git] / chapter05 / e2fsprogs.xml
bloba8f111b144d0b1c97c052fb72124c213cc7b4b95
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4   <!ENTITY % general-entities SYSTEM "../general.ent">
5   %general-entities;
6 ]>
8 <sect1 id="ch-tools-e2fsprogs" role="wrap">
9   <?dbhtml filename="e2fsprogs.html"?>
11   <sect1info condition="script">
12     <productname>e2fsprogs</productname>
13     <productnumber>&e2fsprogs-version;</productnumber>
14     <address>&e2fsprogs-url;</address>
15   </sect1info>
17   <title>E2fsprogs-&e2fsprogs-version;</title>
19   <indexterm zone="ch-tools-e2fsprogs">
20     <primary sortas="a-E2fsprogs">E2fsprogs</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
27     href="../chapter06/e2fsprogs.xml"
28     xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
30     <segmentedlist>
31       <segtitle>&buildtime;</segtitle>
32       <segtitle>&diskspace;</segtitle>
34       <seglistitem>
35         <seg>&e2fsprogs-ch5-sbu;</seg>
36         <seg>&e2fsprogs-ch5-du;</seg>
37       </seglistitem>
38     </segmentedlist>
40   </sect2>
42   <sect2 role="installation">
43     <title>Installation of E2fsprogs</title>
45     <para>The E2fsprogs documentation recommends that the package be built in
46     a subdirectory of the source tree: </para>
48 <screen><userinput remap="pre">mkdir -v build
49 cd build</userinput></screen>
51     <para>Prepare E2fsprogs for compilation:</para>
53 <screen><userinput remap="configure">../configure --prefix=/tools --disable-libblkid --disable-libuuid</userinput></screen>
55     <variablelist>
56       <title>The meaning of the new configure option:</title>
58       <varlistentry>
59         <term><parameter>--disable-libblkid</parameter></term>
60         <listitem>
61           <para>This prevents E2fsprogs from building its own copy of the
62           libblkid library, which Util-Linux-NG provides.</para>
63         </listitem>
64       </varlistentry>
66       <varlistentry>
67         <term><parameter>--disable-libuuid</parameter></term>
68         <listitem>
69           <para>This prevents E2fsprogs from building its own copy of the
70           libuuid library, which Util-Linux-NG provides.</para>
71         </listitem>
72       </varlistentry>
73     </variablelist>
75     <para>Compile the package:</para>
77 <screen><userinput remap="make">make</userinput></screen>
79     <para>Install the static libraries and headers required by Util-linux:</para>
81 <screen><userinput remap="install">make install-libs</userinput></screen>
83     <para>Make the installed static libraries writable so debugging symbols can 
84     be removed later:</para>
86 <screen><userinput remap="install">chmod -v u+w \
87     /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
89   </sect2>
91   <sect2 role="content">
92     <title/>
94     <para>Details on this package are located in
95     <xref linkend="contents-e2fsprogs" role="."/></para>
96   </sect2>
98 </sect1>