aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/texinfo.xml
blob: b67d0ab4670cb44b832e94c8adac78facdd25e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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-texinfo" role="wrap">
  <?dbhtml filename="texinfo.html"?>

  <sect1info condition="script">
    <productname>texinfo</productname>
    <productnumber>&texinfo-version;</productnumber>
    <address>&texinfo-url;</address>
  </sect1info>

  <title>Texinfo-&texinfo-version;</title>

  <indexterm zone="ch-tools-texinfo">
    <primary sortas="a-Texinfo">Texinfo</primary>
    <secondary>temporary</secondary>
  </indexterm>

  <sect2 role="package">
    <title/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../chapter08/texinfo.xml"
    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>

    <segmentedlist>
      <segtitle>&buildtime;</segtitle>
      <segtitle>&diskspace;</segtitle>

      <seglistitem>
        <seg>&texinfo-tmp-sbu;</seg>
        <seg>&texinfo-tmp-du;</seg>
      </seglistitem>
    </segmentedlist>

  </sect2>

  <sect2 role="installation">
    <title>Installation of Texinfo</title>

    <para>First, fix an issue building the package with Glibc-2.34 or later:</para>

<screen><userinput remap="pre">sed -e 's/__attribute_nonnull__/__nonnull/' \
    -i gnulib/lib/malloc/dynarray-skeleton.c</userinput></screen>

    <para>Prepare Texinfo for compilation:</para>

<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>

    <note>
      <para>As part of the configure process, a test is made that indicates an
      error for TestXS_la-TestXS.lo.  This is not relevant for LFS and should be
      ignored.</para>
    </note>

    <para>Compile the package:</para>

<screen><userinput remap="make">make</userinput></screen>

    <para>Install the package:</para>

<screen><userinput remap="install">make install</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title/>

    <para>Details on this package are located in <xref linkend="contents-texinfo" role="."/></para>

  </sect2>

</sect1>