1996-09-07 16:18:32 +00:00
|
|
|
To install groff, follow the instructions in the file INSTALL.gen.
|
|
|
|
|
|
|
|
This file contains information that supplements those instructions.
|
|
|
|
|
2000-12-05 18:49:44 +00:00
|
|
|
(For instructions how to build groff with DJGPP tools for MS-DOS and
|
|
|
|
MS-Windows, see the file arch/djgpp/README.)
|
|
|
|
|
2005-10-20 10:45:19 +00:00
|
|
|
(For instructions how to build groff with the MinGW tools for
|
|
|
|
MS-Windows, see the file README.MinGW.)
|
|
|
|
|
1996-09-07 16:18:32 +00:00
|
|
|
groff is written in C++, so you will need a C++ compiler. The C++
|
2003-05-01 13:09:50 +00:00
|
|
|
source files use a suffix of `.cpp', so your C++ compiler must be able
|
1996-09-07 16:18:32 +00:00
|
|
|
to handle this. If you don't already have a C++ compiler, I suggest
|
|
|
|
gcc 2.7.1 or later (gcc version 2 includes GNU C++ as well as GNU C).
|
|
|
|
From gcc 2.5, it is no longer necessary to install libg++: the C++
|
|
|
|
header files needed by groff are created by the gcc installation
|
|
|
|
process. To override configure's choice of C++ compiler, you can set
|
|
|
|
the CXX environment variable.
|
|
|
|
|
|
|
|
If you have a library that provides a faster malloc than your system's
|
|
|
|
usual malloc, it is good idea to include it in LIBS. For example,
|
2000-01-12 09:51:43 +00:00
|
|
|
using the malloc that comes with GNU Emacs version 20 can give a
|
1996-09-07 16:18:32 +00:00
|
|
|
worthwhile (and sometimes spectacular) performance improvement.
|
|
|
|
|
2001-04-17 12:12:05 +00:00
|
|
|
If you want A4 or letter paper format and the configure script produces
|
|
|
|
an incorrect guess, say
|
|
|
|
|
|
|
|
PAGE=xxx ./configure
|
|
|
|
|
|
|
|
where `xxx' should be either `A4' or `letter'. Note that this will only
|
2005-10-20 10:45:19 +00:00
|
|
|
affect the paper selection of some device drivers like grops (which can
|
|
|
|
be still overridden on the command line). For compatibility with
|
|
|
|
ditroff, the default page length in gtroff is always 11 inches. The
|
|
|
|
page length can be changed with the `pl' request.
|
2001-04-17 12:12:05 +00:00
|
|
|
|
1999-03-15 08:36:16 +00:00
|
|
|
When you have built groff, you can use the test-groff script to try
|
1996-09-07 16:18:32 +00:00
|
|
|
groff out on one of the man pages. (Use the .n files not the .man
|
|
|
|
files.) The test-groff script sets up environment variables to allow
|
2005-10-20 10:45:19 +00:00
|
|
|
groff to run without being installed. For example, you could do
|
1996-09-07 16:18:32 +00:00
|
|
|
|
2000-12-05 18:49:44 +00:00
|
|
|
./test-groff -man -Tascii src/roff/groff/groff.n | less
|
1996-09-07 16:18:32 +00:00
|
|
|
|
2002-10-11 08:52:17 +00:00
|
|
|
To get a DVI, PDF, or HTML version of the groff texinfo manual, say `make
|
|
|
|
groff.dvi', `make groff.pdf', or `make groff.html', respectively, in the
|
2005-10-20 10:45:19 +00:00
|
|
|
`doc' subdirectory (after configuring the groff package). Note that you
|
|
|
|
need texinfo version 4.6 as a prerequisite. Neither older versions nor
|
|
|
|
texinfo 4.7 (due to a bug) will work.
|
2000-01-12 09:51:43 +00:00
|
|
|
|
1996-09-07 16:18:32 +00:00
|
|
|
If you have problems, read the PROBLEMS file. If this doesn't help
|
|
|
|
send a bug report using the form in the file BUG-REPORT.
|