Changeset efcb393 for chapter05/xz.xml
- Timestamp:
- 05/03/2020 09:02:51 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/xz.xml
r9d719e2 refcb393 46 46 <para>Prepare Xz for compilation:</para> 47 47 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> 49 53 50 54 <para>Compile the package:</para> … … 52 56 <screen><userinput remap="make">make</userinput></screen> 53 57 54 <para>Compilation is now complete. As discussed earlier, running the test55 suite is not mandatory for the temporary tools here in this chapter. To run56 the Xz test suite anyway, issue the following command:</para>57 58 <screen><userinput remap="test">make check</userinput></screen>59 60 58 <para>Install the package:</para> 61 59 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 65 mv -v $LFS/usr/lib/liblzma.so.* $LFS/lib 66 ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput></screen> 63 67 64 68 </sect2> … … 66 70 <sect2 role="content"> 67 71 <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> 71 74 72 75 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.