aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/m4-inst.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-07-22 19:45:10 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-07-22 19:45:10 +0000
commitb822811980a5f82726cb641cbeff66be9eb6d92a (patch)
tree27c4db3c62aaea065b053e43c39b2ba44c04a05f /chapter06/m4-inst.xml
parent46f5461af92bc70c62bbb92895032b930954d835 (diff)
XML changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@827 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/m4-inst.xml')
-rw-r--r--chapter06/m4-inst.xml48
1 files changed, 14 insertions, 34 deletions
diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml
index 3c20e2a6e..86371eaa5 100644
--- a/chapter06/m4-inst.xml
+++ b/chapter06/m4-inst.xml
@@ -1,20 +1,13 @@
<sect2>
<title>Installation of M4</title>
-<para>
-Install M4 by running the following commands:
-</para>
+<para>Install M4 by running the following commands:</para>
-<para>
-<screen>
-<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput>
-</screen>
-</para>
+<userinput>make install</userinput></screen></para>
-<para>
-If the base system is running a 2.0 kernel and the Glibc version is
+<para>If the base system is running a 2.0 kernel and the Glibc version is
2.1 then you will most likely get problems executing M4 in the
chroot'ed environment due to incompatibilities between the M4 program,
Glibc-2.1 and the running 2.0 kernel. If you have problems executing the
@@ -23,36 +16,23 @@ the autoconf and automake packages) you'll have to exit the chroot'ed
environment and compile M4 statically. This way the binary is linked
against Glibc 2.0 (if he runs kernel 2.0, Glibc version is 2.0 as
well on a decent system. Kernel 2.0 and Glibc-2.1 don't mix very well)
-and won't give any problems.
-</para>
+and won't give any problems.</para>
-<para>
-To create a statically linked version of M4, execute the following
-commands:
-</para>
+<para>To create a statically linked version of M4, execute the following
+commands:</para>
-<para>
-<screen>
-<userinput>logout</userinput>
+<para><screen><userinput>logout</userinput>
<userinput>cd $LFS/usr/src/m4-1.4</userinput>
<userinput>./configure --prefix=/usr</userinput>
<userinput>make LDFLAGS=-static</userinput>
-<userinput>make prefix=$LFS/usr install</userinput>
-</screen>
-</para>
+<userinput>make prefix=$LFS/usr install</userinput></screen></para>
-<para>
-Now the chroot'ed environment can be re-entered and the
+<para>Now the chroot'ed environment can be re-entered and the
next package an be installed. If M4 should be re-compiled dynamically,
-this can be done
-after having rebooted into the LFS system rather than chrooting into it.
-</para>
-
-<para>
-<screen>
-&c6-chrootcmd;
-</screen>
-</para>
+this can be done after having rebooted into the LFS system
+rather than chrooting into it.</para>
+
+<para><screen>&c6-chrootcmd;</screen></para>
</sect2>