2024-01-18 19:53:23 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-01-02 06:45:50 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<sect1 id="ch-tools-xz" role="wrap">
|
2014-02-18 18:46:43 +00:00
|
|
|
<?dbhtml filename="xz.html"?>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
|
|
|
<sect1info condition="script">
|
2014-02-18 18:46:43 +00:00
|
|
|
<productname>xz</productname>
|
2011-01-02 06:45:50 +00:00
|
|
|
<productnumber>&xz-version;</productnumber>
|
|
|
|
<address>&xz-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Xz-&xz-version;</title>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<indexterm zone="ch-tools-xz">
|
2011-01-02 06:45:50 +00:00
|
|
|
<primary sortas="a-xz">Xz</primary>
|
2020-06-07 21:16:00 +01:00
|
|
|
<secondary>tools</secondary>
|
2011-01-02 06:45:50 +00:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../chapter08/xz.xml"
|
|
|
|
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2020-06-11 13:55:28 +01:00
|
|
|
<seg>&xz-tmp-sbu;</seg>
|
|
|
|
<seg>&xz-tmp-du;</seg>
|
2011-01-02 06:45:50 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Xz</title>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<para>Prepare Xz for compilation:</para>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
|
|
--host=$LFS_TGT \
|
|
|
|
--build=$(build-aux/config.guess) \
|
|
|
|
--disable-static \
|
2015-03-15 23:29:31 +00:00
|
|
|
--docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<para>Compile the package:</para>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<para>Install the package:</para>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
2022-08-19 05:41:48 +01:00
|
|
|
<para>Remove the libtool archive file because it is harmful for cross
|
|
|
|
compilation:</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="install">rm -v $LFS/usr/lib/liblzma.la</userinput></screen>
|
|
|
|
|
2011-01-02 06:45:50 +00:00
|
|
|
</sect2>
|
|
|
|
|
2020-06-07 21:16:00 +01:00
|
|
|
<sect2 role="content">
|
|
|
|
<title/>
|
2020-06-10 21:44:16 +01:00
|
|
|
<para>Details on this package are located in <xref linkend="contents-xz" role="."/></para>
|
2011-01-02 06:45:50 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|