source: chapter05/e2fsprogs.xml@ d9ed5f37

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.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 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 d9ed5f37 was d35b7f3, checked in by Bruce Dubbs <bdubbs@…>, 15 years ago

Update to sed 4,2,1
Update to Linux 2.6.30.1
Correct GCC to use -fomit-frame-pointer
Add pkg-config
Remove --with-col from Man-DB
Move Util-Linux-NG to before E2fsprogs in Chapter 6
Update to e2fsprogs-1.41.7
Remove E2fsprogs in Chapter 5

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

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-tools-e2fsprogs" role="wrap">
9 <?dbhtml filename="e2fsprogs.html"?>
10
11 <sect1info condition="script">
12 <productname>e2fsprogs</productname>
13 <productnumber>&e2fsprogs-version;</productnumber>
14 <address>&e2fsprogs-url;</address>
15 </sect1info>
16
17 <title>E2fsprogs-&e2fsprogs-version;</title>
18
19 <indexterm zone="ch-tools-e2fsprogs">
20 <primary sortas="a-E2fsprogs">E2fsprogs</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../chapter06/e2fsprogs.xml"
28 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&e2fsprogs-ch5-sbu;</seg>
36 <seg>&e2fsprogs-ch5-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of E2fsprogs</title>
44
45 <para>The E2fsprogs documentation recommends that the package be built in
46 a subdirectory of the source tree: </para>
47
48<screen><userinput remap="pre">mkdir -v build
49cd build</userinput></screen>
50
51 <para>Fix a bug in E2fsprogs that prevents it from building against Util-Linux-NG's copy of <systemitem class="library">libuuid</systemitem>:</para>
52
53<screen><userinput remap="pre">cp -v ../MCONFIG.in{,.orig}
54 sed -e '82 s/LIBUUID/DEPLIBUUID/' ../MCONFIG.in.orig &gt; ../MCONFIG.in</userinput></screen>
55
56 <para>Prepare E2fsprogs for compilation:</para>
57
58<screen><userinput remap="configure">../configure --prefix=/tools --disable-libblkid --disable-libuuid</userinput></screen>
59
60 <variablelist>
61 <title>The meaning of the new configure option:</title>
62
63 <varlistentry>
64 <term><parameter>--disable-libblkid</parameter></term>
65 <listitem>
66 <para>This prevents E2fsprogs from building its own copy of the
67 libblkid library, which Util-Linux-NG provides.</para>
68 </listitem>
69 </varlistentry>
70
71 <varlistentry>
72 <term><parameter>--disable-libuuid</parameter></term>
73 <listitem>
74 <para>This prevents E2fsprogs from building its own copy of the
75 libuuid library, which Util-Linux-NG provides.</para>
76 </listitem>
77 </varlistentry>
78 </variablelist>
79
80 <para>Compile the package:</para>
81
82<screen><userinput remap="make">make</userinput></screen>
83
84 <para>Install the static libraries and headers required by Util-linux-ng:</para>
85
86<screen><userinput remap="install">make install-libs</userinput></screen>
87
88 <para>Make the installed static libraries writable so debugging symbols can
89 be removed later:</para>
90
91<screen><userinput remap="install">chmod -v u+w \
92 /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
93
94 </sect2>
95
96 <sect2 role="content">
97 <title/>
98
99 <para>Details on this package are located in
100 <xref linkend="contents-e2fsprogs" role="."/></para>
101 </sect2>
102
103</sect1>
Note: See TracBrowser for help on using the repository browser.