From d68932f763273a172f3470c437790eb433349a49 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 25 Aug 2001 22:26:24 +0000 Subject: [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 --- chapter06/file-exp.xml | 9 +++++++++ chapter06/file-inst.xml | 5 ++++- chapter06/file.xml | 1 + index.xml | 1 + 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 chapter06/file-exp.xml 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 @@ + +Command explanations + +sed '/#define __/a #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. + + + 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 @@ Install File by running the following commands: -./configure --prefix=/usr --datadir=/usr/share/misc && +cp -f readelf.h readelf.h.backup && +sed '/#define __/a \ +   #include <stdint.h>' readelf.h.backup > readelf.h && +./configure --prefix=/usr --datadir=/usr/share/misc && make && make install 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; &c6-file-inst; +&c6-file-exp; &aa-file-desc; diff --git a/index.xml b/index.xml index ac472efc2..dd27ef336 100644 --- a/index.xml +++ b/index.xml @@ -241,6 +241,7 @@ + -- cgit v1.2.3-54-g00ecf