Files
LFS_Book/chapter05/findutils.xml
Anton Maisak f5ab94b47a SYNC
Revision: 11443
Author: bdubbs
Date: 2 августа 2018 г. 22:04:22
Message:
Update to glibc-2.28.
Update to gdbm-1.17.
Update to linux-4.17.11.
Update to man-db-2.8.4.

----
Modified : /trunk/BOOK/chapter01/changelog.xml
Modified : /trunk/BOOK/chapter01/whatsnew.xml
Modified : /trunk/BOOK/chapter05/findutils.xml
Modified : /trunk/BOOK/chapter05/gzip.xml
Modified : /trunk/BOOK/chapter05/m4.xml
Modified : /trunk/BOOK/chapter06/findutils.xml
Modified : /trunk/BOOK/chapter06/glibc.xml
Modified : /trunk/BOOK/chapter06/gzip.xml
Modified : /trunk/BOOK/chapter06/m4.xml
Modified : /trunk/BOOK/chapter06/vim.xml
Modified : /trunk/BOOK/general.ent
Modified : /trunk/BOOK/packages.ent
2018-08-03 23:49:55 +03:00

77 lines
2.6 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!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;
]>
<sect1 id="ch-tools-findutils" role="wrap">
<?dbhtml filename="findutils.html"?>
<sect1info condition="script">
<productname>findutils</productname>
<productnumber>&findutils-version;</productnumber>
<address>&findutils-url;</address>
</sect1info>
<title>Findutils-&findutils-version;</title>
<indexterm zone="ch-tools-findutils">
<primary sortas="a-Findutils">Findutils</primary>
<secondary>tools</secondary>
</indexterm>
<sect2 role="package">
<title/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../chapter06/findutils.xml"
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&findutils-ch5-sbu;</seg>
<seg>&findutils-ch5-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Установка пакета Findutils</title>
<para>Сначала, сделаем некоторые исправления, требуемые glibc-2.28:</para>
<screen><userinput remap="pre">sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c
sed -i '/unistd/a #include &lt;sys/sysmacros.h&gt;' gl/lib/mountlist.c
echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h</userinput></screen>
<para>Подготовьте пакет Findutils к компиляции:</para>
<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
<para>Скомпилируйте пакет:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>Компиляция завершена. Как обсуждалось ранее выполнение тестов не является обязательным для набора временных инструментов в этой главе. Чтобы запустить выполнение тестов, в любом случае, выполните следующую команду:</para>
<screen><userinput remap="test">make check</userinput></screen>
<para>Установите пакет:</para>
<screen><userinput remap="install">make install</userinput></screen>
</sect2>
<sect2 role="content">
<title/>
<para>Подробная информация об этом пакете находится в
<xref linkend="contents-findutils" role="."/></para>
</sect2>
</sect1>