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