source: chapter06/texinfo.xml@ 5d4e1b1

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 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 5d4e1b1 was 5d4e1b1, checked in by Ken Moffat <ken@…>, 8 years ago

Texinfo - add a note that configure will incorrectly report --disable-static as an unrecognized option.

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

  • Property mode set to 100644
File size: 7.8 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
8<sect1 id="ch-system-texinfo" role="wrap">
9 <?dbhtml filename="texinfo.html"?>
10
11 <sect1info condition="script">
12 <productname>texinfo</productname>
13 <productnumber>&texinfo-version;</productnumber>
14 <address>&texinfo-url;</address>
15 </sect1info>
16
17 <title>Texinfo-&texinfo-version;</title>
18
19 <indexterm zone="ch-system-texinfo">
20 <primary sortas="a-Texinfo">Texinfo</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Texinfo package contains programs for reading, writing, and
27 converting info pages.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&texinfo-ch6-sbu;</seg>
35 <seg>&texinfo-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Texinfo</title>
43
44 <para>Prepare Texinfo for compilation:</para>
45
46<screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
47
48 <variablelist>
49 <title>The meaning of the configure options:</title>
50
51 <varlistentry>
52 <term><parameter>--disable-static</parameter></term>
53 <listitem>
54 <para>iIn this case, the top-level configure script will complain that
55 this is an unrecognized option, but the configure script for
56 XSParagraph recognizes it and uses it to disable installing a static
57 <filename class="libraryfile">XSParagraph.a</filename> to <filename
58 class="directory">/usr/lib/texinfo</filename>.</para>
59 </listitem>
60 </varlistentry>
61
62 </variablelist>
63
64 <para>Compile the package:</para>
65
66<screen><userinput remap="make">make</userinput></screen>
67
68 <para>To test the results, issue:</para>
69
70<screen><userinput remap="test">make check</userinput></screen>
71
72 <para>Install the package:</para>
73
74<screen><userinput remap="install">make install</userinput></screen>
75
76 <para>Optionally, install the components belonging in a TeX
77 installation:</para>
78 <!-- FIXME: doesn't the TeX installation in BLFS overwrite files there? -->
79
80<screen><userinput remap="install">make TEXMF=/usr/share/texmf install-tex</userinput></screen>
81
82 <variablelist>
83 <title>The meaning of the make parameter:</title>
84
85 <varlistentry>
86 <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
87 <listitem>
88 <para>The <envar>TEXMF</envar> makefile variable holds the location
89 of the root of the TeX tree if, for example, a TeX package will be
90 installed later.</para>
91 </listitem>
92 </varlistentry>
93
94 </variablelist>
95
96 <para>The Info documentation system uses a plain text file to hold its list of
97 menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
98 Unfortunately, due to occasional problems in the Makefiles of various packages,
99 it can sometimes get out of sync with the info pages installed on the system.
100 If the <filename>/usr/share/info/dir</filename> file ever needs to be
101 recreated, the following optional commands will accomplish the task:</para>
102
103<screen role="nodump"><userinput>pushd /usr/share/info
104rm -v dir
105for f in *
106 do install-info $f dir 2&gt;/dev/null
107done
108popd</userinput></screen>
109
110 </sect2>
111
112 <sect2 id="contents-texinfo" role="content">
113 <title>Contents of Texinfo</title>
114
115 <segmentedlist>
116 <segtitle>Installed programs</segtitle>
117 <segtitle>Installed library</segtitle>
118 <segtitle>Installed directories</segtitle>
119
120 <seglistitem>
121 <seg>info, install-info, makeinfo (link to texi2any),
122 pdftexi2dvi, pod2texi, texi2any, texi2dvi, texi2pdf, and texindex</seg>
123 <seg>XSParagraph.so</seg>
124 <seg>/usr/share/texinfo and /usr/lib/texinfo</seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="info">
134 <term><command>info</command></term>
135 <listitem>
136 <para>Used to read info pages which are similar to man pages, but
137 often go much deeper than just explaining all the available command
138 line options [For example, compare <command>man bison</command> and
139 <command>info bison</command>.]</para>
140 <indexterm zone="ch-system-texinfo info">
141 <primary sortas="b-info">info</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="install-info">
147 <term><command>install-info</command></term>
148 <listitem>
149 <para>Used to install info pages; it updates entries in the
150 <command>info</command> index file</para>
151 <indexterm zone="ch-system-texinfo install-info">
152 <primary sortas="b-install-info">install-info</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="makeinfo">
158 <term><command>makeinfo</command></term>
159 <listitem>
160 <para>Translates the given Texinfo source documents into
161 info pages, plain text, or HTML</para>
162 <indexterm zone="ch-system-texinfo makeinfo">
163 <primary sortas="b-makeinfo">makeinfo</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="pdftexi2dvi">
169 <term><command>pdftexi2dvi</command></term>
170 <listitem>
171 <para>Used to format the given Texinfo document into a
172 Portable Document Format (PDF) file</para>
173 <indexterm zone="ch-system-texinfo pdftexi2dvi">
174 <primary sortas="b-pdftexi2dvi">pdftexi2dvi</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="pod2texi">
180 <term><command>pod2texi</command></term>
181 <listitem>
182 <para>Converts Pod to Texinfo format</para>
183 <indexterm zone="ch-system-texinfo pod2texi">
184 <primary sortas="b-pod2texi">pod2texi</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="texi2any">
190 <term><command>texi2any</command></term>
191 <listitem>
192 <para>Translate Texinfo source documentation to
193 various other formats</para>
194 <indexterm zone="ch-system-texinfo texi2any">
195 <primary sortas="b-texiany">texi2any</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="texi2dvi">
201 <term><command>texi2dvi</command></term>
202 <listitem>
203 <para>Used to format the given Texinfo document into a
204 device-independent file that can be printed</para>
205 <indexterm zone="ch-system-texinfo texi2dvi">
206 <primary sortas="b-texi2dvi">texi2dvi</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="texi2pdf">
212 <term><command>texi2pdf</command></term>
213 <listitem>
214 <para>Used to format the given Texinfo document into a
215 Portable Document Format (PDF) file</para>
216 <indexterm zone="ch-system-texinfo texi2pdf">
217 <primary sortas="b-texi2pdf">texi2pdf</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="texindex">
223 <term><command>texindex</command></term>
224 <listitem>
225 <para>Used to sort Texinfo index files</para>
226 <indexterm zone="ch-system-texinfo texindex">
227 <primary sortas="b-texindex">texindex</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.