diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/file-exp.xml | 9 | ||||
-rw-r--r-- | chapter06/file-inst.xml | 5 | ||||
-rw-r--r-- | chapter06/file.xml | 1 |
3 files changed, 14 insertions, 1 deletions
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 @@ +<sect2> +<title>Command explanations</title> + +<para><userinput>sed '/#define __/a #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> + +</sect2> + 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 @@ <para>Install File by running the following commands:</para> -<para><screen><userinput>./configure --prefix=/usr --datadir=/usr/share/misc &&</userinput> +<para><screen><userinput>cp -f readelf.h readelf.h.backup &&</userinput> +<userinput>sed '/#define __/a \</userinput> +<userinput> #include <stdint.h>' readelf.h.backup > readelf.h &&</userinput> +<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &&</userinput> <userinput>make &&</userinput> <userinput>make install</userinput></screen></para> 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;</screen> &c6-file-inst; +&c6-file-exp; &aa-file-desc; </sect1> |