
Linux From Scratch - Version 7.0
172
6.51. Man-DB-2.6.0.2
The Man-DB package contains programs for finding and viewing man pages.
Approximate build time: 0.4 SBU
Required disk space: 22 MB
6.51.1. Installation of Man-DB
Prepare Man-DB for compilation:
PKG_CONFIG=/tools/bin/true \
libpipeline_CFLAGS='' \
libpipeline_LIBS='-lpipeline' \
./configure --prefix=/usr --libexecdir=/usr/lib \
--docdir=/usr/share/doc/man-db-2.6.0.2 --sysconfdir=/etc \
--disable-setuid --with-browser=/usr/bin/lynx \
--with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap
The meaning of the configure options:
PKG_CONFIG=, libpipeline_ ...
These environment variables allow the configuration process to complete without the external pkg-config
program.
--disable-setuid
This disables making the man program setuid to user man.
--with-...
These three parameters are used to set some default programs. lynx is a text-based web browser (see BLFS for
installation instructions), vgrind converts program sources to Groff input, and grap is useful for typesetting
graphs in Groff documents. The vgrind and grap programs are not normally needed for viewing manual pages.
They are not part of LFS or BLFS, but you should be able to install them yourself after finishing LFS if you
wish to do so.
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
6.51.2. Non-English Manual Pages in LFS
The following table shows the character set that Man-DB assumes manual pages installed under /usr/share/
man/<ll> will be encoded with. In addition to this, Man-DB correctly determines if manual pages installed in that
directory are UTF-8 encoded.
Comentarios a estos manuales