diff options
author | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-09 14:21:09 +0000 |
---|---|---|
committer | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-09 14:21:09 +0000 |
commit | f2f15e598755465cfaf93b1dec48b2956693c636 (patch) | |
tree | ee435b72f393141f04617d259d7e060b33451b73 /chapter06/man-db.xml | |
parent | f003bf7147b3dbc20d5d123995c4fa4b2e71f9df (diff) |
Updated Man-DB to 2.5.2
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8610 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/man-db.xml')
-rw-r--r-- | chapter06/man-db.xml | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index ce0ef20bb..bb1fefced 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -41,15 +41,23 @@ <sect2 role="installation"> <title>Installation of Man-DB</title> - <para>Two adjustments need to be made to the sources of Man-DB.</para> + <!-- <para>Two adjustments need to be made to the sources of Man-DB.</para> <para>The first change is a <command>sed</command> substitution to delete the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in the <filename>man_db.conf</filename> file to prevent redundant results + when using programs such as <command>whatis</command>:</para> --> + + <para>Use a <command>sed</command> substitution to delete + the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in + the <filename>man_db.conf</filename> file to prevent redundant results when using programs such as <command>whatis</command>:</para> <screen><userinput remap="pre">sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen> + <!-- This is removed and the same thing is done using the configure + command, which seems to be the more proper method + <para>The second change accounts for programs that Man-DB should be able to find at runtime, but that haven't been installed yet:</para> @@ -69,10 +77,14 @@ EOF</userinput></screen> 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.</para> + --> + <para>Prepare Man-DB for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc \ - --disable-setuid</userinput></screen> + --disable-setuid --with-browser=/usr/bin/lynx \ + --with-col=/usr/bin/col --with-vgrind=/usr/bin/vgrind \ + --with-grap=/usr/bin/grap</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -85,6 +97,21 @@ EOF</userinput></screen> </listitem> </varlistentry> + <varlistentry> + <term><parameter>--with-...</parameter></term> + <listitem> + <para>These four parameters are used to set some default programs. + The <command>col</command> program is a part of the Util-linux-ng + package, <command>lynx</command> is a text-based web browser (see BLFS + for installation instructions), <command>vgrind</command> converts + program sources to Groff input, and <command>grap</command> is useful + for typesetting graphs in Groff documents. The <command>vgrind</command> + and <command>grap</command> 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.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> @@ -318,7 +345,7 @@ make install</userinput></screen> <segtitle>Installed programs</segtitle> <seglistitem> - <seg>accessdb, apropos, catman, convert-mans, lexgrog, man, mandb, + <seg>apropos, catman, convert-mans, lexgrog, man, mandb, manpath, whatis, and zsoelim</seg> </seglistitem> </segmentedlist> @@ -328,7 +355,7 @@ make install</userinput></screen> <?dbfo list-presentation="list"?> <?dbhtml list-presentation="table"?> - <varlistentry id="accessdb"> + <!-- <varlistentry id="accessdb"> <term><command>accessdb</command></term> <listitem> <para>Dumps the <command>whatis</command> database contents in @@ -337,7 +364,7 @@ make install</userinput></screen> <primary sortas="b-accessdb">accessdb</primary> </indexterm> </listitem> - </varlistentry> + </varlistentry> --> <varlistentry id="apropos"> <term><command>apropos</command></term> |