From 4023fcbbd25dac230754eccac243dff1260a4c51 Mon Sep 17 00:00:00 2001 From: Marc Heerdink Date: Tue, 15 Jan 2002 18:43:06 +0000 Subject: [PATCH] [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 --- chapter01/changelog.xml | 3 +++ chapter06/file-exp.xml | 8 +++++--- chapter06/file-inst.xml | 3 +-- index.xml | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 69547064f..27a933894 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -6,6 +6,9 @@ +January 15th, 2002 [marcheerdink]: Chapter 6 - file: changed +the installation instruction so the sed isn't nessecary anymore. + January 14th, 2002 [marcheerdink]: Changed the kernel header files installation in chapter 5 so it's a bit more portable. 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 diff --git a/index.xml b/index.xml index a4c5b9023..f1334d90c 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + +