2003-01-17 04:31:55 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of E2fsprogs</title>
|
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>It is recommended to build E2fsprogs outside of the
|
2003-01-28 01:17:02 +00:00
|
|
|
source tree:</para>
|
2003-01-19 15:36:47 +00:00
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>mkdir ../e2fsprogs-build
|
2003-01-19 15:36:47 +00:00
|
|
|
cd ../e2fsprogs-build</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Prepare E2fsprogs for compilation:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
|
|
|
--enable-elf-shlibs</userinput></screen></para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-08-31 11:50:05 +01:00
|
|
|
<para>The meaning of the configure options:</para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<itemizedlist>
|
2003-02-03 23:24:24 +00:00
|
|
|
<listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
|
2003-01-28 01:17:02 +00:00
|
|
|
programs (such as the e2fsck program) are considered essential programs.
|
|
|
|
When, for example, <filename class="directory">/usr</filename> isn't
|
|
|
|
mounted, these essential program have to be available. They belong in
|
|
|
|
directories like <filename class="directory">/lib</filename> and
|
|
|
|
<filename class="directory">/sbin</filename>. If this option isn't passed
|
|
|
|
to E2fsprogs's configure, the programs are placed in the
|
|
|
|
<filename class="directory">/usr</filename> directory, which is not what we
|
2003-01-19 15:36:47 +00:00
|
|
|
want.</para></listitem>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-02-03 23:24:24 +00:00
|
|
|
<listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
|
2003-01-19 15:36:47 +00:00
|
|
|
the shared libraries which some programs in this package make use
|
|
|
|
of.</para></listitem>
|
|
|
|
</itemizedlist>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Compile the package:</para>
|
2003-01-19 15:36:47 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
2003-09-11 21:07:44 +01:00
|
|
|
<para>This package has a testsuite available which can perform a number of
|
|
|
|
checks to ensure it built correctly. Should you choose to run it, the
|
|
|
|
following command will do so:</para>
|
2003-08-30 00:20:23 +01:00
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>make check</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Install most of the package:</para>
|
2003-01-19 15:36:47 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>And install also the shared libraries:</para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>make install-libs</userinput></screen></para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|
2003-01-17 04:31:55 +00:00
|
|
|
|