groff.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <sect1 id="ch06-groff">
  2. <title>Installing Groff-&groff-version;</title>
  3. <?dbhtml filename="groff.html" dir="chapter06"?>
  4. <screen>Estimated build time: &groff-time;
  5. Estimated required disk space: &groff-compsize;</screen>
  6. &aa-groff-shortdesc;
  7. &aa-groff-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of Groff</title>
  11. <para>Groff expects the environment variable PAGE to contain the default paper
  12. size. For those in the United States, the command below is appropriate. If you
  13. live elsewhere, you may want to change <emphasis>PAGE=letter</emphasis> to
  14. <emphasis>PAGE=A4</emphasis>.</para>
  15. <para>Prepare Groff for compilation:</para>
  16. <screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen>
  17. <para>Compile the package:</para>
  18. <screen><userinput>make</userinput></screen>
  19. <para>And install it:</para>
  20. <screen><userinput>make install</userinput></screen>
  21. <para>Some documentation programs, such as <userinput>xman</userinput>,
  22. will not work properly without the following symlinks:</para>
  23. <screen><userinput>ln -s soelim /usr/bin/zsoelim
  24. ln -s eqn /usr/bin/geqn
  25. ln -s tbl /usr/bin/gtbl</userinput></screen>
  26. </sect2>
  27. </sect1>