aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/groff.xml
blob: de9cc25d32487ae17501a3aafd0469c778695a0e (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
<sect1 id="ch06-groff">
<title>Installing Groff-&groff-version;</title>
<?dbhtml filename="groff.html" dir="chapter06"?>

<screen>Estimated build time:           &groff-time;
Estimated required disk space:  &groff-compsize;</screen>

&aa-groff-shortdesc;
&aa-groff-dep;

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Groff</title>

<para>Groff expects the environment variable PAGE to contain the default paper
size. For those in the United States, the command below is appropriate.  If you
live elsewhere, you may want to change <emphasis>PAGE=letter</emphasis> to
<emphasis>PAGE=A4</emphasis>.</para>

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

<screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen>

<para>Compile the package:</para>

<screen><userinput>make</userinput></screen>

<para>And install it:</para>

<screen><userinput>make install</userinput></screen>

<para>Some documentation programs, such as <userinput>xman</userinput>,
will not work properly without the following symlinks:</para>

<screen><userinput>ln -s soelim /usr/bin/zsoelim
ln -s eqn /usr/bin/geqn
ln -s tbl /usr/bin/gtbl</userinput></screen>

</sect2>

</sect1>