- Timestamp:
- 05/03/2020 09:02:51 PM (4 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, 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:
- a715dec
- Parents:
- 9d719e2
- Location:
- chapter06
- Files:
-
- 1 deleted
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/acl.xml
r9d719e2 refcb393 51 51 --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen> 52 52 53 <screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \ 53 <screen revision="systemd"><userinput remap="configure"> 54 ./configure --prefix=/usr \ 54 55 --disable-static \ 55 56 --libexecdir=/usr/lib \ -
chapter06/attr.xml
r9d719e2 refcb393 44 44 <para>Prepare Attr for compilation:</para> 45 45 46 <screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \ 46 <screen revision="sysv"><userinput remap="configure"> 47 ./configure --prefix=/usr \ 47 48 --bindir=/bin \ 48 49 --disable-static \ … … 50 51 --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen> 51 52 52 <screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \ 53 <screen revision="systemd"><userinput remap="configure"> 54 ./configure --prefix=/usr \ 53 55 --disable-static \ 54 56 --sysconfdir=/etc \ -
chapter06/bc.xml
r9d719e2 refcb393 41 41 <sect2 role="installation"> 42 42 <title>Installation of Bc</title> 43 <!--44 <para>First, change an internal script to use <command>sed</command> instead45 of <command>ed</command>:</para>46 43 47 <screen><userinput remap="pre">cat > bc/fix-libmath_h << "EOF" 48 #! /bin/bash 49 sed -e '1 s/^/{"/' \ 50 -e 's/$/",/' \ 51 -e '2,$ s/^/"/' \ 52 -e '$ d' \ 53 -i libmath.h 44 <para>Prepare Bc for compilation:</para> 54 45 55 sed -e '$ s/$/0}/' \56 -i libmath.h57 EOF</userinput></screen>58 59 <para>Create temporary symbolic links so the package can find60 the readline library and confirm that its required libncurses61 library is available. Even though the libraries are in /tools/lib62 at this point, the system will use /usr/lib at the end of63 this chapter.</para>64 65 <screen><userinput remap="pre">ln -sv /tools/lib/libncursesw.so.6 /usr/lib/libncursesw.so.666 ln -sfv libncursesw.so.6 /usr/lib/libncurses.so</userinput></screen>67 68 <para>Fix an issue in <command>configure</command> due to missing69 files in the early stages of LFS:</para>70 71 <screen><userinput remap="pre">sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure</userinput></screen>72 -->73 <para>Prepare Bc for compilation:</para>74 <!--75 <screen><userinput remap="configure">./configure - -prefix=/usr \76 - -with-readline \77 - -mandir=/usr/share/man \78 - -infodir=/usr/share/info</userinput></screen>79 -->80 46 <screen><userinput remap="configure">PREFIX=/usr CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3</userinput></screen> 81 47 82 48 <variablelist> 83 49 <title>The meaning of the configure options:</title> 84 <!-- 85 <varlistentry> 86 <term><parameter>- -with-readline</parameter></term> 87 <listitem> 88 <para>This option tells Bc to use the <filename 89 class="libraryfile">readline</filename> library that is already 90 installed on the system rather than using its own readline 91 version.</para> 92 </listitem> 93 </varlistentry> 94 --> 50 95 51 <varlistentry> 96 52 <term><parameter>CC=gcc CFLAGS="-std=c99"</parameter></term> 97 53 <listitem> 98 <para>These parameters specify the compiler and C standard to use.</para>54 <para>These parameters specify the compiler and the C standard to use.</para> 99 55 </listitem> 100 56 </varlistentry> … … 119 75 120 76 <screen><userinput remap="make">make</userinput></screen> 121 <!--122 <para>To test bc, run the commands below. There is quite a bit of output,123 so you may want to redirect it to a file. There are a very small percentage124 of tests (10 of 12,144) that will indicate a round off error at the last125 digit.</para>126 127 <screen><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>128 -->129 77 130 78 <para>To test bc, run:</para> -
chapter06/bzip2.xml
r9d719e2 refcb393 91 91 <screen><userinput remap="install">cp -v bzip2-shared /bin/bzip2 92 92 cp -av libbz2.so* /lib 93 ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so 94 rm -v /usr/bin/{bunzip2,bzcat,bzip2} 95 ln -sv bzip2 /bin/bunzip2 96 ln -sv bzip2 /bin/bzcat</userinput></screen> 93 rm -v /usr/bin/{bunzip2,bzcat,bzip2}</userinput></screen> 97 94 98 95 </sect2> -
chapter06/chapter06.xml
r9d719e2 refcb393 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introduction.xml"/> 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kernfs.xml"/>16 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgmgt.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="chroot.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingdirs.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="createfiles.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="linux-headers.xml"/> 16 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="linux-headers.xml"/>--> 21 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="man-pages.xml"/> 18 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="adjusting.xml"/>--> 22 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glibc.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="adjusting.xml"/>24 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/> 25 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/> -
chapter06/check.xml
r9d719e2 refcb393 57 57 (up to 4 SBU) time.</para> 58 58 59 <para>Install the package and fix a script:</para>59 <para>Install the package:</para> 60 60 61 <screen><userinput remap="install">make docdir=/usr/share/doc/check-&check-version; install && 62 sed -i '1 s/tools/usr/' /usr/bin/checkmk</userinput></screen> 63 <!-- Removes a hardcoded call to /tools/bin/gawk at line 1 of checkmk. --> 61 <screen><userinput remap="install">make docdir=/usr/share/doc/check-&check-version; install</userinput></screen> 64 62 65 63 </sect2> -
chapter06/coreutils.xml
r9d719e2 refcb393 124 124 <screen><userinput remap="test">chown -Rv nobody . </userinput></screen> 125 125 126 <para>Now run the tests. Make sure the PATH in the <userinput>su</userinput> 127 environment includes /tools/bin.</para> 126 <para>Now run the tests:</para> 128 127 129 128 <screen><userinput remap="test">su nobody -s /bin/bash \ -
chapter06/e2fsprogs.xml
r9d719e2 refcb393 53 53 <para>Prepare E2fsprogs for compilation:</para> 54 54 55 <!--<screen><userinput remap="configure">LIBS=-L/tools/lib \56 CFLAGS=-I/tools/include \57 CFLAGS=-I/tools/include \58 PKG_CONFIG_PATH=/tools/lib/pkgconfig \59 ../configure - -prefix=/usr \-->60 55 <screen><userinput remap="configure">../configure --prefix=/usr \ 61 56 --bindir=/bin \ … … 69 64 <variablelist> 70 65 <title>The meaning of the environment variable and configure options:</title> 71 <!-- 72 <varlistentry> 73 <term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term> 74 <listitem> 75 <para>These variables enable e2fsprogs to be built using the 76 <xref linkend="ch-tools-util-linux"/> package built earlier.</para> 77 </listitem> 78 </varlistentry> 79 --> 66 80 67 <varlistentry> 81 68 <term><parameter>--with-root-prefix=""</parameter> and … … 118 105 119 106 <screen><userinput remap="make">make</userinput></screen> 120 <!--121 <para>To set up and run the test suite we need to first link some122 libraries from /tools/lib to a location where the test programs look.123 To run the tests, issue:</para>124 -->125 107 126 108 <para>To run the tests, issue:</para> 127 109 128 110 <screen><userinput remap="test">make check</userinput></screen> 129 <!--ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib -->130 <!--make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>-->131 111 132 112 <para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory. -
chapter06/flex.xml
r9d719e2 refcb393 51 51 Now, prepare Flex for compilation:</para> 52 52 53 <screen><userinput remap="configure">HELP2MAN=/ tools/bin/true \53 <screen><userinput remap="configure">HELP2MAN=/bin/true \ 54 54 ./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen> 55 55 -
chapter06/gcc.xml
r9d719e2 refcb393 59 59 <para>Prepare GCC for compilation:</para> 60 60 61 <screen><userinput remap="configure"> SED=sed\62 ../configure --prefix=/usr\61 <screen><userinput remap="configure">../configure --prefix=/usr \ 62 LD=ld \ 63 63 --enable-languages=c,c++ \ 64 64 --disable-multilib \ … … 72 72 73 73 <variablelist> 74 <title>The meaning of the new configure parameters:</title> 75 76 <varlistentry> 77 <term><envar>SED=sed</envar></term> 78 <listitem> 79 <para>Setting this environment variable prevents a hard-coded 80 path to /tools/bin/sed.</para> 81 </listitem> 82 </varlistentry> 83 <!-- 84 <varlistentry> 85 <term><parameter>- -disable-libmpx</parameter></term> 86 <listitem> 87 <para>This switch tells GCC to not build mpx (Memory Protection 88 Extensions) that can cause problems on some processors. It has 89 been removed from the next version of gcc.</para> 90 </listitem> 91 </varlistentry> 92 --> 74 <title>The meaning of the new configure parameter:</title> 75 93 76 <varlistentry> 94 77 <term><parameter>--with-system-zlib</parameter></term> … … 171 154 172 155 <screen><userinput remap="install">ln -sv ../usr/bin/cpp /lib</userinput></screen> 173 156 <!-- already done earlier 174 157 <para>Many packages use the name <command>cc</command> to call the C 175 158 compiler. To satisfy those packages, create a symlink:</para> 176 159 177 160 <screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen> 178 161 --> 179 162 <para>Add a compatibility symlink to enable building programs with 180 163 Link Time Optimization (LTO):</para> -
chapter06/glibc.xml
r9d719e2 refcb393 44 44 <title>Installation of Glibc</title> 45 45 46 <note><para>The Glibc build system is self-contained and will install47 perfectly, even though the compiler specs file and linker are still48 pointing to <filename class="directory">/tools</filename>. The specs49 and linker cannot be adjusted before the Glibc install because the50 Glibc autoconf tests would give false results and defeat the goal51 of achieving a clean build.</para></note>52 53 46 <para>Some of the Glibc programs use the non-FHS compliant 54 47 <filename class="directory">/var/db</filename> directory to store … … 67 60 <screen><userinput remap="pre">sed -i '/asm.socket.h/a# include <linux/sockios.h>' \ 68 61 sysdeps/unix/sysv/linux/bits/socket.h</userinput></screen> 69 --> 62 === already done === 70 63 <para>Create a symlink for LSB 71 64 compliance. Additionally, for x86_64, create a compatibility symlink … … 79 72 ;; 80 73 esac</userinput></screen> 81 <!-- 74 82 75 <para>Remove a file that may be left over from a previous build attempt: 83 76 </para> … … 93 86 <para>Prepare Glibc for compilation:</para> 94 87 95 <screen><userinput remap="configure">CC="gcc -ffile-prefix-map=/tools=/usr" \ 96 ../configure --prefix=/usr \ 97 --disable-werror \ 98 --enable-kernel=&min-kernel; \ 99 --enable-stack-protector=strong \ 100 --with-headers=/usr/include \ 88 <screen><userinput remap="configure">../configure --prefix=/usr \ 89 --disable-werror \ 90 --enable-kernel=&min-kernel; \ 91 --enable-stack-protector=strong \ 92 --with-headers=/usr/include \ 101 93 libc_cv_slibdir=/lib</userinput></screen> 102 103 <variablelist>94 <!-- WIP --> 95 <variablelist> 104 96 <title>The meaning of the options and new configure parameters:</title> 105 97 106 98 <varlistentry> 107 <term><parameter>CC="gcc -ffile-prefix-map=/tools=/usr"</parameter></term> 108 <listitem> 109 <para>Make GCC record any references to files in /tools in result 110 of the compilation as if the files resided in /usr. This avoids 111 introduction of invalid paths in debugging symbols.</para> 99 <term><parameter>CC="gcc -ffile-prefix-map=$LFS_DIR=$DIR"</parameter></term> 100 <listitem> 101 <para>Make GCC record any references to files in <filename 102 class="directory">/usr/lib/gcc/x86_64-lfs-linux-gnu</filename> 103 in result of the compilation as if the files resided in <filename 104 class="directory">/usr/lib/gcc/x86_64-pc-linux-gnu</filename>. 105 This avoids introduction of invalid paths in debugging 106 symbols.</para> 112 107 </listitem> 113 108 </varlistentry> … … 129 124 </listitem> 130 125 </varlistentry> 131 126 <!-- do we need this one? --> 132 127 <varlistentry> 133 128 <term><parameter>--with-headers=/usr/include</parameter></term> 134 129 <listitem> 135 130 <para>This option tells the build system where to find the 136 kernel API headers. By default, those headers are sought in 137 <filename class="directory">/tools/include</filename>.</para> 131 kernel API headers.</para> 138 132 </listitem> 139 133 </varlistentry> -
chapter06/introduction.xml
r9d719e2 refcb393 37 37 at the same time.</para> 38 38 39 <para>The order that packages are installed in this chapter needs to be40 strictly followed to ensure that no program accidentally acquires a path41 referring to <filename class="directory">/tools</filename> hard-wired into42 it. For the same reason, do not compile separate packages in parallel.43 Compiling in parallel may save time (especially on dual-CPU machines), but it44 could result in a program containing a hard-wired path to <filename45 class="directory">/tools</filename>, which will cause the program to stop46 working when that directory is removed.</para>47 48 39 <para>Before the installation instructions, each installation page provides 49 40 information about the package, including a concise description of what it -
chapter06/kbd.xml
r9d719e2 refcb393 61 61 <para>Prepare Kbd for compilation:</para> 62 62 63 <screen><userinput remap="configure"> PKG_CONFIG_PATH=/tools/lib/pkgconfig./configure --prefix=/usr --disable-vlock</userinput></screen>63 <screen><userinput remap="configure">./configure --prefix=/usr --disable-vlock</userinput></screen> 64 64 65 65 <variablelist> 66 66 <title>The meaning of the configure options:</title> 67 <!-- 68 <varlistentry> 69 <term><parameter>- -datadir=/lib/kbd</parameter></term> 70 <listitem> 71 <para>This option puts keyboard layout data in a directory that will 72 always be on the root partition instead of the default <filename 73 class="directory">/usr/share/kbd</filename>.</para> 74 </listitem> 75 </varlistentry> 76 --> 67 77 68 <varlistentry> 78 69 <term><parameter>--disable-vlock</parameter></term> … … 105 96 </note> 106 97 107 <!--108 <para>Some of the scripts in the LFS-Bootscripts package depend on109 <command>kbd_mode</command>, <command>loadkeys</command>,110 <command>openvt</command>, and111 <command>setfont</command>. As <filename class="directory">/usr</filename>112 may not be available during the early stages of booting, those binaries113 need to be on the root partition:</para>114 115 <screen><userinput remap="install">mv -v /usr/bin/{kbd_mode,loadkeys,openvt,setfont} /bin</userinput></screen>116 -->117 98 <para>If desired, install the documentation:</para> 118 99 -
chapter06/libpipeline.xml
r9d719e2 refcb393 46 46 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> 47 47 48 <!--49 <screen><userinput remap="configure">PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure - -prefix=/usr</userinput></screen>50 51 <variablelist>52 <title>The meaning of the configure options:</title>53 54 <varlistentry>55 <term><parameter>PKG_CONFIG_PATH</parameter></term>56 <listitem>57 <para>Use pkg-config to obtain the location of the test58 library metadata built in <xref linkend="ch-system-check"/>.</para>59 </listitem>60 </varlistentry>61 62 </variablelist>63 -->64 48 <para>Compile the package:</para> 65 49 -
chapter06/readline.xml
r9d719e2 refcb393 74 74 <para>Compile the package:</para> 75 75 76 <screen><userinput remap="make">make SHLIB_LIBS="- L/tools/lib -lncursesw"</userinput></screen>76 <screen><userinput remap="make">make SHLIB_LIBS="-lncursesw"</userinput></screen> 77 77 78 78 <variablelist> … … 80 80 81 81 <varlistentry> 82 <term><parameter>SHLIB_LIBS="- L/tools/lib -lncursesw"</parameter></term>82 <term><parameter>SHLIB_LIBS="-lncursesw"</parameter></term> 83 83 <listitem> 84 84 <para>This option forces Readline to link against the … … 93 93 <para>Install the package:</para> 94 94 95 <screen><userinput remap="install">make SHLIB_LIBS="- L/tools/lib -lncursesw" install</userinput></screen>95 <screen><userinput remap="install">make SHLIB_LIBS="-lncursesw" install</userinput></screen> 96 96 97 97 <para>Now move the dynamic libraries to a more appropriate location -
chapter06/revisedchroot.xml
r9d719e2 refcb393 27 27 /bin/bash --login</userinput></screen> 28 28 29 <para>The reason for this is that the programs in <filename 30 class="directory">/tools</filename> are no longer needed. For this reason 31 you can delete the <filename class="directory">/tools</filename> 32 directory if so desired.</para> 33 34 <note> 35 <para>Removing <filename class="directory">/tools</filename> will also 36 remove the temporary copies of Tcl, Expect, and DejaGNU which were used 37 for running the toolchain tests. If you need these programs later on, 38 they will need to be recompiled and re-installed. The BLFS book has 39 instructions for this (see <ulink url="&blfs-root;"/>).</para> 40 </note> 29 <para>Here the <parameter>+h</parameter> option is not used anymore, since 30 all the previous programs have been replaced: hashing is therefore 31 possible.</para> 41 32 42 33 <para>If the virtual kernel file systems have been unmounted, either manually -
chapter06/sed.xml
r9d719e2 refcb393 43 43 <para>First fix an issue in the LFS environment and remove a failing test:</para> 44 44 45 <screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man 46 sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen> 45 <screen><userinput remap="pre">sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen> 47 46 48 47 <para>Prepare Sed for compilation:</para> 49 48 50 49 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen> 51 <!--52 <variablelist>53 <title>The meaning of the new configure option:</title>54 50 55 <varlistentry>56 <term><parameter>-i -htmldir</parameter></term>57 <listitem>58 <para>This sets the installation directory for the HTML documentation.</para>59 </listitem>60 </varlistentry>61 </variablelist>62 -->63 51 <para>Compile the package and generate the HTML documentation:</para> 64 52 -
chapter06/shadow.xml
r9d719e2 refcb393 85 85 86 86 <screen><userinput remap="configure">touch /usr/bin/passwd 87 ./configure --sysconfdir=/etc --with-group-name-max-length=32</userinput></screen> 87 ./configure --sysconfdir=/etc \ 88 --with-group-name-max-length=32</userinput></screen> 88 89 89 90 <variablelist> -
chapter06/strippingagain.xml
r9d719e2 refcb393 57 57 unset LIB save_lib save_usrlib</userinput></screen> 58 58 59 <para>Before performing the stripping, take special care to ensure that59 <!-- <para>Before performing the stripping, take special care to ensure that 60 60 none of the binaries that are about to be stripped are running:</para> 61 61 62 62 <screen role="nodump"><userinput>exec /tools/bin/bash</userinput></screen> 63 63 64 <!-- 65 If 66 unsure whether the user entered chroot with the command given in 67 <xref linkend="ch-system-chroot" role=","/> first use the version 68 of bash we created in 69 chroot:</para> 64 <para>Now the binaries and libraries can be safely stripped:</para> 65 --> 66 <para>Now the binaries and libraries can be stripped:</para> 67 <screen><userinput>find /usr/lib -type f -name \*.a \ 68 -exec strip --strip-debug {} ';' 70 69 71 <screen role="nodump"><userinput>logout</userinput></screen> 70 find /lib /usr/lib -type f -name \*.so* ! -name \*dbg \ 71 -exec strip --strip-unneeded {} ';' 72 72 73 <para>Then reenter it with:</para> 74 75 <screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i \ 76 HOME=/root TERM=$TERM \ 77 PS1='(lfs chroot) \u:\w\$ ' \ 78 PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 79 /tools/bin/bash - -login</userinput></screen>--> 80 81 <para>Now the binaries and libraries can be safely stripped:</para> 82 83 <screen><userinput>/tools/bin/find /usr/lib -type f -name \*.a \ 84 -exec /tools/bin/strip --strip-debug {} ';' 85 86 /tools/bin/find /lib /usr/lib -type f \( -name \*.so* -a ! -name \*dbg \) \ 87 -exec /tools/bin/strip --strip-unneeded {} ';' 88 89 /tools/bin/find /{bin,sbin} /usr/{bin,sbin,libexec} -type f \ 90 -exec /tools/bin/strip --strip-all {} ';'</userinput></screen> 73 find /{bin,sbin} /usr/{bin,sbin,libexec} -type f \ 74 -exec strip --strip-all {} ';'</userinput></screen> 91 75 92 76 <para>A large number of files will be reported as having their file -
chapter06/systemd.xml
r9d719e2 refcb393 49 49 <para>Create a symlink to work around missing xsltproc:</para> 50 50 51 <screen><userinput remap="pre">ln -sf / tools/bin/true /usr/bin/xsltproc</userinput></screen>51 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen> 52 52 53 53 <para>Set up the man pages:</para> … … 102 102 <listitem> 103 103 <para>These switches provide location of binaries needed by 104 systemd at runtime that have not yet been installed, or who's 105 pkgconfig files are currently only in 106 <filename>/tools/lib/pkgconfig</filename>.</para> 104 systemd at runtime that have not yet been installed.</para> 107 105 </listitem> 108 106 </varlistentry> -
chapter06/util-linux.xml
r9d719e2 refcb393 55 55 <sect2 role="installation"> 56 56 <title>Installation of Util-linux</title> 57 <!--58 <para>First, fix one of the regression tests:</para>59 60 <screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E </E) <=/' -e 's/ne /eq /' \61 -i tests/ts/ipcs/limits2</userinput></screen>62 -->63 64 <para>Remove the earlier created symlinks and files:</para>65 66 <screen><userinput remap="pre">rm -vf /usr/include/{blkid,libfdisk,libmount,uuid}67 rm -vf /usr/lib/lib{blkid,fdisk,mount,uuid}.so*68 rm -vf /usr/lib/pkgconfig/{blkid,fdisk,mount,uuid}.pc</userinput></screen>69 57 70 58 <para>Prepare Util-linux for compilation:</para>
Note:
See TracChangeset
for help on using the changeset viewer.