Ignore:
Timestamp:
Feb 21, 2006, 2:19:49 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
de4db44
Parents:
614f4d2
Message:

r1123@server (orig r1121): chris | 2006-02-01 00:33:35 -0800
Added a fix for a problem with makewhatis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/man.xml

    r614f4d2 r7c63c926  
    3737    <para os="a">A few adjustments need to be made to the sources of Man.</para>
    3838
    39     <para os="b">This a <command>sed</command> substitution to add the
    40     <option>-R</option> switch to the <envar>PAGER</envar> variable so
    41     that escape sequences are properly handled by Less:</para>
     39    <para os="b">First, a <command>sed</command> substitution is
     40    needed to add the <option>-R</option> switch to the
     41    <envar>PAGER</envar> variable so that escape sequences are
     42    properly handled by Less:</para>
    4243
    4344<screen os="c"><userinput>sed -i 's@-is@&amp;R@g' configure</userinput></screen>
    4445
    45     <para os="d">This a <command>sed</command> substitution to comment out the
     46    <para os="d">Another <command>sed</command> substitution comments out the
    4647    <quote>MANPATH /usr/man</quote> line in the <filename>man.conf</filename>
    4748    file to prevent redundant results when using programs such as
     
    5051<screen os="e"><userinput>sed -i 's@MANPATH./usr/man@#&amp;@g' src/man.conf.in</userinput></screen>
    5152
    52     <para os="f">Prepare Man for compilation:</para>
    53 
    54 <screen os="g"><userinput>./configure -confdir=/etc</userinput></screen>
    55 
    56     <variablelist os="h">
     53    <para os="f">Finally, correct a syntax error in the
     54    <command>makewhatis</command> script:</para>
     55
     56<screen os="g"><userinput>sed -i 's/)) |/) |/' src/makewhatis.sh</userinput></screen>
     57
     58    <para os="h">Prepare Man for compilation:</para>
     59
     60<screen os="i"><userinput>./configure -confdir=/etc</userinput></screen>
     61
     62    <variablelist os="j">
    5763      <title>The meaning of the configure options:</title>
    5864
     
    6773    </variablelist>
    6874
    69     <para os="i">Compile the package:</para>
    70 
    71 <screen os="j"><userinput>make</userinput></screen>
    72 
    73     <para os="k">Install the package:</para>
    74 
    75 <screen os="l"><userinput>make install</userinput></screen>
    76 
    77     <note os="m">
     75    <para os="k">Compile the package:</para>
     76
     77<screen os="l"><userinput>make</userinput></screen>
     78
     79    <para os="m">Install the package:</para>
     80
     81<screen os="n"><userinput>make install</userinput></screen>
     82
     83    <note os="o">
    7884      <para>If you will be working on a terminal that does not support
    7985      text attributes such as color and bold, you can disable Select
     
    8692    </note>
    8793
    88     <para os="n">If the character set of the locale uses 8-bit characters, search
     94    <para os="p">If the character set of the locale uses 8-bit characters, search
    8995    for the line beginning with <quote>NROFF</quote> in
    9096    <filename>/etc/man.conf</filename>, and verify that it matches the
    9197    following:</para>
    9298
    93 <screen os="o">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>
    94 
    95     <para os="p">Note that <quote>latin1</quote> should be used even if it is not
     99<screen os="q">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>
     100
     101    <para os="r">Note that <quote>latin1</quote> should be used even if it is not
    96102    the character set of the locale. The reason is that, according to the
    97103    specification, <command>groff</command> has no means of typesetting
     
    105111    it is usable as the input for a pager.</para>
    106112
    107     <para os="q">This does not solve the problem of a non-working
     113    <para os="s">This does not solve the problem of a non-working
    108114    <command>man2dvi</command> program for localized man pages in
    109115    non-ISO 8859-1 locales. Also, it does not work with multibyte
     
    112118    not support multibyte character sets.</para>
    113119
    114     <para os="r">Additional information with regards to the compression of
     120    <para os="t">Additional information with regards to the compression of
    115121    man and info pages can be found in the BLFS book at
    116122    <ulink url="&blfs-root;view/cvs/postlfs/compressdoc.html"/>.</para>
Note: See TracChangeset for help on using the changeset viewer.