1 | <sect2><title> </title><para> </para></sect2>
|
---|
2 |
|
---|
3 | <sect2>
|
---|
4 | <title>Installation of E2fsprogs</title>
|
---|
5 |
|
---|
6 | <para>It is recommended to build E2fsprogs outside of the
|
---|
7 | source tree. Create the build directory:</para>
|
---|
8 |
|
---|
9 | <para><screen><userinput>mkdir ../e2fsprogs-build &&
|
---|
10 | cd ../e2fsprogs-build</userinput></screen></para>
|
---|
11 |
|
---|
12 | <para>Prepare E2fsprogs to be compiled:</para>
|
---|
13 |
|
---|
14 | <para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
---|
15 | --enable-elf-shlibs</userinput></screen></para>
|
---|
16 |
|
---|
17 | <para>The meaning of the configure options are:</para>
|
---|
18 |
|
---|
19 | <itemizedlist>
|
---|
20 |
|
---|
21 | <listitem><para><userinput>--with-root-prefix="":</userinput> This option
|
---|
22 | is used because of the e2fsprogs Makefile. Some programs are essential for
|
---|
23 | system use when, for example, <filename class="directory">/usr</filename>
|
---|
24 | isn't mounted (like the e2fsck program). These programs and libraries,
|
---|
25 | therefore, belong in directories like <filename
|
---|
26 | class="directory">/lib</filename> and <filename
|
---|
27 | class="directory">/sbin</filename>. If this option isn't passed to
|
---|
28 | E2fsprogs's configure, the programs are placed in the <filename
|
---|
29 | class="directory">/usr</filename> directory, which is not what we
|
---|
30 | want.</para></listitem>
|
---|
31 |
|
---|
32 | <listitem><para><userinput>--enable-elf-shlibs:</userinput> This creates
|
---|
33 | the shared libraries which some programs in this package make use
|
---|
34 | of.</para></listitem>
|
---|
35 |
|
---|
36 | </itemizedlist>
|
---|
37 |
|
---|
38 | <para>Continue with compiling the package:</para>
|
---|
39 |
|
---|
40 | <para><screen><userinput>make</userinput></screen></para>
|
---|
41 |
|
---|
42 | <para>Begin installing the package:</para>
|
---|
43 |
|
---|
44 | <para><screen><userinput>make install</userinput></screen></para>
|
---|
45 |
|
---|
46 | <para>Install the shared libraries:</para>
|
---|
47 |
|
---|
48 | <para><screen><userinput>make install-libs</userinput></screen></para>
|
---|
49 |
|
---|
50 | <para>Update the <filename>/usr/share/info/dir</filename> file to
|
---|
51 | include E2fsprogs' info pages in the index:</para>
|
---|
52 |
|
---|
53 | <para><screen><userinput>install-info /usr/share/info/libext2fs.info /usr/share/info/dir</userinput></screen></para>
|
---|
54 |
|
---|
55 | </sect2>
|
---|
56 |
|
---|
57 |
|
---|