aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-25 22:26:24 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-25 22:26:24 +0000
commitd68932f763273a172f3470c437790eb433349a49 (patch)
tree370affb841fbacd0ed268357f0498c1a2037c6e8
parent8cc67e921e331e86c3903f019db66acf417f5d53 (diff)
[Bug 144] Fix file-3.36 / automake-1.5 problem
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1044 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/file-exp.xml9
-rw-r--r--chapter06/file-inst.xml5
-rw-r--r--chapter06/file.xml1
-rw-r--r--index.xml1
4 files changed, 15 insertions, 1 deletions
diff --git a/chapter06/file-exp.xml b/chapter06/file-exp.xml
new file mode 100644
index 000000000..506520f98
--- /dev/null
+++ b/chapter06/file-exp.xml
@@ -0,0 +1,9 @@
+<sect2>
+<title>Command explanations</title>
+
+<para><userinput>sed '/#define __/a #include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h :</userinput> This
+sed fixes an error which occurs when compiling file-3.36 with
+automake-1.5 installed.</para>
+
+</sect2>
+
diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml
index f300117e4..7281dcb5a 100644
--- a/chapter06/file-inst.xml
+++ b/chapter06/file-inst.xml
@@ -3,7 +3,10 @@
<para>Install File by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;</userinput>
+<para><screen><userinput>cp -f readelf.h readelf.h.backup &amp;&amp;</userinput>
+<userinput>sed '/#define __/a \</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;</userinput>
+<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>
diff --git a/chapter06/file.xml b/chapter06/file.xml
index 485817661..08d87497c 100644
--- a/chapter06/file.xml
+++ b/chapter06/file.xml
@@ -5,6 +5,7 @@
Estimated required disk space: &file-compsize;</screen>
&c6-file-inst;
+&c6-file-exp;
&aa-file-desc;
</sect1>
diff --git a/index.xml b/index.xml
index ac472efc2..dd27ef336 100644
--- a/index.xml
+++ b/index.xml
@@ -241,6 +241,7 @@
<!ENTITY c6-e2fsprogs-inst SYSTEM "chapter6/e2fsprogs-inst.xml">
<!ENTITY c6-file SYSTEM "chapter6/file.xml">
<!ENTITY c6-file-inst SYSTEM "chapter6/file-inst.xml">
+<!ENTITY c6-file-exp SYSTEM "chapter6/file-exp.xml">
<!ENTITY c6-fileutils SYSTEM "chapter6/fileutils.xml">
<!ENTITY c6-fileutils-inst SYSTEM "chapter6/fileutils-inst.xml">
<!ENTITY c6-gettext SYSTEM "chapter6/gettext.xml">