- Timestamp:
- 03/31/2021 10:41:41 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 61385ca
- Parents:
- eef83ea
- git-author:
- Thomas Trepl <thomas@…> (03/30/2021 08:47:28 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:41 AM)
- Location:
- chapter08
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/autoconf.xml
reef83ea rceebda5 66 66 Autoconf can be re-tested after Automake has been installed. In addition, 67 67 two tests fail due to changes in libtool-2.4.3 and later.</para> 68 68 --> 69 69 <note><para>The test time for autoconf can be reduced significantly on a 70 70 system with multiple cores. To do this, append … … 72 72 instance, using -j4 can reduce the test time by over 60 73 73 percent.</para></note> 74 --> 74 75 75 <para>Install the package:</para> 76 76 -
chapter08/bc.xml
reef83ea rceebda5 44 44 <para>Prepare Bc for compilation:</para> 45 45 46 <screen><userinput remap="configure"> PREFIX=/usr CC=gcc ./configure.sh-G -O3</userinput></screen>46 <screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3</userinput></screen> 47 47 48 48 <variablelist> … … 50 50 51 51 <varlistentry> 52 <term><parameter>CC=gcc "</parameter></term>52 <term><parameter>CC=gcc</parameter></term> 53 53 <listitem> 54 <para>Th ese parameters specifythe compiler to use.</para>54 <para>This parameter specifies the compiler to use.</para> 55 55 </listitem> 56 56 </varlistentry> -
chapter08/binutils.xml
reef83ea rceebda5 154 154 class="directory">$(exec_prefix)/$(target_alias)</filename>. For 155 155 example, x86_64 machines would expand that to <filename 156 class="directory">/usr/x86_64- unknown-linux-gnu</filename>. Because this is156 class="directory">/usr/x86_64-pc-linux-gnu</filename>. Because this is 157 157 a custom system, this target-specific directory in <filename 158 158 class="directory">/usr</filename> is not required. <filename … … 180 180 <para>Install the package:</para> 181 181 182 <screen><userinput remap="install">make tooldir=/usr install </userinput></screen>182 <screen><userinput remap="install">make tooldir=/usr install -j1</userinput></screen> 183 183 184 184 <para>Remove useless static libraries:</para> -
chapter08/coreutils.xml
reef83ea rceebda5 195 195 <listitem> 196 196 <para>Is an actual command, /usr/bin/[, that is a synonym 197 for the <command>test</command> command .</para>197 for the <command>test</command> command</para> 198 198 <indexterm zone="ch-system-coreutils lbracket"> 199 199 <primary sortas="b-111">[</primary> -
chapter08/file.xml
reef83ea rceebda5 57 57 58 58 <screen><userinput remap="install">make install</userinput></screen> 59 60 <para><command>/bin/more</command> from util-linux will link to 61 <filename class="libraryfile">libmagic.so</filename>, so the shared 62 library should be moved to <filename class="directory">/lib</filename>, 63 and as a result the 64 <filename class="extension">.so</filename> file in 65 <filename class="directory">/usr/lib</filename> will need to be recreated:</para> 66 67 <screen><userinput remap="install">mv -v /usr/lib/libmagic.so.* /lib 68 ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) /usr/lib/libmagic.so</userinput></screen> 59 69 60 70 </sect2> -
chapter08/gmp.xml
reef83ea rceebda5 107 107 applications using the gmp libraries with the message "Illegal 108 108 instruction". In this case, gmp should be reconfigured with the option 109 --build=x86_64- unknown-linux-gnu and rebuilt.</para></caution>109 --build=x86_64-pc-linux-gnu and rebuilt.</para></caution> 110 110 111 111 <para>Ensure that all 197 tests in the test suite passed. -
chapter08/grub.xml
reef83ea rceebda5 41 41 <title>Installation of GRUB</title> 42 42 43 <para>First, fix an issue introduced by binutils-2.36:</para>44 45 <screen><userinput remap="pre">sed "s/gold-version/& -R .note.gnu.property/" \46 -i Makefile.in grub-core/Makefile.in</userinput></screen>47 48 43 <para>Prepare GRUB for compilation:</para> 49 44 … … 79 74 <screen><userinput remap="make">make</userinput></screen> 80 75 81 <para>This package does not come with a test suite.</para> 76 <para>The test suite for this packages is not recommended. Most of 77 the tests depend on packages that are not available in the limited 78 LFS environment. To run the tests anyway, run <command>make check</command>.</para> 82 79 83 80 <para>Install the package:</para> -
chapter08/meson.xml
reef83ea rceebda5 64 64 65 65 <screen><userinput remap="install">python3 setup.py install --root=dest 66 cp -rv dest/* /</userinput></screen> 66 cp -rv dest/* / 67 install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson 68 install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen> 67 69 68 70 <variablelist> -
chapter08/python.xml
reef83ea rceebda5 42 42 <sect2 role="installation"> 43 43 <title>Installation of Python 3</title> 44 45 <para>First, a header file needs to be fixed:</para> 46 47 <screen><userinput remap="pre">sed 's|cpython/||' -i Include/cpython/pystate.h</userinput></screen> 44 48 45 49 <para>Prepare Python for compilation:</para> -
chapter08/systemd.xml
reef83ea rceebda5 47 47 --> 48 48 49 <para>First, apply a patch to fix some regressions:</para> 50 51 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen> 52 53 <para>Create a symlink to work around the xsltproc command not being installed:</para> 54 55 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen> 56 57 <para>Set up the man pages:</para> 58 59 <screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen> 49 <!-- For linux-5.11's API headers changing the rfkill_event structure --> 50 <para>First, apply a patch to fix some regressions and fix functionality 51 with future versions of the kernel:</para> 52 53 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-2.patch</userinput></screen> 60 54 61 55 <para>Remove tests that cannot be built in chroot:</para> … … 96 90 -Dhomed=false \ 97 91 -Duserdb=false \ 98 -Dman= true\92 -Dman=false \ 99 93 -Dmode=release \ 100 94 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ … … 192 186 193 187 <varlistentry> 188 <term><parameter>-Dman=false</parameter></term> 189 <listitem> 190 <para>Prevent the generation of man pages to avoid extra 191 dependencies. We will install pre-generated man pages for systemd 192 from a tarball later.</para> 193 </listitem> 194 </varlistentry> 195 196 <varlistentry> 194 197 <term><parameter>-Dmode=release</parameter></term> 195 198 <listitem> … … 209 212 <screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen> 210 213 211 <para> Remove an unnecessary symbolic link:</para>212 213 <screen><userinput remap="install"> rm -f /usr/bin/xsltproc</userinput></screen>214 <para>Install the man pages:</para> 215 216 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen> 214 217 215 218 <para>Remove a useless directory:</para>
Note:
See TracChangeset
for help on using the changeset viewer.