Files
LFS_Book/chapter06/automake.xml
Anton Maisak bade6ab201 SYNC - Revision: 11449
Author: bdubbs
Date: 14 августа 2018 г. 2:29:05
Message:
Update to linux-4.18.
Update build space and time values for all packages.

----
Modified : /trunk/BOOK/chapter01/changelog.xml
Modified : /trunk/BOOK/chapter06/automake.xml
Modified : /trunk/BOOK/general.ent
Modified : /trunk/BOOK/packages.ent
2018-08-14 22:11:30 +03:00

145 lines
6.1 KiB
XML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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-system-automake" role="wrap">
<?dbhtml filename="automake.html"?>
<sect1info condition="script">
<productname>automake</productname>
<productnumber>&automake-version;</productnumber>
<address>&automake-url;</address>
</sect1info>
<title>Automake-&automake-version;</title>
<indexterm zone="ch-system-automake">
<primary sortas="a-Automake">Automake</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>Программы для создания файлов Makefile для использования его программой Autoconf. Он также необходим для повторной компиляции пакета после обновления процедур сборки.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&automake-ch6-sbu;</seg>
<seg>&automake-ch6-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Установка пакета Automake</title>
<para>Подготовьте пакет Automake к компиляции:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
<para>Скомпилируйте пакет:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>Есть несколько тестов, которые ссылаются на
     неправильную версию библиотеки flex, поэтому мы временно работаем над этой
     проблемой. Кроме того, использование опции -j4 make ускоряет тесты, даже на
     системах с одним процессором из-за внутренних задержек в отдельных
     тестах.Для выполнения тестов, выполните команду:</para>
<para> Using the -j4 make option speeds up the tests, even on systems with
only one processor, due to internal delays in individual tests. To test
the results, issue:</para>
<screen><userinput remap="test">make -j4 check</userinput></screen>
<para>Один тест завершится с ошибкой, при его выполнении в окружении LFS:
subobj.sh.</para>
<para>Известно, что два теста не пройдут в среде LFS: check12.sh and check12-w.sh.</para>
<para>Установите пакет:</para>
<screen><userinput remap="install">make install</userinput></screen>
</sect2>
<sect2 id="contents-automake" role="content">
<title>Содержимое пакета Automake</title>
<segmentedlist>
<segtitle>Установленные программы</segtitle>
<segtitle>Установленные каталоги</segtitle>
<seglistitem>
<seg>aclocal, aclocal-&am-minor-version; (жесткая ссылка на aclocal), automake, и
automake-&am-minor-version; (жесткая ссылка на automake) </seg>
<seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, и
/usr/share/doc/automake-&automake-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Краткое описание</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="aclocal">
<term><command>aclocal</command></term>
<listitem>
<para>Формирует файлы <filename>aclocal.m4</filename> на основе содержимого файла <filename>configure.in</filename></para>
<indexterm zone="ch-system-automake aclocal">
<primary sortas="b-aclocal">aclocal</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="aclocalversion">
<term><command>aclocal-&am-minor-version;</command></term>
<listitem>
<para>Жесткая ссылка на <command>aclocal</command></para>
<indexterm zone="ch-system-automake aclocalversion">
<primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="automake">
<term><command>automake</command></term>
<listitem>
<para>Инструмент для автоматического создания файлов
<filename>Makefile.in</filename> из файлов
<filename>Makefile.am</filename> [Чтобы создать файлы
<filename>Makefile.in</filename> для пакета, запустите программу в вышестоящем каталоге. Сканируя файл
<filename>configure.in</filename>, выполняется автоматический поиск каждого подходящего файла
<filename>Makefile.am</filename> и формирование соответствующего файла<filename>Makefile.in</filename>.]</para>
<indexterm zone="ch-system-automake automake">
<primary sortas="b-automake">automake</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="automake-version">
<term><command>automake-&am-minor-version;</command></term>
<listitem>
<para>Жесткая ссылка на <command>automake</command></para>
<indexterm zone="ch-system-automake automake-version">
<primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>