source: chapter06/texinfo.xml@ 30c872d

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 30c872d was 2ca7e114, checked in by Jim Gifford <jim@…>, 20 years ago

Fixed texinfo segfault

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

  • Property mode set to 100644
File size: 4.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-texinfo" xreflabel="Texinfo" role="wrap">
7<title>Texinfo-&texinfo-version;</title>
8<?dbhtml filename="texinfo.html"?>
9
10<indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Texinfo package contains programs for reading, writing, and
14converting Info documents.</para>
15
16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Texinfo installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils,
25Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
26</segmentedlist>
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Texinfo</title>
31
32<para>Prepare Texinfo for compilation:</para>
33
34<para>The patch listed below fixes a known segfault in texinfo:</para>
35
36<screen><userinput>patch -Np1 -i ../texinfo-&texinfo-version;-segfault-1.patch</userinput></screen>
37
38<para>Prepare Texinfo for compilation:</para>
39
40<screen><userinput>./configure --prefix=/usr</userinput></screen>
41
42<para>Compile the package:</para>
43
44<screen><userinput>make</userinput></screen>
45
46<para>To test the results, issue:
47<userinput>make check</userinput>.</para>
48
49<para>Install the package:</para>
50
51<screen><userinput>make install</userinput></screen>
52
53<para>Optionally install the components belonging in a TeX installation:</para>
54
55<screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
56
57<para>The meaning of the make parameter:</para>
58
59<variablelist>
60<varlistentry>
61<term><parameter>TEXMF=/usr/share/texmf</parameter></term>
62<listitem><para>The TEXMF
63makefile variable holds the location of the root of your TeX tree if, for
64example, you plan to install a TeX package later on.</para></listitem>
65</varlistentry>
66</variablelist>
67
68<para>The Info documentation system uses a plain text file to hold its list of
69menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
70Unfortunately, due to occasional problems in the Makefiles of various packages,
71it can sometimes get out of step with the Info manuals actually installed on the
72system. If ever you need to recreate the
73<filename>/usr/share/info/dir</filename> file, the following optional commands
74will accomplish the task:</para>
75
76<screen><userinput>cd /usr/share/info
77rm dir
78for f in *
79do install-info $f dir 2&gt;/dev/null
80done</userinput></screen>
81
82</sect2>
83
84
85<sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
86
87<segmentedlist>
88<segtitle>Installed programs</segtitle>
89<seglistitem><seg>info, infokey, install-info,
90makeinfo, texi2dvi and texindex</seg></seglistitem>
91</segmentedlist>
92
93<variablelist><title>Short descriptions</title>
94
95<varlistentry id="info">
96<term><command>info</command></term>
97<listitem>
98<indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
99<para>is used to read Info documents. Info
100documents are a bit like man pages, but often go much deeper than just
101explaining all the flags. Compare for example <command>man tar</command>
102and <command>info tar</command>.</para>
103</listitem>
104</varlistentry>
105
106<varlistentry id="infokey">
107<term><command>infokey</command></term>
108<listitem>
109<indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
110<para>compiles a source file containing Info
111customizations into a binary format.</para>
112</listitem>
113</varlistentry>
114
115<varlistentry id="install-info">
116<term><command>install-info</command></term>
117<listitem>
118<indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
119<para>is used to install Info files. It updates entries in the Info index file.</para>
120</listitem>
121</varlistentry>
122
123<varlistentry id="makeinfo">
124<term><command>makeinfo</command></term>
125<listitem>
126<indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
127<para>translates the given Texinfo source
128documents into various other formats: Info files, plain text, or HTML.</para>
129</listitem>
130</varlistentry>
131
132<varlistentry id="texi2dvi">
133<term><command>texi2dvi</command></term>
134<listitem>
135<indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
136<para>is used to format the given Texinfo
137document into a device-independent file that can be printed.</para>
138</listitem>
139</varlistentry>
140
141<varlistentry id="texindex">
142<term><command>texindex</command></term>
143<listitem>
144<indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
145<para>is used to sort Texinfo index files.</para>
146</listitem>
147</varlistentry>
148</variablelist>
149
150</sect2>
151
152</sect1>
Note: See TracBrowser for help on using the repository browser.