[bc91669] | 1 | <sect2><title> </title><para> </para></sect2>
|
---|
| 2 |
|
---|
[6370fa6] | 3 | <sect2>
|
---|
| 4 | <title>Installation of E2fsprogs</title>
|
---|
| 5 |
|
---|
[9930287] | 6 | <para>It is recommended to build E2fsprogs outside of the
|
---|
[4f8a3af9] | 7 | source tree:</para>
|
---|
[9930287] | 8 |
|
---|
[4a7a683] | 9 | <para><screen><userinput>mkdir ../e2fsprogs-build
|
---|
[9930287] | 10 | cd ../e2fsprogs-build</userinput></screen></para>
|
---|
| 11 |
|
---|
[89fcc34] | 12 | <para>Prepare E2fsprogs for compilation:</para>
|
---|
[6370fa6] | 13 |
|
---|
[9930287] | 14 | <para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
---|
| 15 | --enable-elf-shlibs</userinput></screen></para>
|
---|
[bc91669] | 16 |
|
---|
[087e584] | 17 | <para>The meaning of the configure options:</para>
|
---|
[bc91669] | 18 |
|
---|
[9930287] | 19 | <itemizedlist>
|
---|
[e4b9338] | 20 | <listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
|
---|
[4f8a3af9] | 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
|
---|
[9930287] | 28 | want.</para></listitem>
|
---|
[bc91669] | 29 |
|
---|
[e4b9338] | 30 | <listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
|
---|
[9930287] | 31 | the shared libraries which some programs in this package make use
|
---|
| 32 | of.</para></listitem>
|
---|
| 33 | </itemizedlist>
|
---|
[bc91669] | 34 |
|
---|
[89fcc34] | 35 | <para>Compile the package:</para>
|
---|
[9930287] | 36 |
|
---|
| 37 | <para><screen><userinput>make</userinput></screen></para>
|
---|
| 38 |
|
---|
[0841437] | 39 | <para>This package has a testsuite 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>
|
---|
[89fcc34] | 42 |
|
---|
[4a7a683] | 43 | <para><screen><userinput>make check</userinput></screen></para>
|
---|
| 44 |
|
---|
[89fcc34] | 45 | <para>Install most of the package:</para>
|
---|
[9930287] | 46 |
|
---|
| 47 | <para><screen><userinput>make install</userinput></screen></para>
|
---|
[bc91669] | 48 |
|
---|
[89fcc34] | 49 | <para>And install also the shared libraries:</para>
|
---|
[bc91669] | 50 |
|
---|
[9930287] | 51 | <para><screen><userinput>make install-libs</userinput></screen></para>
|
---|
[bc91669] | 52 |
|
---|
[6370fa6] | 53 | </sect2>
|
---|
| 54 |
|
---|
[bc91669] | 55 |
|
---|