1 | <sect1 id="ch06-texinfo">
|
---|
2 | <title>Installing Texinfo-&texinfo-version;</title>
|
---|
3 | <?dbhtml filename="texinfo.html" dir="chapter06"?>
|
---|
4 |
|
---|
5 | <screen>Estimated build time: &texinfo-time;
|
---|
6 | Estimated required disk space: &texinfo-compsize;</screen>
|
---|
7 |
|
---|
8 | &aa-texinfo-shortdesc;
|
---|
9 | &aa-texinfo-dep;
|
---|
10 |
|
---|
11 | <sect2><title> </title><para> </para></sect2>
|
---|
12 |
|
---|
13 | <sect2>
|
---|
14 | <title>Installation of Texinfo</title>
|
---|
15 |
|
---|
16 | <para>Prepare Texinfo for compilation:</para>
|
---|
17 |
|
---|
18 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
19 |
|
---|
20 | <para>Compile the package:</para>
|
---|
21 |
|
---|
22 | <screen><userinput>make</userinput></screen>
|
---|
23 |
|
---|
24 | <para>This package has a test suite available which can perform a number of
|
---|
25 | checks to ensure it built correctly. Should you choose to run it, the
|
---|
26 | following command will do so:</para>
|
---|
27 |
|
---|
28 | <screen><userinput>make check</userinput></screen>
|
---|
29 |
|
---|
30 | <para>Install the package:</para>
|
---|
31 |
|
---|
32 | <screen><userinput>make install</userinput></screen>
|
---|
33 |
|
---|
34 | <para>And optionally install the components belonging in a TeX installation:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
37 |
|
---|
38 | <para>The meaning of the make parameter:</para>
|
---|
39 |
|
---|
40 | <itemizedlist>
|
---|
41 | <listitem><para><userinput>TEXMF=/usr/share/texmf</userinput>: The TEXMF
|
---|
42 | makefile variable holds the location of the root of your TeX tree if, for
|
---|
43 | example, you plan to install a TeX package later on.</para></listitem>
|
---|
44 | </itemizedlist>
|
---|
45 |
|
---|
46 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
47 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
48 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
49 | it can sometimes get out of step with the Info manuals actually installed on the
|
---|
50 | system. If ever you need to recreate the
|
---|
51 | <filename>/usr/share/info/dir</filename> file, the following optional commands
|
---|
52 | will accomplish the task:</para>
|
---|
53 |
|
---|
54 | <screen><userinput>cd /usr/share/info
|
---|
55 | rm dir
|
---|
56 | for f in *
|
---|
57 | do install-info $f dir 2>/dev/null
|
---|
58 | done</userinput></screen>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | </sect1>
|
---|
63 |
|
---|