- Timestamp:
- 07/26/2014 10:56:45 AM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 2559640d
- Parents:
- ba9a546
- Location:
- chapter06
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils.xml
rba9a546 r63e8d0a 69 69 70 70 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen> 71 72 <para>Fix some LTO tests in the test suite:</para> 73 74 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-testsuite-patch;</userinput></screen> 71 75 72 76 <para>The Binutils documentation recommends building Binutils outside of the -
chapter06/coreutils.xml
rba9a546 r63e8d0a 41 41 <sect2 role="installation"> 42 42 <title>Installation of Coreutils</title> 43 43 <!-- 44 44 <para>First, fix a segfault in <command>shuf</command> program:</para> 45 45 46 46 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-shuf-segfault-patch;</userinput></screen> 47 --> 47 48 48 49 <para>POSIX requires that programs from Coreutils recognize character 49 boundaries correctly even in multibyte locales. The following patch 50 fixes this non-compliance and other internationalization-related bugs:</para> 51 52 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen> 50 boundaries correctly even in multibyte locales. The following patch fixes 51 this non-compliance and other internationalization-related bugs. 52 Afterwards make sure the timestamp for <filename>Makefile.in</filename> is 53 later than all other files to prevent a <command>make</command> 54 error:</para> 55 56 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch; && 57 touch Makefile.in</userinput></screen> 53 58 54 59 <note> -
chapter06/creatingdirs.xml
rba9a546 r63e8d0a 54 54 55 55 <para>The directory tree is based on the Filesystem Hierarchy Standard (FHS) 56 (available at <ulink url="http://www.pathname.com/fhs/"/>). In addition to 57 the FHS, we create compatibility symlinks for the <filename 58 class="directory">man</filename>, <filename 59 class="directory">doc</filename>, and <filename 60 class="directory">info</filename> directories since many packages still try 61 to install their documentation into <filename 62 class="directory">/usr/<directory></filename> or <filename 63 class="directory">/usr/local/<directory></filename> as opposed to 64 <filename class="directory">/usr/share/<directory></filename> or 65 <filename class="directory">/usr/local/share/<directory></filename>. 56 (available at <ulink url="http://www.pathname.com/fhs/"/>). 66 57 The FHS also stipulates the existence of <filename 67 58 class="directory">/usr/local/games</filename> and <filename -
chapter06/dbus.xml
rba9a546 r63e8d0a 94 94 <screen><userinput remap="install">ln -sv /etc/machine-id /var/lib/dbus</userinput></screen> 95 95 96 <para>Finally, generate a D-Bus UUID to avoid possible warnings97 when building some packages in BLFS:</para>98 99 <screen><userinput remap="install">dbus-uuidgen --ensure</userinput></screen>100 101 96 </sect2> 102 97 -
chapter06/e2fsprogs.xml
rba9a546 r63e8d0a 45 45 <title>Installation of E2fsprogs</title> 46 46 47 <para>First fix some problemswith running regression tests in the LFS chroot47 <para>First fix a problem with running regression tests in the LFS chroot 48 48 environment:</para> 49 49 50 <screen><userinput remap="pre">patch -Np1 -i ../&e2fsprogs-fix-test-patch; 51 sed -i -e 's|^LD_LIBRARY_PATH.*|&:/tools/lib|' tests/test_config</userinput></screen> 50 <screen><userinput remap="pre">sed -i -e 's|^LD_LIBRARY_PATH.*|&:/tools/lib|' tests/test_config</userinput></screen> 52 51 53 52 <para>The E2fsprogs documentation recommends that the package be built in … … 173 172 <segtitle>Installed programs</segtitle> 174 173 <segtitle>Installed libraries</segtitle> 175 <segtitle>Installed director y</segtitle>174 <segtitle>Installed directories</segtitle> 176 175 177 176 <seglistitem> -
chapter06/flex.xml
rba9a546 r63e8d0a 85 85 <segtitle>Installed programs</segtitle> 86 86 <segtitle>Installed libraries</segtitle> 87 <segtitle>Installed director ies</segtitle>87 <segtitle>Installed directory</segtitle> 88 88 89 89 <seglistitem> -
chapter06/gcc.xml
rba9a546 r63e8d0a 41 41 <sect2 role="installation"> 42 42 <title>Installation of GCC</title> 43 43 <!-- 44 44 <para>First fix a problem identified upstream that causes some 45 45 programs to fail:</para> 46 46 47 47 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen> 48 --> 48 49 <!-- 49 50 <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following … … 155 156 156 157 <screen><userinput remap="install">install -dm755 /usr/lib/bfd-plugins 157 pushd /usr/lib/bfd-plugins 158 159 if [ $(uname -m) == "i686" ]; then 160 ln -sfv ../../libexec/gcc/i686-pc-linux-gnu/&gcc-version;/liblto_plugin.so 161 else 162 ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/&gcc-version;/liblto_plugin.so 163 fi 164 165 popd</userinput></screen> 158 ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /usr/lib/bfd-plugins/</userinput></screen> 166 159 167 160 <para>Now that our final toolchain is in place, it is important to again ensure -
chapter06/gdbm.xml
rba9a546 r63e8d0a 80 80 81 81 <segmentedlist> 82 <segtitle>Installed program </segtitle>82 <segtitle>Installed programs</segtitle> 83 83 <segtitle>Installed libraries</segtitle> 84 84 -
chapter06/gperf.xml
rba9a546 r63e8d0a 63 63 64 64 <segmentedlist> 65 <segtitle>Installed program s</segtitle>65 <segtitle>Installed program</segtitle> 66 66 67 67 <seglistitem> -
chapter06/inetutils.xml
rba9a546 r63e8d0a 51 51 --localstatedir=/var \ 52 52 --disable-logger \ 53 --disable-syslogd \54 53 --disable-whois \ 55 54 --disable-servers</userinput></screen> … … 65 64 pass messages to the System Log Daemon. Do not install it because 66 65 Util-linux installed a version earlier.</para> 67 </listitem>68 </varlistentry>69 70 <varlistentry>71 <term><parameter>--disable-syslogd</parameter></term>72 <listitem>73 <para>This option prevents Inetutils from installing the System Log74 Daemon, which is installed with the Sysklogd package.</para>75 66 </listitem> 76 67 </varlistentry> -
chapter06/intltool.xml
rba9a546 r63e8d0a 65 65 66 66 <segmentedlist> 67 <segtitle>Installed program </segtitle>67 <segtitle>Installed programs</segtitle> 68 68 <segtitle>Installed directories</segtitle> 69 69 -
chapter06/iproute2.xml
rba9a546 r63e8d0a 66 66 it is not possible to reliably run these tests from within the chroot 67 67 environment. If you wish to run these tests after booting into your new LFS 68 system, ensure you select <filename>/proc/config.gz</filename>69 CONFIG_IKCONFIG_PROC("General setup" -> "Enable access to70 .config through /proc/config.gz" ) support into your kernelthen run68 system, ensure you enable <filename>/proc/config.gz</filename> support 69 in your kernel ("General setup" -> "Enable access to 70 .config through /proc/config.gz" [CONFIG_IKCONFIG_PROC]), then run 71 71 'make alltests' from the <filename class="directory">testsuite/</filename> 72 72 subdirectory.</para> -
chapter06/kbd.xml
rba9a546 r63e8d0a 271 271 <term><command>psfaddtable</command></term> 272 272 <listitem> 273 <para>A link to <command>psfxtable</command></para>273 <para>Adds a Unicode character table to a console font</para> 274 274 <indexterm zone="ch-system-kbd psfaddtable"> 275 275 <primary sortas="b-psfaddtable">psfaddtable</primary> … … 281 281 <term><command>psfgettable</command></term> 282 282 <listitem> 283 <para>A link to <command>psfxtable</command></para> 283 <para>Extracts the embedded Unicode character table from a console 284 font</para> 284 285 <indexterm zone="ch-system-kbd psfgettable"> 285 286 <primary sortas="b-psfgettable">psfgettable</primary> … … 291 292 <term><command>psfstriptable</command></term> 292 293 <listitem> 293 <para>A link to <command>psfxtable</command></para> 294 <para>Removes the embedded Unicode character table from a console 295 font</para> 294 296 <indexterm zone="ch-system-kbd psfstriptable"> 295 297 <primary sortas="b-psfstriptable">psfstriptable</primary> … … 301 303 <term><command>psfxtable</command></term> 302 304 <listitem> 303 <para>Handle Unicode character tables for console fonts</para>305 <para>Handles Unicode character tables for console fonts</para> 304 306 <indexterm zone="ch-system-kbd psfxtable"> 305 307 <primary sortas="b-psfxtable">psfxtable</primary> -
chapter06/kmod.xml
rba9a546 r63e8d0a 79 79 <screen><userinput remap="test">make check</userinput></screen> 80 80 81 <para>Install the package and man pages, and create symlinks for81 <para>Install the package, and create symlinks for 82 82 compatibility with Module-Init-Tools (the package that previously handled 83 83 Linux kernel modules):</para> … … 98 98 <segmentedlist> 99 99 <segtitle>Installed programs</segtitle> 100 <segtitle>Installed librar ies</segtitle>100 <segtitle>Installed library</segtitle> 101 101 102 102 <seglistitem> -
chapter06/libpipeline.xml
rba9a546 r63e8d0a 77 77 78 78 <segmentedlist> 79 <segtitle>Installed librar ies</segtitle>79 <segtitle>Installed library</segtitle> 80 80 81 81 <seglistitem> -
chapter06/mpfr.xml
rba9a546 r63e8d0a 53 53 --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen> 54 54 55 <para>Compile the package :</para>55 <para>Compile the package and generate the HTML documentation:</para> 56 56 57 <screen><userinput remap="make">make</userinput></screen> 57 <screen><userinput remap="make">make 58 make html</userinput></screen> 58 59 59 60 <important> … … 66 67 <screen><userinput remap="test">make check</userinput></screen> 67 68 68 <para>Install the package :</para>69 <para>Install the package and its documentation:</para> 69 70 70 <screen><userinput remap="install">make install</userinput></screen> 71 72 <para>Install the documentation:</para> 73 74 <screen><userinput remap="make">make html 75 </userinput><userinput remap="install">make install-html</userinput></screen> 71 <screen><userinput remap="install">make install 72 make install-html</userinput></screen> 76 73 77 74 </sect2> -
chapter06/procps.xml
rba9a546 r63e8d0a 129 129 <term><command>pidof</command></term> 130 130 <listitem> 131 <para> Looks up processes based on their name and other attributes</para>131 <para>Reports the PIDs of the given programs</para> 132 132 <indexterm zone="ch-system-procps pidof"> 133 133 <primary sortas="b-pidof">pidof</primary> -
chapter06/systemd.xml
rba9a546 r63e8d0a 63 63 <para>Prepare systemd for compilation:</para> 64 64 65 <screen><userinput remap="configure">./configure --prefix=/usr \65 <screen><userinput remap="configure">./configure --prefix=/usr \ 66 66 --sysconfdir=/etc \ 67 67 --localstatedir=/var \ -
chapter06/texinfo.xml
rba9a546 r63e8d0a 85 85 recreated, the following optional commands will accomplish the task:</para> 86 86 87 <screen role="nodump"><userinput> cd /usr/share/info87 <screen role="nodump"><userinput>pushd /usr/share/info 88 88 rm -v dir 89 89 for f in * 90 do install-info $f dir 2>/dev/null 91 done</userinput></screen> 90 do install-info $f dir 2>/dev/null 91 done 92 popd</userinput></screen> 92 93 93 94 </sect2> -
chapter06/util-linux.xml
rba9a546 r63e8d0a 46 46 class="directory">/var/lib/hwclock</filename> directory instead of the 47 47 usual <filename class="directory">/etc</filename> directory as the 48 location for the <filename>adjtime</filename> file. To make the 49 <command>hwclock</command> program FHS-compliant, run the 50 following:</para> 51 52 <screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ 53 $(grep -rl '/etc/adjtime' .) 54 55 mkdir -pv /var/lib/hwclock</userinput></screen> 48 location for the <filename>adjtime</filename> file. First create a directory 49 to enable storage for the <command>hwclock</command> program:</para> 50 51 <screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen> 56 52 57 53 </sect2> … … 62 58 <para>Prepare Util-linux for compilation:</para> 63 59 64 <screen><userinput remap="configure">./configure </userinput></screen>60 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock</userinput></screen> 65 61 66 62 <para>Compile the package:</para> … … 80 76 </warning> 81 77 82 <note><para>Two tests, last/ipv6 and last/last, fail in the chroot environment83 due to the DNS resolver not being active yet. If the tests are rerun after84 booting, they pass.</para></note>85 86 78 <screen><userinput remap="test">chown -Rv nobody . 87 79 su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen> … … 103 95 <seglistitem> 104 96 <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu, 105 chrt, col, colcrt, colrm, column, ctrlaltdel, cytune,delpart, dmesg,97 chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg, 106 98 eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck, 107 99 fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, 108 100 i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to 109 101 last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu, 110 lslocks, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,102 lslocks, lslogins, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, 111 103 more, mount, mountpoint, namei, partx, pg, pivot_root, prlimit, raw, 112 104 readprofile, rename, renice, resizepart, rev, rtcwake, script, … … 118 110 <seg>libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}</seg> 119 111 120 <seg>/ usr/include/blkid, /usr/include/libmount, /usr/include/uuid,121 /usr/ share/doc/util-linux/getopt, /var/lib/hwclock</seg>112 <seg>/etc/terminal-colors.d, /usr/include/blkid, /usr/include/libmount, 113 /usr/include/uuid, /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg> 122 114 </seglistitem> 123 115 </segmentedlist> … … 269 261 <indexterm zone="ch-system-util-linux ctrlaltdel"> 270 262 <primary sortas="b-ctrlaltdel">ctrlaltdel</primary> 271 </indexterm>272 </listitem>273 </varlistentry>274 275 <varlistentry id="cytune">276 <term><command>cytune</command></term>277 <listitem>278 <para>Tunes the parameters of the serial line drivers for279 Cyclades cards</para>280 <indexterm zone="ch-system-util-linux cytune">281 <primary sortas="b-cytune">cytune</primary>282 263 </indexterm> 283 264 </listitem> … … 647 628 </varlistentry> 648 629 630 <varlistentry id="lslogins"> 631 <term><command>lslogins</command></term> 632 <listitem> 633 <para>Lists information about users, groups and system accounts</para> 634 <indexterm zone="ch-system-util-linux lslogins"> 635 <primary sortas="b-lslogins">lslogins</primary> 636 </indexterm> 637 </listitem> 638 </varlistentry> 639 649 640 <varlistentry id="mcookie"> 650 641 <term><command>mcookie</command></term> -
chapter06/vim.xml
rba9a546 r63e8d0a 120 120 process, refer to the Vim documentation and the Vim installation page 121 121 in the BLFS book at <ulink 122 url="&blfs-root;view/svn/postlfs/ editors.html#postlfs-editors-vim"/>.</para>122 url="&blfs-root;view/svn/postlfs/vim.html"/>.</para> 123 123 124 124 </sect2> … … 196 196 <segmentedlist> 197 197 <segtitle>Installed programs</segtitle> 198 <segtitle>Installed director y</segtitle>198 <segtitle>Installed directories</segtitle> 199 199 200 200 <seglistitem> … … 202 202 (link to vim), view (link to vim), vim, vimdiff (link to vim), vimtutor, 203 203 and xxd</seg> 204 <seg>/usr/share/ vim</seg>204 <seg>/usr/share/doc/vim-&vim-version;, /usr/share/vim</seg> 205 205 </seglistitem> 206 206 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.