Update to Python-3.8.2.
[linux_from_scratch.git] / chapter05 / make.xml
blob205ae5f156c2bfc7e76fa4e38ab0529a25ff54ba
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4   <!ENTITY % general-entities SYSTEM "../general.ent">
5   %general-entities;
6 ]>
7 <sect1 id="ch-tools-make" role="wrap">
8   <?dbhtml filename="make.html"?>
10   <sect1info condition="script">
11     <productname>make</productname>
12     <productnumber>&make-version;</productnumber>
13     <address>&make-url;</address>
14   </sect1info>
16   <title>Make-&make-version;</title>
18   <indexterm zone="ch-tools-make">
19     <primary sortas="a-Make">Make</primary>
20     <secondary>tools</secondary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
27     href="../chapter06/make.xml"
28     xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
30     <segmentedlist>
31       <segtitle>&buildtime;</segtitle>
32       <segtitle>&diskspace;</segtitle>
34       <seglistitem>
35         <seg>&make-ch5-sbu;</seg>
36         <seg>&make-ch5-du;</seg>
37       </seglistitem>
38     </segmentedlist>
40   </sect2>
42   <sect2 role="installation">
43     <title>Installation of Make</title>
44 <!--
45     <para>First, work around an error caused by glibc-2.27 and later:</para>
47 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
48 -->
49     <para>Prepare Make for compilation:</para>
51 <screen><userinput remap="configure">./configure --prefix=/tools --without-guile</userinput></screen>
53     <variablelist>
54       <title>The meaning of the configure option:</title>
56       <varlistentry>
57         <term><parameter>--without-guile</parameter></term>
58         <listitem>
59           <para>This ensures that Make-&make-version; won't link against Guile libraries, which
60           may be present on the host system, but won't be available within the
61           <command>chroot</command> environment in the next chapter.</para>
62         </listitem>
63       </varlistentry>
64     </variablelist>
66     <para>Compile the package:</para>
68 <screen><userinput remap="make">make</userinput></screen>
70     <para>Compilation is now complete. As discussed earlier, running the test
71     suite is not mandatory for the temporary tools here in this chapter. To run
72     the Make test suite anyway, issue the following command:</para>
74 <screen><userinput remap="test">make check</userinput></screen>
76     <para>Install the package:</para>
78 <screen><userinput remap="install">make install</userinput></screen>
80   </sect2>
82   <sect2 role="content">
83     <title/>
85     <para>Details on this package are located in
86     <xref linkend="contents-make" role="."/></para>
88   </sect2>
90 </sect1>