Changeset 90b56f5
- Timestamp:
- 07/01/2005 10:40:30 PM (19 years ago)
- Branches:
- 6.1, 6.1.1
- Children:
- aabd480
- Parents:
- fd96303
- Location:
- chapter06
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/coreutils.xml
rfd96303 r90b56f5 37 37 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-uname-2.patch</userinput></screen> 38 38 39 <para>Prevent Coreutils from installing binaries that will belater be39 <para>Prevent Coreutils from installing binaries that will later be 40 40 installed by other packages:</para> 41 41 … … 51 51 <screen><userinput>make</userinput></screen> 52 52 53 <para>The test suite of Coreutils makes several invalid assumptions about the 54 presence of system users and groups. Therefore, additional items need to be set 55 up before running the tests. Skip down to <quote>Install the package</quote> if 56 not running the test suite.</para> 53 <para>The test suite of Coreutils makes several assumptions about the presence 54 of system users and groups that are not valid within the minimal environment 55 that exists at the moment. Therefore, additional items need to be set up before 56 running the tests. Skip down to <quote>Install the package</quote> if not 57 running the test suite.</para> 57 58 58 59 <para>Create two dummy groups and a dummy user:</para> -
chapter06/e2fsprogs.xml
rfd96303 r90b56f5 51 51 <varlistentry> 52 52 <term><parameter>--with-root-prefix=""</parameter></term> 53 <listitem><para>Certain programs (such as the 54 <command>e2fsck</command> program) are considered essential programs. 55 When, for example, <filename class="directory">/usr</filename> is not 56 mounted, these essential programs need to be available. They belong in 57 directories like <filename class="directory">/lib</filename> and 58 <filename class="directory">/sbin</filename>. If this option is not 59 passed to E2fsprogs' configure, the programs are installed into the60 <filename class="directory">/usr</filename> directory, which is not 61 where they should be.</para></listitem> 53 <listitem><para>Certain programs (such as the <command>e2fsck</command> program) 54 are considered essential programs. When, for example, <filename 55 class="directory">/usr</filename> is not mounted, these essential programs need 56 to be available. They belong in directories like <filename 57 class="directory">/lib</filename> and <filename 58 class="directory">/sbin</filename>. If this option is not passed to E2fsprogs' 59 configure, the programs are installed into the <filename 60 class="directory">/usr</filename> directory.</para></listitem> 61 62 62 </varlistentry> 63 63 … … 88 88 <beginpage/> 89 89 90 <para>Install most of the package:</para>90 <para>Install the binaries and documentation:</para> 91 91 92 92 <screen><userinput>make install</userinput></screen> … … 265 265 <term><command>mke2fs</command></term> 266 266 <listitem> 267 <para>Is used to create a second extended file system on the given 268 device</para> 267 <para>Creates an ext2 or ext3 file system on the given device</para> 269 268 <indexterm zone="ch-system-e2fsprogs mke2fs"><primary sortas="b-mke2fs">mke2fs</primary></indexterm> 270 269 </listitem> -
chapter06/file.xml
rfd96303 r90b56f5 11 11 12 12 <sect2 role="package"><title/> 13 <para>The File package contains a utility for determining the type of files.</para> 13 <para>The File package contains a utility for determining the type of a given 14 file or files.</para> 14 15 15 16 <segmentedlist> -
chapter06/findutils.xml
rfd96303 r90b56f5 37 37 --localstatedir=/var/lib/locate</userinput></screen> 38 38 39 <para>The <parameter>localstatedir</parameter> directiveabove changes the39 <para>The <parameter>localstatedir</parameter> option above changes the 40 40 location of the <command>locate</command> database to be in <filename 41 41 class="directory">/var/lib/locate</filename>, which is FHS-compliant.</para> -
chapter06/flex.xml
rfd96303 r90b56f5 116 116 <term><command>lex</command></term> 117 117 <listitem> 118 <para> Script that runs <command>flex</command> in <command>lex</command>118 <para>A script that runs <command>flex</command> in <command>lex</command> 119 119 emulation mode</para> 120 120 <indexterm zone="ch-system-flex lex"><primary sortas="b-lex">lex</primary></indexterm> -
chapter06/gettext.xml
rfd96303 r90b56f5 195 195 <term><command>msgfmt</command></term> 196 196 <listitem> 197 <para>Generates a binary message catalog from froma translation catalog</para>197 <para>Generates a binary message catalog from a translation catalog</para> 198 198 <indexterm zone="ch-system-gettext msgfmt"><primary sortas="b-msgfmt">msgfmt</primary></indexterm> 199 199 </listitem> -
chapter06/groff.xml
rfd96303 r90b56f5 105 105 106 106 <varlistentry id="geqn"> 107 <term><command> eqn</command></term>107 <term><command>geqn</command></term> 108 108 <listitem> 109 109 <para>A link to <command>eqn</command></para> … … 197 197 <term><command>gtbl</command></term> 198 198 <listitem> 199 <para> Is the GNU implementation of<command>tbl</command></para>199 <para>A link to <command>tbl</command></para> 200 200 <indexterm zone="ch-system-groff gtbl"><primary sortas="b-gtbl">gtbl</primary></indexterm> 201 201 </listitem> … … 361 361 <term><command>zsoelim</command></term> 362 362 <listitem> 363 <para> Is the GNU implementation of<command>soelim</command></para>363 <para>A link to <command>soelim</command></para> 364 364 <indexterm zone="ch-system-groff zsoelim"><primary sortas="b-zsoelim">zsoelim</primary></indexterm> 365 365 </listitem> -
chapter06/gzip.xml
rfd96303 r90b56f5 84 84 <term><command>compress</command></term> 85 85 <listitem> 86 <para>Compresses and uncompresses compressedfiles</para>86 <para>Compresses and decompresses files</para> 87 87 <indexterm zone="ch-system-gzip compress"><primary sortas="b-compress">compress</primary></indexterm> 88 88 </listitem> … … 100 100 <term><command>gzexe</command></term> 101 101 <listitem> 102 <para>Creates self- uncompressing executable files</para>102 <para>Creates self-decompressing executable files</para> 103 103 <indexterm zone="ch-system-gzip gzexe"><primary sortas="b-gzexe">gzexe</primary></indexterm> 104 104 </listitem> -
chapter06/hotplug.xml
rfd96303 r90b56f5 46 46 <screen><userinput>rm -rf /etc/init.d</userinput></screen> 47 47 48 <para>Network device hotplugging is not supported by LFS bootscripts yet. For48 <para>Network device hotplugging is not supported by LFS-Bootscripts yet. For 49 49 that reason, remove the network hotplug agent:</para> 50 50 -
chapter06/iana-etc.xml
rfd96303 r90b56f5 28 28 <title>Installation of Iana-Etc</title> 29 29 30 <para>Parse the data:</para> 30 <para>The following command converts the raw data provided by IANA into the 31 correct formats for the <filename>/etc/protocols</filename> and 32 <filename>/etc/services</filename> data files:</para> 31 33 32 34 <screen><userinput>make</userinput></screen> -
chapter06/iproute2.xml
rfd96303 r90b56f5 112 112 <listitem> 113 113 <para>Shows the interface statistics, including the amount of transmitted 114 and received pack ages by interface</para>114 and received packets by interface</para> 115 115 <indexterm zone="ch-system-iproute2 ifstat"> 116 116 <primary sortas="b-ifstat">ifstat</primary> -
chapter06/kbd.xml
rfd96303 r90b56f5 102 102 <term><command>getunimap</command></term> 103 103 <listitem> 104 <para>Prints the currently used uni map</para>104 <para>Prints the currently used unicode-to-font mapping table</para> 105 105 <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm> 106 106 </listitem> -
chapter06/man.xml
rfd96303 r90b56f5 67 67 <screen><userinput>make install</userinput></screen> 68 68 69 <note><para>To disable Select Graphic Rendition (SGR) escape 70 sequences, edit the <filename>man.conf</filename> file and 71 add the <parameter>-c</parameter> switch to 72 the <envar>NROFF</envar> variable.</para></note> 69 <note><para>If you will be working on a terminal that does not support text 70 attributes such as color and bold, you can disable Select Graphic Rendition 71 (SGR) escape sequences by editing the <filename>man.conf</filename> file and 72 adding the <parameter>-c</parameter> option to the <envar>NROFF</envar> 73 variable. If you use multiple terminal types for one computer it may be better 74 to selectively add the <envar>GROFF_NO_SGR</envar> environment variable for the 75 terminals that do not support SGR.</para></note> 73 76 74 <para>If the character set uses 8-bit characters, search for the line 75 beginning with <quote>NROFF</quote> in 76 <filename>/etc/man.conf</filename>, and verify that it looks as 77 follows:</para> 77 <para>If the character set of the locale uses 8-bit characters, search for the 78 line beginning with <quote>NROFF</quote> in <filename>/etc/man.conf</filename>, 79 and verify that it looks as follows:</para> 78 80 79 81 <screen>NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen> -
chapter06/module-init-tools.xml
rfd96303 r90b56f5 40 40 41 41 <screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen> 42 43 <para>The meaning of the configure options:</para> 44 45 <variablelist> 46 <varlistentry> 47 <term><parameter>--enable-zlib</parameter></term> 48 <listitem><para>This allows the Module-Init-Tools package to handle compressed 49 kernel modules.</para></listitem> 50 </varlistentry> 51 </variablelist> 42 52 43 53 <para>Compile the package:</para> -
chapter06/ncurses.xml
rfd96303 r90b56f5 57 57 <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen> 58 58 59 <para>Because the libraries have been moved, a few symlinks are pointingto59 <para>Because the libraries have been moved, a few symlinks point to 60 60 non-existent files. Recreate those symlinks:</para> 61 61 -
chapter06/perl.xml
rfd96303 r90b56f5 51 51 52 52 <para>To run the test suite, first create a basic 53 <filename>/etc/hosts</filename> file which is needed by a couple of 54 tests toresolve the network name localhost:</para>53 <filename>/etc/hosts</filename> file which is needed by a couple of the tests to 54 resolve the network name localhost:</para> 55 55 56 56 <screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> -
chapter06/psmisc.xml
rfd96303 r90b56f5 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Psmisc package contains programs for displaying information on14 processes.</para>13 <para>The Psmisc package contains programs for displaying information about 14 running processes.</para> 15 15 16 16 <segmentedlist> -
chapter06/readline.xml
rfd96303 r90b56f5 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Readline package contains the Readline command-line library.</para> 13 <para>The Readline package is a set of libraries that offers command-line 14 editing and history capabilities.</para> 14 15 15 16 <segmentedlist> … … 29 30 <title>Installation of Readline</title> 30 31 31 <para>The following patch includes a fix for the problem where 32 Readline sometimes only shows 33 characters on a line and then wraps 33 to the next line. It also includes other fixes recommended by the 34 Readline author.</para> 32 <para>The following patch includes a fix for a problem where Readline sometimes 33 only shows 33 characters on a line and then wraps to the next line. It also 34 includes other fixes recommended by the Readline author.</para> 35 35 36 36 <screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen> … … 62 62 <screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen> 63 63 64 <para>Now we move the static libraries to a more appropriate 65 location:</para> 64 <para>Now move the static libraries to a more appropriate location:</para> 66 65 67 66 <screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen> 68 67 69 <para>Next we willremove the <filename class="extension">.so</filename> files in70 <filename class="directory">/lib</filename> and relink them into 71 <filenameclass="directory">/usr/lib</filename>.</para>68 <para>Next, remove the <filename class="extension">.so</filename> files in 69 <filename class="directory">/lib</filename> and relink them into <filename 70 class="directory">/usr/lib</filename>.</para> 72 71 73 72 <screen><userinput>rm /lib/lib{readline,history}.so -
chapter06/shadow.xml
rfd96303 r90b56f5 49 49 50 50 <para id="shadow-limits-login_access">Shadow uses two files to configure 51 authentication settings for the system. Install these two config files:</para> 51 authentication settings for the system. Install these two configuration 52 files:</para> 52 53 53 54 <indexterm zone="shadow-limits-login_access"><primary sortas="e-/etc/limits">/etc/limits</primary></indexterm> … … 165 166 <term><command>chfn</command></term> 166 167 <listitem> 167 <para>Used to change a user's full name and other info </para>168 <para>Used to change a user's full name and other information</para> 168 169 <indexterm zone="ch-system-shadow chfn"><primary sortas="b-chfn">chfn</primary></indexterm> 169 170 </listitem> -
chapter06/vim.xml
rfd96303 r90b56f5 68 68 <screen><userinput>make</userinput></screen> 69 69 70 <para>To test the results, issue: 71 <userinput>make test</userinput>. However, this test suite outputs a 72 lot of chaotic characters to the screen, which can cause issues with 73 the settings of the current terminal. Therefore, running the test 74 suite here is optional.</para> 70 <para>To test the results, issue: <userinput>make test</userinput>. However, 71 this test suite outputs a lot of binary data to the screen, which can cause 72 issues with the settings of the current terminal. This can be resolved by 73 redirecting the output to a log file.</para> 75 74 76 75 <para>Install the package:</para> … … 98 97 <indexterm zone="conf-vim"><primary sortas="e-/etc/vim">/etc/vim</primary></indexterm> 99 98 100 <para>By default, <command>vim</command> runs in vi-incompatible mode. 101 This maybe new to users who have used other editors in the past. The102 <quote>nocompatible</quote> setting is included below to highlight the 103 fact that a new behavior is being used. It also reminds those who104 would change to <quote>compatible</quote> mode that it should appear 105 first.This is necessary because it changes other settings, and106 overrides must come after this setting. 99 <para>By default, <command>vim</command> runs in vi-incompatible mode. This may 100 be new to users who have used other editors in the past. The 101 <quote>nocompatible</quote> setting is included below to highlight the fact that 102 a new behavior is being used. It also reminds those who would change to 103 <quote>compatible</quote> mode that it should be the first setting in the 104 configuration file. This is necessary because it changes other settings, and 105 overrides must come after this setting. Create a default <command>vim</command> 107 106 configuration file by running the following:</para> 108 107 … … 232 231 <term><command>shtags.pl</command></term> 233 232 <listitem> 234 <para>Generates a tag file for Perl scripts</para>233 <para>Generates a tags file for Perl scripts</para> 235 234 <indexterm zone="ch-system-vim shtags.pl"><primary sortas="b-shtags.pl">shtags.pl</primary></indexterm> 236 235 </listitem> … … 240 239 <term><command>tcltags</command></term> 241 240 <listitem> 242 <para>Generates a tag file for TCL code</para>241 <para>Generates a tags file for TCL code</para> 243 242 <indexterm zone="ch-system-vim tcltags"><primary sortas="b-tcltags">tcltags</primary></indexterm> 244 243 </listitem> … … 304 303 <term><command>vimspell.sh</command></term> 305 304 <listitem> 306 <para>Spells a file and generates the syntax statements necessary 307 to highlight in <command>vim</command>. This script requires the old Unix <command>spell</command> 308 command, which is provided neither in LFS nor in BLFS</para> 305 <para>Spell checks a file and generates the syntax statements necessary to 306 highlight in <command>vim</command>. This script requires the old Unix 307 <command>spell</command> command, which is provided neither in LFS nor in 308 BLFS</para> 309 309 <indexterm zone="ch-system-vim vimspell.sh"><primary sortas="b-vimspell.sh">vimspell.sh</primary></indexterm> 310 310 </listitem> -
chapter06/zlib.xml
rfd96303 r90b56f5 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Zlib package contains compression and un-compression routines used by13 <para>The Zlib package contains compression and decompression routines used by 14 14 some programs.</para> 15 15
Note:
See TracChangeset
for help on using the changeset viewer.