|
@@ -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>
|