From 4023fcbbd25dac230754eccac243dff1260a4c51 Mon Sep 17 00:00:00 2001 From: Marc Heerdink Date: Tue, 15 Jan 2002 18:43:06 +0000 Subject: [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 --- chapter06/file-exp.xml | 8 +++++--- chapter06/file-inst.xml | 3 +-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'chapter06') 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 @@ Command explanations -sed $'/#define __/a \\\n#include <stdint.h>' readelf.h.backup > readelf.h : This -sed fixes an error which occurs when compiling file-3.36 with -automake-1.5 installed. +touch aclocal.m4 configure Makefile.in stamp-h.in: +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. 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 @@ Install File by running the following commands: -cp readelf.h readelf.h.backup && -sed $'/#define __/a \\\n#include <stdint.h>' readelf.h.backup > readelf.h && +touch aclocal.m4 configure Makefile.in stamp-h.in && ./configure --prefix=/usr --datadir=/usr/share/misc && make && make install -- cgit v1.2.3-54-g00ecf