diff options
Diffstat (limited to 'chapter05/gzip.xml')
-rw-r--r-- | chapter05/gzip.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/chapter05/gzip.xml b/chapter05/gzip.xml index 44b25faf7..e9bdd3bd8 100644 --- a/chapter05/gzip.xml +++ b/chapter05/gzip.xml @@ -45,21 +45,19 @@ <para>Prepare Gzip for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen> <para>Compile the package:</para> <screen><userinput remap="make">make</userinput></screen> - <para>Compilation is now complete. As discussed earlier, running the test - suite is not mandatory for the temporary tools here in this chapter. To run - the Gzip test suite anyway, issue the following command:</para> + <para>Install the package:</para> -<screen><userinput remap="test">make check</userinput></screen> +<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> - <para>Install the package:</para> + <para>Move the excutable to its final expected location:</para> -<screen><userinput remap="install">make install</userinput></screen> +<screen><userinput remap="install">mv -v $LFS/usr/bin/gzip $LFS/bin</userinput></screen> </sect2> |