source: chapter05/make.xml@ b2e3c22

Last change on this file since b2e3c22 was 869b0966, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to glibc-2.27.
Update to man-pages-4.15.
Update to bash-4.4.18.
Update to iproute2-4.15.0.
Add an option to binutils to support 64-bit operations on
a 32-bit system.
Provide better initialization for vim.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11359 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.6 KB
Line 
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"?>
9
10 <sect1info condition="script">
11 <productname>make</productname>
12 <productnumber>&make-version;</productnumber>
13 <address>&make-url;</address>
14 </sect1info>
15
16 <title>Make-&make-version;</title>
17
18 <indexterm zone="ch-tools-make">
19 <primary sortas="a-Make">Make</primary>
20 <secondary>tools</secondary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
27 href="../chapter06/make.xml"
28 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&make-ch5-sbu;</seg>
36 <seg>&make-ch5-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Make</title>
44
45 <para>First, work around an error caused by glibc-2.27:</para>
46
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>
50
51<screen><userinput remap="configure">./configure --prefix=/tools --without-guile</userinput></screen>
52
53 <variablelist>
54 <title>The meaning of the configure option:</title>
55
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>
65
66 <para>Compile the package:</para>
67
68<screen><userinput remap="make">make</userinput></screen>
69
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>
73
74<screen><userinput remap="test">make check</userinput></screen>
75
76 <para>Install the package:</para>
77
78<screen><userinput remap="install">make install</userinput></screen>
79
80 </sect2>
81
82 <sect2 role="content">
83 <title/>
84
85 <para>Details on this package are located in
86 <xref linkend="contents-make" role="."/></para>
87
88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.