source: chapter06/make.xml@ 30f3041

11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/update-glibc
Last change on this file since 30f3041 was 9292384, checked in by Bruce Dubbs <bdubbs@…>, 22 months ago

Package updates and a fix.

Fix make-4.4 bug.
Update to wheel-0.38.4 (Python Module).
Update to texinfo-7.0.
Update to sysvinit-3.05.
Update to shadow-4.13.
Update to sed-4.9.
Update to meson-0.64.0.
Update to linux-6.0.7.
Update to elfutils-0.188.
Update to bc-6.1.1.

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[fcc02767]7<sect1 id="ch-tools-make" role="wrap">
[bdea25ce]8 <?dbhtml filename="make.html"?>
9
[e747759]10 <sect1info condition="script">
11 <productname>make</productname>
12 <productnumber>&make-version;</productnumber>
13 <address>&make-url;</address>
14 </sect1info>
15
[bdea25ce]16 <title>Make-&make-version;</title>
17
[fcc02767]18 <indexterm zone="ch-tools-make">
[bdea25ce]19 <primary sortas="a-Make">Make</primary>
[fcc02767]20 <secondary>tools</secondary>
[bdea25ce]21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
[fcc02767]26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
27 href="../chapter08/make.xml"
28 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
[673b0d8]29
[bdea25ce]30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
[6370fa6]33
[bdea25ce]34 <seglistitem>
[fb386e0]35 <seg>&make-tmp-sbu;</seg>
36 <seg>&make-tmp-du;</seg>
[bdea25ce]37 </seglistitem>
38 </segmentedlist>
[5888299]39
[bdea25ce]40 </sect2>
[73aedd1d]41
[bdea25ce]42 <sect2 role="installation">
43 <title>Installation of Make</title>
[869b0966]44
[9292384]45 <para>First, fix an issue identified upstream:</para>
46
47<screen><userinput remap="pre">sed -e '/ifdef SIGPIPE/,+2 d' \
48 -e '/undef FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
49 -i src/main.c</userinput></screen>
50
[bdea25ce]51 <para>Prepare Make for compilation:</para>
[73aedd1d]52
[fcc02767]53<screen><userinput remap="configure">./configure --prefix=/usr \
54 --without-guile \
55 --host=$LFS_TGT \
56 --build=$(build-aux/config.guess)</userinput></screen>
[73aedd1d]57
[fcc02767]58 <variablelist>
59 <title>The meaning of the new configure option:</title>
[73aedd1d]60
[fcc02767]61 <varlistentry>
62 <term><parameter>--without-guile</parameter></term>
63 <listitem>
64 <para>Although we are cross-compiling, configure tries to use
65 guile from the build host if it finds it. This makes compilation
66 fail, so this switch prevents using it.</para>
67 </listitem>
68 </varlistentry>
69 </variablelist>
[73aedd1d]70
[fcc02767]71 <para>Compile the package:</para>
[0445a3d]72
[fcc02767]73<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]74
[bdea25ce]75 <para>Install the package:</para>
[73aedd1d]76
[fcc02767]77<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
[73aedd1d]78
[bdea25ce]79 </sect2>
[6370fa6]80
[fcc02767]81 <sect2 role="content">
82 <title/>
[5888299]83
[fcc02767]84 <para>Details on this package are located in
85 <xref linkend="contents-make" role="."/></para>
[81fd230]86
[bdea25ce]87 </sect2>
88
89</sect1>
Note: See TracBrowser for help on using the repository browser.