- Timestamp:
- Jul 22, 2006, 11:38:49 AM (18 years ago)
- Branches:
- master
- Children:
- de77ba6
- Parents:
- 9d01307
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/man.xml
r9d01307 r6b1f979 28 28 <para os="a">A few adjustments need to be made to the sources of Man.</para> 29 29 30 <para os="b">First, a <command>sed</command> substitution is 31 needed to add the <option>-R</option> switch to the 32 <envar>PAGER</envar> variable so that escape sequences are 33 properly handled by Less:</para> 30 <para os="b">First, a <command>sed</command> substitution is needed to 31 modify <command>configure</command>'s default search path for executables. 32 It cycles through the values in <envar>PREPATH</envar> until it finds the 33 program it is looking for. The <option>-R</option> switch is added to the 34 <envar>PAGER</envar> variable so that escape sequences are properly handled 35 by Less:</para> 34 36 35 37 <screen os="c"><userinput>cp configure{,.orig} 36 sed 's@-is@&R@g' configure.orig > configure</userinput></screen> 38 sed -e "/PREPATH=/s@=.*@=\"$(eval echo ${CLFS}/{,usr/}{sbin,bin})\"@g" \ 39 -e 's@-is@&R@g' configure.orig > configure</userinput></screen> 37 40 38 41 <para os="d">Another <command>sed</command> substitution comments out the … … 67 70 </variablelist> 68 71 69 <para os="k">Build makemsg using the hosts gcc. It is executed during the build</para> 70 71 <screen os="l"><userinput>gcc src/makemsg.c -o src/makemsg</userinput></screen> 72 73 <para os="m">Compile the package:</para> 74 75 <screen os="n"><userinput>make</userinput></screen> 76 77 <para os="o">Install the package:</para> 78 79 <screen os="p"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 80 81 <note os="q"> 72 <para os="k">Configure was modified to look in <filename 73 class="directory">${CLFS}</filename> for the paths of helper 74 programs. Right now all of the programs have <filename 75 class="directory">${CLFS}</filename> as a prefix. Remove that prefix 76 with the following command:</para> 77 78 <screen os="l"><userinput>cp conf_script{,.orig} 79 sed "s@${CLFS}@@" conf_script.orig > conf_script</userinput></screen> 80 81 <para os="m">Build makemsg using the hosts gcc. It is executed during the build:</para> 82 83 <screen os="n"><userinput>gcc src/makemsg.c -o src/makemsg</userinput></screen> 84 85 <para os="o">Compile the package:</para> 86 87 <screen os="p"><userinput>make</userinput></screen> 88 89 <para os="q">Install the package:</para> 90 91 <screen os="r"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 92 93 <note os="s"> 82 94 <para>If you will be working on a terminal that does not support 83 95 text attributes such as color and bold, you can disable Select … … 90 102 </note> 91 103 92 <para os=" r">If the character set of the locale uses 8-bit characters, search104 <para os="t">If the character set of the locale uses 8-bit characters, search 93 105 for the line beginning with <quote>NROFF</quote> in 94 106 <filename>/etc/man.conf</filename>, and verify that it matches the 95 107 following:</para> 96 108 97 <screen os=" s">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>98 99 <para os=" t">Note that <quote>latin1</quote> should be used even if it is not109 <screen os="u">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen> 110 111 <para os="v">Note that <quote>latin1</quote> should be used even if it is not 100 112 the character set of the locale. The reason is that, according to the 101 113 specification, <command>groff</command> has no means of typesetting … … 109 121 it is usable as the input for a pager.</para> 110 122 111 <para os=" u">This does not solve the problem of a non-working123 <para os="w">This does not solve the problem of a non-working 112 124 <command>man2dvi</command> program for localized man pages in 113 125 non-ISO 8859-1 locales. Also, it does not work with multibyte … … 116 128 not support multibyte character sets.</para> 117 129 118 <para os=" v">Additional information with regards to the compression of130 <para os="x">Additional information with regards to the compression of 119 131 man and info pages can be found in the BLFS book at 120 132 <ulink url="&blfs-root;view/svn/postlfs/compressdoc.html"/>.</para>
Note:
See TracChangeset
for help on using the changeset viewer.