Changeset efcb393 for chapter05/xz.xml


Ignore:
Timestamp:
05/03/2020 09:02:51 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a715dec
Parents:
9d719e2
Message:

Make the new book

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/xz.xml

    r9d719e2 refcb393  
    4646    <para>Prepare Xz for compilation:</para>
    4747
    48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/usr                     \
     49            --host=$LFS_TGT                   \
     50            --build=$(build-aux/config.guess) \
     51            --disable-static                  \
     52            --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
    4953
    5054   <para>Compile the package:</para>
     
    5256<screen><userinput remap="make">make</userinput></screen>
    5357
    54     <para>Compilation is now complete. As discussed earlier, running the test
    55     suite is not mandatory for the temporary tools here in this chapter. To run
    56     the Xz test suite anyway, issue the following command:</para>
    57 
    58 <screen><userinput remap="test">make check</userinput></screen>
    59 
    6058    <para>Install the package:</para>
    6159
    62 <screen><userinput remap="install">make install</userinput></screen>
     60<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
     61
     62    <para>Make sure that all essential files are in the correct directory:</para>
     63
     64<screen><userinput remap="install">mv -v   $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} $LFS/bin
     65mv -v $LFS/usr/lib/liblzma.so.* $LFS/lib
     66ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput></screen>
    6367
    6468  </sect2>
     
    6670  <sect2 role="content">
    6771    <title/>
    68 
    69     <para>Details on this package are located in
    70     <xref linkend="contents-xz" role="."/></para>
     72    <para>Details on this package are located in<!-- TODO
     73    <xref linkend="contents-xz" role="."/>      --></para>
    7174
    7275  </sect2>
Note: See TracChangeset for help on using the changeset viewer.