6.47. Installing Man-1.5m2

Estimated build time:           0.1 SBU
Estimated required disk space:  1.9MB

6.47.1. Contents of Man

Man is a man pager.

Installed programs: apropos, makewhatis, man, man2dvi, man2html and whatis

6.47.2.

6.47.3. Man Installation Dependencies

Man depends on: Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Sed.

6.47.4.

6.47.5. Installation of Man

We'll make three adjustments to the sources of Man.

The first patch comments out the "MANPATH /usr/man" line in the man.conf file to prevent redundant results when using programs such as whatis:

patch -Np1 -i ../man-1.5m2-manpath.patch

The second patch adds the -R option to the PAGER variable so that escape sequences are handled properly:

patch -Np1 -i ../man-1.5m2-pager.patch

The third and last patch prevents a problem when man pages not formatted with more than 80 columns are used in conjunction with recent releases of groff:

patch -Np1 -i ../man-1.5m2-80cols.patch

Now prepare Man for compilation:

./configure -default -confdir=/etc

The meaning of the configure options:

Compile the package:

make

And install it:

make install

Note

If you wish to disable SGR escape sequences, you should edit the man.conf file and add the -c argument to nroff.

You may want to also take a look at the BLFS page at http://www.linuxfromscratch.org/blfs/view/cvs/postlfs/compressdoc.html which deals with formatting and compression issues for man pages.

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:57:39