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
|
|
|
|
|
|
|
<para><screen><userinput>mkdir ../e2fsprogs-build &&
|
|
|
|
cd ../e2fsprogs-build</userinput></screen></para>
|
|
|
|
|
2003-01-17 04:31:55 +00:00
|
|
|
<para>Prepare E2fsprogs to be compiled:</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-01-19 15:36:47 +00:00
|
|
|
<para>The meaning of the configure options are:</para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<itemizedlist>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
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>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
</itemizedlist>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Begin installing the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>Install 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
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>Update the <filename>/usr/share/info/dir</filename> file to
|
|
|
|
include E2fsprogs' info pages in the index:</para>
|
2003-01-17 04:31:55 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>install-info /usr/share/info/libext2fs.info /usr/share/info/dir</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2003-01-17 04:31:55 +00:00
|
|
|
|