source: chapter06/e2fsprogs.xml@ cd0c92d6

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since cd0c92d6 was cd0c92d6, checked in by Alex Gronenwoud <alex@…>, 20 years ago

Adding a touch of mtab before the running of Coreutils test suite.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3257 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<sect1 id="ch-system-e2fsprogs" xreflabel="E2fsprogs">
2<title>Installing E2fsprogs-&e2fsprogs-version;</title>
3<?dbhtml filename="e2fsprogs.html" dir="chapter06"?>
4
5<para>The E2fsprogs package contains the utilities for handling the ext2
6file system. It also supports the ext3 journaling file system.</para>
7
8<screen>&buildtime; &e2fsprogs-time;
9&diskspace; &e2fsprogs-compsize;</screen>
10
11&aa-e2fsprogs-down;
12&aa-e2fsprogs-dep;
13
14<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
15
16<sect2>
17<title>Installation of E2fsprogs</title>
18
19<para>It is recommended to build E2fsprogs outside of the
20source tree:</para>
21
22<screen><userinput>mkdir ../e2fsprogs-build
23cd ../e2fsprogs-build</userinput></screen>
24
25<para>Prepare E2fsprogs for compilation:</para>
26
27<screen><userinput>../&e2fsprogs-dir;/configure --prefix=/usr --with-root-prefix="" \
28&nbsp;&nbsp;&nbsp;&nbsp;--enable-elf-shlibs</userinput></screen>
29
30<para>The meaning of the configure options:</para>
31
32<itemizedlist>
33<listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
34programs (such as the e2fsck program) are considered essential programs.
35When, for example, <filename class="directory">/usr</filename> isn't
36mounted, these essential programs have to be available. They belong in
37directories like <filename class="directory">/lib</filename> and
38<filename class="directory">/sbin</filename>. If this option isn't passed
39to E2fsprogs's configure, the programs are placed in the
40<filename class="directory">/usr</filename> directory, which is not what we
41want.</para></listitem>
42
43<listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
44the shared libraries which some programs in this package make use
45of.</para></listitem>
46</itemizedlist>
47
48<para>Compile the package:</para>
49
50<screen><userinput>make</userinput></screen>
51
52<para>If you wish to have the results tested, first make sure an mtab file
53exists with <userinput>touch /etc/mtab</userinput> to prevent some sixty tests
54from failing, and (if it doesn't already exist) fake the presence of an old
55pager with <userinput>ln -s /tools/bin/cat /bin/more</userinput> to prevent one
56test from failing, then issue: <userinput>make check</userinput>.</para>
57
58<para>Install most of the package:</para>
59
60<screen><userinput>make install</userinput></screen>
61
62<para>And install also the shared libraries:</para>
63
64<screen><userinput>make install-libs</userinput></screen>
65
66</sect2>
67
68
69&aa-e2fsprogs-shortdesc;
70&aa-e2fsprogs-desc;
71
72</sect1>
73
Note: See TracBrowser for help on using the repository browser.