diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/binutils-pass2.xml | 3 | ||||
-rw-r--r-- | chapter06/file.xml | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml index 9361c6717..4cd09fc88 100644 --- a/chapter06/binutils-pass2.xml +++ b/chapter06/binutils-pass2.xml @@ -87,7 +87,8 @@ cd build</userinput></screen> <para>Install the package:</para> -<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> +<screen><userinput remap="install">make DESTDIR=$LFS install +install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen> <para> Workaround an issue causing diff --git a/chapter06/file.xml b/chapter06/file.xml index 0d00a1848..f46f3295d 100644 --- a/chapter06/file.xml +++ b/chapter06/file.xml @@ -43,6 +43,16 @@ <sect2 role="installation"> <title>Installation of File</title> + <para>The build host <quote>file</quote> command iwith the same version as + the one we are building is needed for building the signature file. Run the + following commands to build it:</para> + +<screen><userinput remap="pre">mkdir build +pushd build +../configure +make +popd</userinput></screen> + <para>Prepare File for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen> @@ -54,7 +64,7 @@ cross-compiling, and use the just built "file". --> <para>Compile the package:</para> -<screen><userinput remap="make">make</userinput></screen> +<screen><userinput remap="make">make FILE_COMPILE=$(pwd)/build/src/file</userinput></screen> <para>Install the package:</para> |