Changeset 360fdfca
- Timestamp:
- 01/26/2024 05:28:53 PM (3 months ago)
- Branches:
- 12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
- Children:
- 0d80918a, f6a43f6
- Parents:
- 44850bb
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/hostreqs.xml
r44850bb r360fdfca 31 31 place software headers into separate packages, often in the form of 32 32 <quote><package-name>-devel</quote> or 33 <quote><package-name>-dev </quote>.Be sure to install those if33 <quote><package-name>-dev.</quote> Be sure to install those if 34 34 your distribution provides them.</para> 35 35 -
chapter02/mounting.xml
r44850bb r360fdfca 17 17 </para> 18 18 19 <para>Strictly speaking, one cannot "mount a partition ".One mounts the <emphasis>file19 <para>Strictly speaking, one cannot "mount a partition." One mounts the <emphasis>file 20 20 system</emphasis> embedded in that partition. But since a single partition can't contain 21 21 more than one file system, people often speak of the partition and the -
chapter02/stages.xml
r44850bb r360fdfca 70 70 <listitem> 71 71 <para>A few operations, from <quote>Changing Ownership</quote> to 72 <quote>Entering the Chroot Environment </quote>,must be done as the72 <quote>Entering the Chroot Environment,</quote> must be done as the 73 73 <systemitem class="username">root</systemitem> user, with the LFS 74 74 environment variable set for the &root; user.</para> -
chapter05/glibc.xml
r44850bb r360fdfca 160 160 161 161 <note><para>There have been reports that this package may fail when 162 building as a "parallel make".If that occurs, rerun the make command163 with the "-j1"option.</para></note>162 building as a <quote>parallel make.</quote> If that occurs, rerun the make command 163 with the <option>-j1</option> option.</para></note> 164 164 165 165 <para>Compile the package:</para> -
chapter06/file.xml
r44850bb r360fdfca 79 79 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen> 80 80 81 <!-- devs: if using - -build here, the build system wants to compile82 the signature file with "file" on the build system, but stops if it is not83 the same version. One possibility would be to build "file" on the build84 system first, but it is simpler to have the system think it is not85 cross-compiling, and use the just built "file". -->86 81 <para>Compile the package:</para> 87 82 -
chapter07/python.xml
r44850bb r360fdfca 46 46 <note> 47 47 <para>There are two package files whose name starts with 48 <quote>python </quote>.The one to extract from is48 <quote>python.</quote> The one to extract from is 49 49 <filename>Python-&python-version;.tar.xz</filename> (notice the 50 50 uppercase first letter).</para> -
chapter08/coreutils.xml
r44850bb r360fdfca 1262 1262 <term><command>yes</command></term> 1263 1263 <listitem> 1264 <para>Repeatedly outputs <quote>y </quote>,or a given string, until1264 <para>Repeatedly outputs <quote>y,</quote> or a given string, until 1265 1265 killed</para> 1266 1266 <indexterm zone="ch-system-coreutils yes"> -
chapter08/expect.xml
r44850bb r360fdfca 93 93 94 94 <para>If any test fails with the message 95 <quote><computeroutput>The system has no more ptys. 96 administrator to create more</computeroutput> </quote>,it indicates95 <quote><computeroutput>The system has no more ptys. Ask your system 96 administrator to create more</computeroutput>,</quote> it indicates 97 97 you've not mounted the 98 98 <systemitem class="filesystem">devpts</systemitem> file system -
chapter08/gmp.xml
r44850bb r360fdfca 59 59 60 60 <!-- To editors: the configure script says "the none host is obsolete, 61 use - -disable-assembly ",but don't believe it: with the latter61 use - -disable-assembly," but don't believe it: with the latter 62 62 CFLAGS is still automatically set to -march=something. --> 63 63 </note> … … 107 107 it is built. Occasionally, the code that detects the processor misidentifies 108 108 the system capabilities and there will be errors in the tests or other 109 applications using the gmp libraries with the message "Illegal 110 instruction". In this case, gmp should be reconfigured with the option 109 applications using the gmp libraries with the message 110 <computeroutput>Illegal instruction</computeroutput>. 111 In this case, gmp should be reconfigured with the option 111 112 <option>--host=none-linux-gnu</option> and rebuilt.</para></caution> 112 113 -
chapter08/stripping.xml
r44850bb r360fdfca 53 53 and ld-linux.so.2 on 32-bit systems. The construct below selects the 54 54 correct name for the current architecture, excluding anything ending 55 with <quote>g </quote>,in case the commands below have already been55 with <quote>g,</quote> in case the commands below have already been 56 56 run.</para></note> 57 57 -
chapter09/consoled.xml
r44850bb r360fdfca 31 31 32 32 <para>The <filename>/etc/vconsole.conf</filename> file should contain lines 33 of the form: VARIABLE="value". The following variables are recognized:</para>33 of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para> 34 34 35 35 <variablelist> -
chapter09/locale.xml
r44850bb r360fdfca 40 40 41 41 <para>Replace <replaceable><ll></replaceable> below with the two-letter code 42 for your desired language (e.g., < quote>en</quote>) and42 for your desired language (e.g., <literal>en</literal>) and 43 43 <replaceable><CC></replaceable> with the two-letter code for the appropriate 44 country (e.g., < quote>GB</quote>). <replaceable><charmap></replaceable> should44 country (e.g., <literal>GB</literal>). <replaceable><charmap></replaceable> should 45 45 be replaced with the canonical charmap for your chosen locale. Optional 46 modifiers such as < quote>@euro</quote> may also be present.</para>46 modifiers such as <literal>@euro</literal> may also be present.</para> 47 47 48 48 <para>The list of all locales supported by Glibc can be obtained by running … … 52 52 53 53 <para>Charmaps can have a number of aliases, e.g., <quote>ISO-8859-1</quote> 54 is also referred to as <quote>iso8859-1</quote> and <quote>iso88591 </quote>.54 is also referred to as <quote>iso8859-1</quote> and <quote>iso88591.</quote> 55 55 Some applications cannot handle the various synonyms correctly (e.g., require 56 that <quote>UTF-8</quote> is written as < quote>UTF-8</quote>,not57 < quote>utf8</quote>), so it is the safest in most56 that <quote>UTF-8</quote> is written as <literal>UTF-8,</literal> not 57 <literal>utf8</literal>), so it is the safest in most 58 58 cases to choose the canonical name for a particular locale. To determine 59 59 the canonical name, run the following command, where <replaceable><locale … … 68 68 <screen><computeroutput>ISO-8859-1</computeroutput></screen> 69 69 70 <para>This results in a final locale setting of < quote>en_GB.ISO-8859-1</quote>.70 <para>This results in a final locale setting of <literal>en_GB.ISO-8859-1</literal>. 71 71 It is important that the locale found using the heuristic above is tested prior 72 72 to it being added to the Bash startup files:</para> … … 90 90 Further instructions assume that there are no such error messages from 91 91 Glibc.</para> 92 93 <!-- FIXME: the xlib example will become obsolete in the future.-->94 <para>Some packages beyond LFS may also lack support for your chosen locale. One95 example is the X library (part of the X Window System), which outputs the96 following error message if the locale does not exactly match one of the character97 map names in its internal files:</para>98 99 <screen><computeroutput>Warning: locale not supported by Xlib, locale set to C</computeroutput></screen>100 101 <para>In several cases Xlib expects that the character map will be listed in102 uppercase notation with canonical dashes. For instance, "ISO-8859-1" rather103 than "iso88591". It is also possible to find an appropriate specification by104 removing the charmap part of the locale specification. This can be checked105 by running the <command>locale charmap</command> command in both locales.106 For example, one would have to change "de_DE.ISO-8859-15@euro" to107 "de_DE@euro" in order to get this locale recognized by Xlib.</para>108 92 109 93 <para>Other packages can also function incorrectly (but may not necessarily -
chapter09/network.xml
r44850bb r360fdfca 63 63 the interfaces up correctly.</para> 64 64 65 <para>If the <envar>ONBOOT</envar> variable is set to < quote>yes</quote> the65 <para>If the <envar>ONBOOT</envar> variable is set to <literal>yes</literal> the 66 66 System V network script will bring up the Network Interface Card (NIC) during 67 the system boot process. If set to anything besides < quote>yes</quote>, the NIC67 the system boot process. If set to anything besides <literal>yes</literal>, the NIC 68 68 will be ignored by the network script and will not be started automatically. 69 69 Interfaces can be manually started or stopped with the -
chapter09/networkd.xml
r44850bb r360fdfca 99 99 <listitem> 100 100 <para> 101 Create a manual naming scheme, for example by naming the 102 interfaces something like "internet0", "dmz0", or "lan0". 103 To do that, create .link files in /etc/systemd/network/ that 104 select an explicit name or a better naming scheme for your 105 network interfaces. For example: 101 Create a manual naming scheme, for example by naming the 102 interfaces something like <literal>internet0</literal>, 103 <literal>dmz0</literal>, or <literal>lan0</literal>. 104 To do that, create .link files in /etc/systemd/network/ that 105 select an explicit name or a better naming scheme for your 106 network interfaces. For example: 106 107 </para> 107 108 -
chapter09/profile.xml
r44850bb r360fdfca 76 76 77 77 <para>Charmaps can have a number of aliases, e.g., <quote>ISO-8859-1</quote> 78 is also referred to as <quote>iso8859-1</quote> and <quote>iso88591 </quote>.78 is also referred to as <quote>iso8859-1</quote> and <quote>iso88591.</quote> 79 79 Some applications cannot handle the various synonyms correctly (e.g., require 80 that <quote>UTF-8</quote> is written as < quote>UTF-8</quote>, not81 < quote>utf8</quote>), so it is safest in most80 that <quote>UTF-8</quote> is written as <literal>UTF-8</literal>, not 81 <literal>utf8</literal>), so it is safest in most 82 82 cases to choose the canonical name for a particular locale. To determine 83 83 the canonical name, run the following command, where <replaceable><locale … … 92 92 <screen><computeroutput>ISO-8859-1</computeroutput></screen> 93 93 94 <para>This results in a final locale setting of < quote>en_GB.ISO-8859-1</quote>.94 <para>This results in a final locale setting of <literal>en_GB.ISO-8859-1</literal>. 95 95 It is important that the locale found using the heuristic above is tested before 96 96 it is added to the Bash startup files:</para> … … 115 115 Glibc.</para> 116 116 117 <!-- FIXME: the xlib example will became obsolete real soon -->118 <!--<para>Some packages beyond LFS may also lack support for your chosen locale. One119 example is the X library (part of the X Window System), which outputs the120 following error message if the locale does not exactly match one of the character121 map names in its internal files:</para>122 123 <screen><computeroutput>Warning: locale not supported by Xlib, locale set to C</computeroutput></screen>124 125 <para>In several cases Xlib expects that the character map will be listed in126 uppercase notation with canonical dashes. For instance, "ISO-8859-1" rather127 than "iso88591". It is also possible to find an appropriate specification by128 removing the charmap part of the locale specification. This can be checked129 by running the <command>locale charmap</command> command in both locales.130 For example, one would have to change "de_DE.ISO-8859-15@euro" to131 "de_DE@euro" in order to get this locale recognized by Xlib.</para>132 -->133 117 <para>Other packages may also function incorrectly (but will not necessarily 134 118 display any error messages) if the locale name does not meet their expectations. -
chapter09/udev.xml
r44850bb r360fdfca 130 130 supported by a module. For example, the <emphasis>snd-fm801</emphasis> 131 131 driver supports PCI devices with vendor ID 0x1319 and device ID 0x0801, 132 and has an alias of < quote>pci:v00001319d00000801sv*sd*bc04sc01i*</quote>.132 and has an alias of <literal>pci:v00001319d00000801sv*sd*bc04sc01i*</literal>. 133 133 For most devices, the bus driver exports the alias of the driver that 134 134 would handle the device via <systemitem … … 136 136 <filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file 137 137 might contain the string 138 < quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>.138 <literal>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</literal>. 139 139 The default rules provided with udev will cause <command>udevd</command> 140 140 to call out to <command>/sbin/modprobe</command> with the contents of the … … 302 302 <para>This is due to the fact that udev, by design, handles uevents and 303 303 loads modules in parallel, and thus in an unpredictable order. This will 304 never be <quote>fixed </quote>.You should not rely upon the kernel device304 never be <quote>fixed.</quote> You should not rely upon the kernel device 305 305 names being stable. Instead, create your own rules that make symlinks with 306 306 stable names based on some stable attributes of the device, such as a -
chapter09/usage.xml
r44850bb r360fdfca 49 49 <note> 50 50 <para> 51 Classically, run level 2 above was defined as52 "multi-user mode without networking",but this was only the case53 54 55 we now say it is "reserved".51 Classically, run level 2 above was defined as <quote>multi-user 52 mode without networking,</quote> but this was only the case 53 many years ago when multiple users could connect to a system via 54 serial ports. In today's environment it makes no sense, and 55 we now say it is <quote>reserved.</quote> 56 56 </para> 57 57 </note> … … 349 349 350 350 <para>The <filename>/etc/sysconfig/console</filename> file should contain lines 351 of the form: VARIABLE="value". The following variables are recognized:</para>351 of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para> 352 352 <variablelist> 353 353 … … 357 357 <para>This variable specifies the log level for kernel messages sent 358 358 to the console as set by <command>dmesg -n</command>. Valid levels are 359 from "1" (no messages) to "8". The default level is "7".</para>359 from <literal>1</literal> (no messages) to <literal>8</literal>. The default level is <literal>7</literal>, which is quite verbose.</para> 360 360 </listitem> 361 361 </varlistentry> … … 366 366 <para>This variable specifies the arguments for the 367 367 <command>loadkeys</command> program, typically, the name of the keymap 368 to load, e.g., < quote>it</quote>. If this variable is not set, the368 to load, e.g., <literal>it</literal>. If this variable is not set, the 369 369 bootscript will not run the <command>loadkeys</command> program, 370 370 and the default kernel keymap will be used. Note that a few keymaps … … 385 385 is not completely satisfactory and a small adjustment has to be made. E.g., 386 386 to include the Euro sign into a keymap that normally doesn't have it, 387 set this variable to < quote>euro2</quote>.</para>387 set this variable to <literal>euro2</literal>.</para> 388 388 </listitem> 389 389 </varlistentry> … … 394 394 <para>This variable specifies the arguments for the 395 395 <command>setfont</command> program. Typically, this includes the font 396 name, < quote>-m</quote>, and the name of the application character396 name, <literal>-m</literal>, and the name of the application character 397 397 map to load. E.g., in order to load the <quote>lat1-16</quote> font 398 398 together with the <quote>8859-1</quote> application character map 399 399 (appropriate in the USA), 400 400 <!-- because of the copyright sign --> 401 set this variable to < quote>lat1-16 -m 8859-1</quote>.401 set this variable to <literal>lat1-16 -m 8859-1</literal>. 402 402 In UTF-8 mode, the kernel uses the application character map to 403 403 convert 8-bit key codes to UTF-8. Therefore … … 411 411 <term>UNICODE</term> 412 412 <listitem> 413 <para>Set this variable to < quote>1</quote>, <quote>yes</quote>, or414 < quote>true</quote> in order to put the413 <para>Set this variable to <literal>1</literal>, <literal>yes</literal>, or 414 <literal>true</literal> in order to put the 415 415 console into UTF-8 mode. This is useful in UTF-8 based locales and 416 416 harmful otherwise.</para> … … 527 527 characters, or two ASCII characters are composed together. However, in 528 528 UTF-8 mode it is a problem; e.g., for the Greek language, where one 529 sometimes needs to put an accent on the letter <quote>alpha </quote>.529 sometimes needs to put an accent on the letter <quote>alpha.</quote> 530 530 The solution is either to avoid the use of UTF-8, or to install the 531 531 X window system, which doesn't have this limitation, in its input -
chapter10/grub.xml
r44850bb r360fdfca 121 121 </note> 122 122 123 <!-- This does not seem to be true any more124 <note><para><application>grub-install</application> is a script and calls another125 program, grub-probe, that may fail with a message "cannot stat `/dev/root'".126 If so, create a temporary symbolic link from your root partition to /dev/root:</para>127 128 <screen role="nodump"><userinput>ln -sv /dev/sda2 /dev/root</userinput></screen>129 130 <para>The symbolic link will only be present until the system is rebooted.131 The link is only needed for the installation procedure.132 </para></note>133 -->134 123 </sect2> 135 124 -
part3intro/toolchaintechnotes.xml
r44850bb r360fdfca 57 57 <varlistentry><term>The build</term><listitem> 58 58 <para>is the machine where we build programs. Note that this machine 59 is also referred to as the <quote>host </quote>.</para></listitem>59 is also referred to as the <quote>host.</quote></para></listitem> 60 60 </varlistentry> 61 61 -
prologue/standards.xml
r44850bb r360fdfca 50 50 51 51 <para>While it is possible to create a complete system that will pass the LSB 52 certification tests "from scratch",this can't be done without many additional packages52 certification tests <quote>from scratch,</quote> this can't be done without many additional packages 53 53 that are beyond the scope of the LFS book. Installation instructions for these 54 54 additional packages can be found in BLFS. </para> -
prologue/typography.xml
r44850bb r360fdfca 86 86 specifically referring to <filename>/usr/share/man/man5/passwd.5</filename>. 87 87 <command>man passwd</command> will print the first man page it finds that 88 matches <quote>passwd </quote>,which will be88 matches <quote>passwd,</quote> which will be 89 89 <filename>/usr/share/man/man1/passwd.1</filename>. For this example, you will 90 90 need to run <command>man 5 passwd</command> in order to read the page
Note:
See TracChangeset
for help on using the changeset viewer.