Ver código fonte

[200] The installation instructions for file were changed for using touch to avoid the sed command.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1433 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Marc Heerdink 23 anos atrás
pai
commit
4023fcbbd2
4 arquivos alterados com 11 adições e 7 exclusões
  1. 3 0
      chapter01/changelog.xml
  2. 5 3
      chapter06/file-exp.xml
  3. 1 2
      chapter06/file-inst.xml
  4. 2 2
      index.xml

+ 3 - 0
chapter01/changelog.xml

@@ -6,6 +6,9 @@
 
 <itemizedlist>
 
+<listitem><para>January 15th, 2002 [marcheerdink]: Chapter 6 - file: changed
+the installation instruction so the sed isn't nessecary anymore.</para></listitem>
+
 <listitem><para>January 14th, 2002 [marcheerdink]: Changed the kernel header
 files installation in chapter 5 so it's a bit more portable.</para></listitem>
 

+ 5 - 3
chapter06/file-exp.xml

@@ -1,9 +1,11 @@
 <sect2>
 <title>Command explanations</title>
 
-<para><userinput>sed $'/#define __/a \\\n#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>
+<para><userinput>touch aclocal.m4 configure Makefile.in stamp-h.in</userinput>:
+This command works around an error which occurs when compiling file with
+automake-1.5 installed by changing the modification dates of some files to
+the current date. Changing the date will cause make to think the files are
+already up-to-date so they're not recreated.</para>
 
 </sect2>
 

+ 1 - 2
chapter06/file-inst.xml

@@ -3,8 +3,7 @@
 
 <para>Install File by running the following commands:</para>
 
-<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;
-sed $'/#define __/a \\\n#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;
+<para><screen><userinput>touch aclocal.m4 configure Makefile.in stamp-h.in &amp;&amp;
 ./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;
 make &amp;&amp;
 make install</userinput></screen></para>

+ 2 - 2
index.xml

@@ -4,8 +4,8 @@
 
 <!ENTITY book SYSTEM "book/book.xml">
 
-<!ENTITY version "20020114">
-<!ENTITY releasedate "January 14th, 2002">
+<!ENTITY version "20020115">
+<!ENTITY releasedate "January 15th, 2002">
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">