source: BOOK/boot/common/e2fsprogs.xml@ 16b653eb

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 16b653eb was 2beb5fd, checked in by Jim Gifford <clfs@…>, 18 years ago

Update to build to fix e2fsprogs GLIBC Error

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-e2fsprogs" role="wrap">
9 <?dbhtml filename="e2fsprogs.html"?>
10
11 <title>E2fsprogs-&e2fsprogs-version;</title>
12
13 <indexterm zone="ch-boot-e2fsprogs">
14 <primary sortas="a-E2fsprogs">E2fsprogs</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
[93adf44a]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/e2fsprogs.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of E2fsprogs</title>
24
[2beb5fd]25 <para os="s1">We will disable the building of the test progs. This
26 will prevent a glibc error during our build.</para>
27
28<screen os="s2"><userinput>cp Makefile.in{,.orig}
29sed -e 's@tests/progs@@g' Makefile.in.orig > Makefile.in </userinput></screen>
30
[3f8be484]31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="../../final-system/common/e2fsprogs.xml"
33 xpointer="xpointer(//*[@os='a'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../../final-system/common/e2fsprogs.xml"
37 xpointer="xpointer(//*[@os='b'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../../final-system/common/e2fsprogs.xml"
41 xpointer="xpointer(//*[@os='c'])"/>
42
[308a04c]43<screen os="aa"><userinput>../configure --prefix=/tools \
[6d8c4eb]44 --enable-elf-shlibs --disable-evms --with-cc=${CC} --with-linker=${LD} \
[07114c98]45 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
[3f8be484]46
[6bb43b3]47 <variablelist os="e">
[3f8be484]48 <title>The meaning of the configure options:</title>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../../final-system/common/e2fsprogs.xml"
[e0e40d3]52 xpointer="xpointer(//*[@os='e2'])"/>
[3f8be484]53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../../final-system/common/e2fsprogs.xml"
[e0e40d3]56 xpointer="xpointer(//*[@os='e3'])"/>
[3f8be484]57
58 </variablelist>
59
[eb55250]60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../../final-system/common/e2fsprogs.xml"
62 xpointer="xpointer(//*[@os='f'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../../final-system/common/e2fsprogs.xml"
66 xpointer="xpointer(//*[@os='g'])"/>
[3f8be484]67
[9680956]68 <para os="h">Install the binaries and documentation:</para>
[3f8be484]69
[3f76cac]70<screen os="i"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[9680956]71
72 <variablelist os="j">
73 <title>The meaning of the make option:</title>
74
75 <varlistentry>
[3f76cac]76 <term><parameter>DESTDIR=${CLFS}</parameter></term>
[9680956]77 <listitem>
78 <para>The Makefile for e2fsprogs hard-codes a path to the
[342c4cd]79 <filename>mke2fs.conf</filename> file, attempting to install it into
80 ${DESTDIR}/etc, causing the installation to fail as it tries to write
81 to /etc. The DESTDIR parameter prevents this.</para>
[9680956]82 </listitem>
83 </varlistentry>
84 </variablelist>
[3f8be484]85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../../final-system/common/e2fsprogs.xml"
88 xpointer="xpointer(//*[@os='k'])"/>
89
[7c419cd]90<screen os="l"><userinput>make DESTDIR=${CLFS} install-libs</userinput></screen>
[6bb43b3]91
[308a04c]92 <para os="ad">Create needed symlinks for a bootable system:</para>
[3f8be484]93
[3f76cac]94<screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${CLFS}/sbin</userinput></screen>
[3f8be484]95
96 </sect2>
97
98 <sect2 role="content">
99 <title/>
100
101 <para>Details on this package are located in <xref
102 linkend="contents-e2fsprogs" role="."/></para>
103
104 </sect2>
105
106</sect1>
Note: See TracBrowser for help on using the repository browser.