%general-entities; ]> xz &xz-version;
&xz-url;
Xz-&xz-version; Xz tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter08/xz.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&xz-tmp-sbu;</seg> <seg>&xz-tmp-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Xz Prepare Xz for compilation: ./configure --prefix=/usr \ --host=$LFS_TGT \ --build=$(build-aux/config.guess) \ --disable-static \ ac_cv_prog_FILECMD=file \ --docdir=/usr/share/doc/xz-&xz-version; The meaning of the new configure options: ac_cv_prog_FILECMD=file Works around an issue in the shipped libtool copy causing the configure script fail to find the file command of the host distro. The issue is harmless for most architectures, but it can make --disable-static ineffective for MIPS. Compile the package: make Install the package: make DESTDIR=$LFS install Remove the libtool archive file because it is harmful for cross compilation: rm -v $LFS/usr/lib/liblzma.la <para>Details on this package are located in <xref linkend="contents-xz" role="."/></para> </sect2> </sect1>