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-17 04:31:55 +00:00
|
|
|
<para>Prepare E2fsprogs to be compiled:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-17 04:31:55 +00:00
|
|
|
<para><screen><userinput>
|
|
|
|
mkdir ../e2fsprogs-build &&
|
2002-01-30 16:11:56 +00:00
|
|
|
cd ../e2fsprogs-build &&
|
|
|
|
../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
2003-01-17 04:31:55 +00:00
|
|
|
--enable-elf-shlibs
|
|
|
|
</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>And finish off installing the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>
|
2001-10-27 23:21:44 +01:00
|
|
|
make install &&
|
2002-04-04 00:07:46 +01:00
|
|
|
make install-libs &&
|
2003-01-17 04:31:55 +00:00
|
|
|
install-info /usr/share/info/libext2fs.info /usr/share/info/dir
|
|
|
|
</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
|
|
|
<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><userinput>--enable-elf-shlibs:</userinput> This creates shared
|
|
|
|
libraries that some programs in this package can make use of.</para>
|
|
|
|
|
|
|
|
<para><userinput>make install-libs:</userinput> This installs the shared
|
|
|
|
libraries that are built.</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>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2003-01-17 04:31:55 +00:00
|
|
|
|