diff options
author | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-01-15 18:43:06 +0000 |
---|---|---|
committer | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-01-15 18:43:06 +0000 |
commit | 4023fcbbd25dac230754eccac243dff1260a4c51 (patch) | |
tree | 50c4842fab0e26edb781f89c6909d7f8be54e12c /chapter06 | |
parent | d8fd804890d55908d65ae98b13ccf4ac85db95a4 (diff) |
[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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/file-exp.xml | 8 | ||||
-rw-r--r-- | chapter06/file-inst.xml | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/chapter06/file-exp.xml b/chapter06/file-exp.xml index 3e6043c89..b2a69083c 100644 --- a/chapter06/file-exp.xml +++ b/chapter06/file-exp.xml @@ -1,9 +1,11 @@ <sect2> <title>Command explanations</title> -<para><userinput>sed $'/#define __/a \\\n#include <stdint.h>' readelf.h.backup > 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> diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml index 01c4284f2..130bca387 100644 --- a/chapter06/file-inst.xml +++ b/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 && -sed $'/#define __/a \\\n#include <stdint.h>' readelf.h.backup > readelf.h && +<para><screen><userinput>touch aclocal.m4 configure Makefile.in stamp-h.in && ./configure --prefix=/usr --datadir=/usr/share/misc && make && make install</userinput></screen></para> |