|
@@ -3,49 +3,54 @@
|
|
|
<sect2>
|
|
|
<title>Installation of E2fsprogs</title>
|
|
|
|
|
|
+<para>It is recommended to build E2fsprogs outside of the
|
|
|
+source tree. Create the build directory:</para>
|
|
|
+
|
|
|
+<para><screen><userinput>mkdir ../e2fsprogs-build &&
|
|
|
+cd ../e2fsprogs-build</userinput></screen></para>
|
|
|
+
|
|
|
<para>Prepare E2fsprogs to be compiled:</para>
|
|
|
|
|
|
-<para><screen><userinput>
|
|
|
-mkdir ../e2fsprogs-build &&
|
|
|
-cd ../e2fsprogs-build &&
|
|
|
-../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
|
|
- --enable-elf-shlibs
|
|
|
-</userinput></screen></para>
|
|
|
+<para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
|
|
+ --enable-elf-shlibs</userinput></screen></para>
|
|
|
|
|
|
-<para>Continue with compiling the package:</para>
|
|
|
+<para>The meaning of the configure options are:</para>
|
|
|
|
|
|
-<para><screen><userinput>make</userinput></screen></para>
|
|
|
+<itemizedlist>
|
|
|
|
|
|
-<para>And finish off installing the package:</para>
|
|
|
+<listitem><para><userinput>--with-root-prefix="":</userinput> This option
|
|
|
+is used because of the e2fsprogs Makefile. Some programs are essential for
|
|
|
+system use when, for example, <filename class="directory">/usr</filename>
|
|
|
+isn't mounted (like the e2fsck program). These programs and libraries,
|
|
|
+therefore, 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
|
|
|
+want.</para></listitem>
|
|
|
|
|
|
-<para><screen><userinput>
|
|
|
-make install &&
|
|
|
-make install-libs &&
|
|
|
-install-info /usr/share/info/libext2fs.info /usr/share/info/dir
|
|
|
-</userinput></screen></para>
|
|
|
+<listitem><para><userinput>--enable-elf-shlibs:</userinput> This creates
|
|
|
+the shared libraries which some programs in this package make use
|
|
|
+of.</para></listitem>
|
|
|
|
|
|
-</sect2>
|
|
|
+</itemizedlist>
|
|
|
|
|
|
-<sect2>
|
|
|
-<title>Command explanations</title>
|
|
|
+<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>
|
|
|
|
|
|
-<para><userinput>--with-root-prefix="":</userinput> The
|
|
|
-reason for supplying this option is because of the setup of the
|
|
|
-e2fsprogs Makefile. Some programs are essential for system use when,
|
|
|
-for example, /usr isn't mounted (like the e2fsck program). These
|
|
|
-programs and libraries, therefore, belong in directories like /lib and
|
|
|
-/sbin. If this option isn't passed to E2fsprogs's configure, it places
|
|
|
-these programs in /usr, which is not what we want.</para>
|
|
|
+<para>Install the shared libraries:</para>
|
|
|
|
|
|
-<para><userinput>--enable-elf-shlibs:</userinput> This creates shared
|
|
|
-libraries that some programs in this package can make use of.</para>
|
|
|
+<para><screen><userinput>make install-libs</userinput></screen></para>
|
|
|
|
|
|
-<para><userinput>make install-libs:</userinput> This installs the shared
|
|
|
-libraries that are built.</para>
|
|
|
+<para>Update the <filename>/usr/share/info/dir</filename> file to
|
|
|
+include E2fsprogs' info pages in the index:</para>
|
|
|
|
|
|
-<para><userinput>install-info...:</userinput> This updates the
|
|
|
-<filename>/usr/share/info/dir</filename> file to include this package's
|
|
|
-info pages to the index.</para>
|
|
|
+<para><screen><userinput>install-info /usr/share/info/libext2fs.info /usr/share/info/dir</userinput></screen></para>
|
|
|
|
|
|
</sect2>
|
|
|
|