Changeset e5846ef
- Timestamp:
- 06/30/2005 05:53:21 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4d938ef
- Parents:
- 7efa3be
- Location:
- chapter06
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/coreutils.xml
r7efa3be re5846ef 39 39 <screen><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen> 40 40 41 <para>Prevent Coreutils from installing binaries that will belater be41 <para>Prevent Coreutils from installing binaries that will later be 42 42 installed by other packages:</para> 43 43 … … 52 52 <screen><userinput>make</userinput></screen> 53 53 54 <para>The test suite of Coreutils makes several invalid assumptions about the 55 presence of system users and groups. Therefore, additional items need to be set 56 up before running the tests. Skip down to <quote>Install the package</quote> if 57 not running the test suite.</para> 54 <para>The test suite of Coreutils makes several assumptions about the presence 55 of system users and groups that are not valid within the minimal environment 56 that exists at the moment. Therefore, additional items need to be set up before 57 running the tests. Skip down to <quote>Install the package</quote> if not 58 running the test suite.</para> 58 59 59 60 <para>Create two dummy groups and a dummy user:</para> -
chapter06/e2fsprogs.xml
r7efa3be re5846ef 53 53 <varlistentry> 54 54 <term><parameter>--with-root-prefix=""</parameter></term> 55 <listitem><para>Certain programs (such as the 56 <command>e2fsck</command> program) are considered essential programs. 57 When, for example, <filename class="directory">/usr</filename> is not 58 mounted, these essential programs need to be available. They belong in 59 directories like <filename class="directory">/lib</filename> and 60 <filename class="directory">/sbin</filename>. If this option is not 61 passed to E2fsprogs' configure, the programs are installed into the62 <filename class="directory">/usr</filename> directory, which is not 63 where they should be.</para></listitem> 55 <listitem><para>Certain programs (such as the <command>e2fsck</command> program) 56 are considered essential programs. When, for example, <filename 57 class="directory">/usr</filename> is not mounted, these essential programs need 58 to be available. They belong in directories like <filename 59 class="directory">/lib</filename> and <filename 60 class="directory">/sbin</filename>. If this option is not passed to E2fsprogs' 61 configure, the programs are installed into the <filename 62 class="directory">/usr</filename> directory.</para></listitem> 63 64 64 </varlistentry> 65 65 … … 88 88 <userinput>make check</userinput>.</para> 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
r7efa3be re5846ef 13 13 14 14 <sect2 role="package"><title/> 15 <para>The File package contains a utility for determining the type of files.</para> 15 <para>The File package contains a utility for determining the type of a given 16 file or files.</para> 16 17 17 18 <segmentedlist> -
chapter06/findutils.xml
r7efa3be re5846ef 39 39 --localstatedir=/var/lib/locate</userinput></screen> 40 40 41 <para>The <parameter>localstatedir</parameter> directiveabove changes the41 <para>The <parameter>localstatedir</parameter> option above changes the 42 42 location of the <command>locate</command> database to be in <filename 43 43 class="directory">/var/lib/locate</filename>, which is FHS-compliant.</para> -
chapter06/flex.xml
r7efa3be re5846ef 118 118 <term><command>lex</command></term> 119 119 <listitem> 120 <para> Script that runs <command>flex</command> in <command>lex</command>120 <para>A script that runs <command>flex</command> in <command>lex</command> 121 121 emulation mode</para> 122 122 <indexterm zone="ch-system-flex lex"><primary sortas="b-lex">lex</primary></indexterm> -
chapter06/gettext.xml
r7efa3be re5846ef 197 197 <term><command>msgfmt</command></term> 198 198 <listitem> 199 <para>Generates a binary message catalog from froma translation catalog</para>199 <para>Generates a binary message catalog from a translation catalog</para> 200 200 <indexterm zone="ch-system-gettext msgfmt"><primary sortas="b-msgfmt">msgfmt</primary></indexterm> 201 201 </listitem> -
chapter06/groff.xml
r7efa3be re5846ef 107 107 108 108 <varlistentry id="geqn"> 109 <term><command> eqn</command></term>109 <term><command>geqn</command></term> 110 110 <listitem> 111 111 <para>A link to <command>eqn</command></para> … … 199 199 <term><command>gtbl</command></term> 200 200 <listitem> 201 <para> Is the GNU implementation of<command>tbl</command></para>201 <para>A link to <command>tbl</command></para> 202 202 <indexterm zone="ch-system-groff gtbl"><primary sortas="b-gtbl">gtbl</primary></indexterm> 203 203 </listitem> … … 363 363 <term><command>zsoelim</command></term> 364 364 <listitem> 365 <para> Is the GNU implementation of<command>soelim</command></para>365 <para>A link to <command>soelim</command></para> 366 366 <indexterm zone="ch-system-groff zsoelim"><primary sortas="b-zsoelim">zsoelim</primary></indexterm> 367 367 </listitem> -
chapter06/gzip.xml
r7efa3be re5846ef 86 86 <term><command>compress</command></term> 87 87 <listitem> 88 <para>Compresses and uncompresses compressedfiles</para>88 <para>Compresses and decompresses files</para> 89 89 <indexterm zone="ch-system-gzip compress"><primary sortas="b-compress">compress</primary></indexterm> 90 90 </listitem> … … 102 102 <term><command>gzexe</command></term> 103 103 <listitem> 104 <para>Creates self- uncompressing executable files</para>104 <para>Creates self-decompressing executable files</para> 105 105 <indexterm zone="ch-system-gzip gzexe"><primary sortas="b-gzexe">gzexe</primary></indexterm> 106 106 </listitem> -
chapter06/hotplug.xml
r7efa3be re5846ef 48 48 <screen><userinput>rm -rf /etc/init.d</userinput></screen> 49 49 50 <para>Network device hotplugging is not supported by LFS bootscripts yet. For50 <para>Network device hotplugging is not supported by LFS-Bootscripts yet. For 51 51 that reason, remove the network hotplug agent:</para> 52 52 -
chapter06/iana-etc.xml
r7efa3be re5846ef 30 30 <title>Installation of Iana-Etc</title> 31 31 32 <para>Parse the data:</para> 32 <para>The following command converts the raw data provided by IANA into the 33 correct formats for the <filename>/etc/protocols</filename> and 34 <filename>/etc/services</filename> data files:</para> 33 35 34 36 <screen><userinput>make</userinput></screen> -
chapter06/iproute2.xml
r7efa3be re5846ef 114 114 <listitem> 115 115 <para>Shows the interface statistics, including the amount of transmitted 116 and received pack ages by interface</para>116 and received packets by interface</para> 117 117 <indexterm zone="ch-system-iproute2 ifstat"> 118 118 <primary sortas="b-ifstat">ifstat</primary> -
chapter06/kbd.xml
r7efa3be re5846ef 104 104 <term><command>getunimap</command></term> 105 105 <listitem> 106 <para>Prints the currently used uni map</para>106 <para>Prints the currently used unicode-to-font mapping table</para> 107 107 <indexterm zone="ch-system-kbd getunimap"><primary sortas="b-getunimap">getunimap</primary></indexterm> 108 108 </listitem> -
chapter06/man.xml
r7efa3be re5846ef 69 69 <screen><userinput>make install</userinput></screen> 70 70 71 <note><para>To disable Select Graphic Rendition (SGR) escape 72 sequences, edit the <filename>man.conf</filename> file and 73 add the <parameter>-c</parameter> switch to 74 the <envar>NROFF</envar> variable.</para></note> 71 <note><para>If you will be working on a terminal that does not support text 72 attributes such as color and bold, you can disable Select Graphic Rendition 73 (SGR) escape sequences by editing the <filename>man.conf</filename> file and 74 adding the <parameter>-c</parameter> option to the <envar>NROFF</envar> 75 variable. If you use multiple terminal types for one computer it may be better 76 to selectively add the <envar>GROFF_NO_SGR</envar> environment variable for the 77 terminals that do not support SGR.</para></note> 75 78 76 <para>If the character set uses 8-bit characters, search for the line 77 beginning with <quote>NROFF</quote> in 78 <filename>/etc/man.conf</filename>, and verify that it looks as 79 follows:</para> 79 <para>If the character set of the locale uses 8-bit characters, search for the 80 line beginning with <quote>NROFF</quote> in <filename>/etc/man.conf</filename>, 81 and verify that it looks as follows:</para> 80 82 81 83 <screen>NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen> -
chapter06/module-init-tools.xml
r7efa3be re5846ef 42 42 43 43 <screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen> 44 45 <para>The meaning of the configure options:</para> 46 47 <variablelist> 48 <varlistentry> 49 <term><parameter>--enable-zlib</parameter></term> 50 <listitem><para>This allows the Module-Init-Tools package to handle compressed 51 kernel modules.</para></listitem> 52 </varlistentry> 53 </variablelist> 44 54 45 55 <para>Compile the package:</para> -
chapter06/ncurses.xml
r7efa3be re5846ef 59 59 <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen> 60 60 61 <para>Because the libraries have been moved, a few symlinks are pointingto61 <para>Because the libraries have been moved, a few symlinks point to 62 62 non-existent files. Recreate those symlinks:</para> 63 63 -
chapter06/perl.xml
r7efa3be re5846ef 53 53 54 54 <para>To run the test suite, first create a basic 55 <filename>/etc/hosts</filename> file which is needed by a couple of 56 tests toresolve the network name localhost:</para>55 <filename>/etc/hosts</filename> file which is needed by a couple of the tests to 56 resolve the network name localhost:</para> 57 57 58 58 <screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> -
chapter06/psmisc.xml
r7efa3be re5846ef 13 13 14 14 <sect2 role="package"><title/> 15 <para>The Psmisc package contains programs for displaying information on16 processes.</para>15 <para>The Psmisc package contains programs for displaying information about 16 running processes.</para> 17 17 18 18 <segmentedlist> -
chapter06/readline.xml
r7efa3be re5846ef 13 13 14 14 <sect2 role="package"><title/> 15 <para>The Readline package contains the Readline command-line library.</para> 15 <para>The Readline package is a set of libraries that offers command-line 16 editing and history capabilities.</para> 16 17 17 18 <segmentedlist> … … 31 32 <title>Installation of Readline</title> 32 33 33 <para>The following patch includes a fix for the problem where 34 Readline sometimes only shows 33 characters on a line and then wraps 35 to the next line. It also includes other fixes recommended by the 36 Readline author.</para> 34 <para>The following patch includes a fix for a problem where Readline sometimes 35 only shows 33 characters on a line and then wraps to the next line. It also 36 includes other fixes recommended by the Readline author.</para> 37 37 38 38 <screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen> … … 64 64 <screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen> 65 65 66 <para>Now we move the static libraries to a more appropriate 67 location:</para> 66 <para>Now move the static libraries to a more appropriate location:</para> 68 67 69 68 <screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen> 70 69 71 <para>Next we willremove the <filename class="extension">.so</filename> files in72 <filename class="directory">/lib</filename> and relink them into 73 <filenameclass="directory">/usr/lib</filename>.</para>70 <para>Next, remove the <filename class="extension">.so</filename> files in 71 <filename class="directory">/lib</filename> and relink them into <filename 72 class="directory">/usr/lib</filename>.</para> 74 73 75 74 <screen><userinput>rm /lib/lib{readline,history}.so -
chapter06/shadow.xml
r7efa3be re5846ef 51 51 52 52 <para id="shadow-limits-login_access">Shadow uses two files to configure 53 authentication settings for the system. Install these two config files:</para> 53 authentication settings for the system. Install these two configuration 54 files:</para> 54 55 55 56 <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
r7efa3be re5846ef 70 70 <screen><userinput>make</userinput></screen> 71 71 72 <para>To test the results, issue: 73 <userinput>make test</userinput>. However, this test suite outputs a 74 lot of chaotic characters to the screen, which can cause issues with 75 the settings of the current terminal. Therefore, running the test 76 suite here is optional.</para> 72 <para>To test the results, issue: <userinput>make test</userinput>. However, 73 this test suite outputs a lot of binary data to the screen, which can cause 74 issues with the settings of the current terminal. This can be resolved by 75 redirecting the output to a log file.</para> 77 76 78 77 <para>Install the package:</para> … … 100 99 <indexterm zone="conf-vim"><primary sortas="e-/etc/vim">/etc/vim</primary></indexterm> 101 100 102 <para>By default, <command>vim</command> runs in vi-incompatible mode. 103 This maybe new to users who have used other editors in the past. The104 <quote>nocompatible</quote> setting is included below to highlight the 105 fact that a new behavior is being used. It also reminds those who106 would change to <quote>compatible</quote> mode that it should appear 107 first.This is necessary because it changes other settings, and108 overrides must come after this setting. 101 <para>By default, <command>vim</command> runs in vi-incompatible mode. This may 102 be new to users who have used other editors in the past. The 103 <quote>nocompatible</quote> setting is included below to highlight the fact that 104 a new behavior is being used. It also reminds those who would change to 105 <quote>compatible</quote> mode that it should be the first setting in the 106 configuration file. This is necessary because it changes other settings, and 107 overrides must come after this setting. Create a default <command>vim</command> 109 108 configuration file by running the following:</para> 110 109 … … 234 233 <term><command>shtags.pl</command></term> 235 234 <listitem> 236 <para>Generates a tag file for Perl scripts</para>235 <para>Generates a tags file for Perl scripts</para> 237 236 <indexterm zone="ch-system-vim shtags.pl"><primary sortas="b-shtags.pl">shtags.pl</primary></indexterm> 238 237 </listitem> … … 242 241 <term><command>tcltags</command></term> 243 242 <listitem> 244 <para>Generates a tag file for TCL code</para>243 <para>Generates a tags file for TCL code</para> 245 244 <indexterm zone="ch-system-vim tcltags"><primary sortas="b-tcltags">tcltags</primary></indexterm> 246 245 </listitem> … … 306 305 <term><command>vimspell.sh</command></term> 307 306 <listitem> 308 <para>Spells a file and generates the syntax statements necessary 309 to highlight in <command>vim</command>. This script requires the old Unix <command>spell</command> 310 command, which is provided neither in LFS nor in BLFS</para> 307 <para>Spell checks a file and generates the syntax statements necessary to 308 highlight in <command>vim</command>. This script requires the old Unix 309 <command>spell</command> command, which is provided neither in LFS nor in 310 BLFS</para> 311 311 <indexterm zone="ch-system-vim vimspell.sh"><primary sortas="b-vimspell.sh">vimspell.sh</primary></indexterm> 312 312 </listitem> -
chapter06/zlib.xml
r7efa3be re5846ef 13 13 14 14 <sect2 role="package"><title/> 15 <para>The Zlib package contains compression and un-compression routines used by15 <para>The Zlib package contains compression and decompression routines used by 16 16 some programs.</para> 17 17
Note:
See TracChangeset
for help on using the changeset viewer.