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