1 | <sect1 id="ch06-e2fsprogs">
|
---|
2 | <title>Installing E2fsprogs-&e2fsprogs-version;</title>
|
---|
3 | <?dbhtml filename="e2fsprogs.html" dir="chapter06"?>
|
---|
4 |
|
---|
5 | <screen>Estimated build time: &e2fsprogs-time;
|
---|
6 | Estimated required disk space: &e2fsprogs-compsize;</screen>
|
---|
7 |
|
---|
8 | &aa-e2fsprogs-shortdesc;
|
---|
9 | &aa-e2fsprogs-dep;
|
---|
10 |
|
---|
11 | <sect2><title> </title><para> </para></sect2>
|
---|
12 |
|
---|
13 | <sect2>
|
---|
14 | <title>Installation of E2fsprogs</title>
|
---|
15 |
|
---|
16 | <para>It is recommended to build E2fsprogs outside of the
|
---|
17 | source tree:</para>
|
---|
18 |
|
---|
19 | <screen><userinput>mkdir ../e2fsprogs-build
|
---|
20 | cd ../e2fsprogs-build</userinput></screen>
|
---|
21 |
|
---|
22 | <para>Prepare E2fsprogs for compilation:</para>
|
---|
23 |
|
---|
24 | <screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
---|
25 | --enable-elf-shlibs</userinput></screen>
|
---|
26 |
|
---|
27 | <para>The meaning of the configure options:</para>
|
---|
28 |
|
---|
29 | <itemizedlist>
|
---|
30 | <listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
|
---|
31 | programs (such as the e2fsck program) are considered essential programs.
|
---|
32 | When, for example, <filename class="directory">/usr</filename> isn't
|
---|
33 | mounted, these essential programs have to be available. They belong in
|
---|
34 | directories like <filename class="directory">/lib</filename> and
|
---|
35 | <filename class="directory">/sbin</filename>. If this option isn't passed
|
---|
36 | to E2fsprogs's configure, the programs are placed in the
|
---|
37 | <filename class="directory">/usr</filename> directory, which is not what we
|
---|
38 | want.</para></listitem>
|
---|
39 |
|
---|
40 | <listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
|
---|
41 | the shared libraries which some programs in this package make use
|
---|
42 | of.</para></listitem>
|
---|
43 | </itemizedlist>
|
---|
44 |
|
---|
45 | <para>Compile the package:</para>
|
---|
46 |
|
---|
47 | <screen><userinput>make</userinput></screen>
|
---|
48 |
|
---|
49 | <para>This package has a test suite available which can perform a number of
|
---|
50 | checks to ensure it built correctly. Should you choose to run it, the
|
---|
51 | following command will do so:</para>
|
---|
52 |
|
---|
53 | <screen><userinput>make check</userinput></screen>
|
---|
54 |
|
---|
55 | <para>Install most of the package:</para>
|
---|
56 |
|
---|
57 | <screen><userinput>make install</userinput></screen>
|
---|
58 |
|
---|
59 | <para>And install also the shared libraries:</para>
|
---|
60 |
|
---|
61 | <screen><userinput>make install-libs</userinput></screen>
|
---|
62 |
|
---|
63 | </sect2>
|
---|
64 |
|
---|
65 |
|
---|
66 | </sect1>
|
---|
67 |
|
---|