From efcb3933433838b71f3a4a53ec1ac6d899aaec0b Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 3 May 2020 21:02:51 +0000 Subject: Make the new book git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/xz.xml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'chapter05/xz.xml') diff --git a/chapter05/xz.xml b/chapter05/xz.xml index ea1ea4966..83e4a96d6 100644 --- a/chapter05/xz.xml +++ b/chapter05/xz.xml @@ -45,29 +45,32 @@ Prepare Xz for compilation: -./configure --prefix=/tools +./configure --prefix=/usr \ + --host=$LFS_TGT \ + --build=$(build-aux/config.guess) \ + --disable-static \ + --docdir=/usr/share/doc/xz-&xz-version; Compile the package: make - 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 Xz test suite anyway, issue the following command: + Install the package: -make check +make DESTDIR=$LFS install - Install the package: + Make sure that all essential files are in the correct directory: -make install +mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} $LFS/bin +mv -v $LFS/usr/lib/liblzma.so.* $LFS/lib +ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so - - <para>Details on this package are located in - <xref linkend="contents-xz" role="."/></para> + <para>Details on this package are located in<!-- TODO + <xref linkend="contents-xz" role="."/> --></para> </sect2> -- cgit v1.2.3-54-g00ecf