mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-22 06:58:54 +00:00
3be4d973d4
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3190 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
49 lines
1.3 KiB
XML
49 lines
1.3 KiB
XML
<sect1 id="ch-system-groff" xreflabel="Groff">
|
|
<title>Installing Groff-&groff-version;</title>
|
|
<?dbhtml filename="groff.html" dir="chapter06"?>
|
|
|
|
<para>The Groff package contains programs for processing and formatting text.</para>
|
|
|
|
<screen>&buildtime; &groff-time;
|
|
&diskspace; &groff-compsize;</screen>
|
|
|
|
&aa-groff-down;
|
|
&aa-groff-dep;
|
|
|
|
<sect2><title> </title><para> </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>
|
|
|
|
&aa-groff-shortdesc;
|
|
&aa-groff-desc;
|
|
|
|
</sect1>
|
|
|