Changeset ceebda5 for chapter08


Ignore:
Timestamp:
03/31/2021 10:41:41 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
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)
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12176 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter08
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • chapter08/autoconf.xml

    reef83ea rceebda5  
    6666    Autoconf can be re-tested after Automake has been installed.  In addition,
    6767    two tests fail due to changes in libtool-2.4.3 and later.</para>
    68 
     68-->
    6969    <note><para>The test time for autoconf can be reduced significantly on a
    7070    system with multiple cores.  To do this, append
     
    7272    instance, using -j4 can reduce the test time by over 60
    7373    percent.</para></note>
    74 -->
     74
    7575    <para>Install the package:</para>
    7676
  • chapter08/bc.xml

    reef83ea rceebda5  
    4444    <para>Prepare Bc for compilation:</para>
    4545
    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>
    4747
    4848    <variablelist>
     
    5050
    5151      <varlistentry>
    52         <term><parameter>CC=gcc"</parameter></term>
     52        <term><parameter>CC=gcc</parameter></term>
    5353        <listitem>
    54           <para>These parameters specify the compiler to use.</para>
     54          <para>This parameter specifies the compiler to use.</para>
    5555        </listitem>
    5656      </varlistentry>
  • chapter08/binutils.xml

    reef83ea rceebda5  
    154154          class="directory">$(exec_prefix)/$(target_alias)</filename>. For
    155155          example, x86_64 machines would expand that to <filename
    156           class="directory">/usr/x86_64-unknown-linux-gnu</filename>. Because this is
     156          class="directory">/usr/x86_64-pc-linux-gnu</filename>. Because this is
    157157          a custom system, this target-specific directory in <filename
    158158          class="directory">/usr</filename> is not required. <filename
     
    180180    <para>Install the package:</para>
    181181
    182 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
     182<screen><userinput remap="install">make tooldir=/usr install -j1</userinput></screen>
    183183
    184184    <para>Remove useless static libraries:</para>
  • chapter08/coreutils.xml

    reef83ea rceebda5  
    195195        <listitem>
    196196          <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>
    198198          <indexterm zone="ch-system-coreutils lbracket">
    199199            <primary sortas="b-111">[</primary>
  • chapter08/file.xml

    reef83ea rceebda5  
    5757
    5858<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
     68ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) /usr/lib/libmagic.so</userinput></screen>
    5969
    6070  </sect2>
  • chapter08/gmp.xml

    reef83ea rceebda5  
    107107    applications using the gmp libraries with the message "Illegal
    108108    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>
    110110
    111111    <para>Ensure that all 197 tests in the test suite passed.
  • chapter08/grub.xml

    reef83ea rceebda5  
    4141    <title>Installation of GRUB</title>
    4242
    43     <para>First, fix an issue introduced by binutils-2.36:</para>
    44 
    45 <screen><userinput remap="pre">sed "s/gold-version/&amp; -R .note.gnu.property/" \
    46     -i Makefile.in grub-core/Makefile.in</userinput></screen>
    47 
    4843    <para>Prepare GRUB for compilation:</para>
    4944
     
    7974<screen><userinput remap="make">make</userinput></screen>
    8075
    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>
    8279
    8380    <para>Install the package:</para>
  • chapter08/meson.xml

    reef83ea rceebda5  
    6464
    6565<screen><userinput remap="install">python3 setup.py install --root=dest
    66 cp -rv dest/* /</userinput></screen>
     66cp -rv dest/* /
     67install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
     68install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen>
    6769
    6870    <variablelist>
  • chapter08/python.xml

    reef83ea rceebda5  
    4242  <sect2 role="installation">
    4343    <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>
    4448
    4549    <para>Prepare Python for compilation:</para>
  • chapter08/systemd.xml

    reef83ea rceebda5  
    4747-->
    4848
    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>
    6054
    6155    <para>Remove tests that cannot be built in chroot:</para>
     
    9690      -Dhomed=false                 \
    9791      -Duserdb=false                \
    98       -Dman=true                    \
     92      -Dman=false                   \
    9993      -Dmode=release                \
    10094      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
     
    192186
    193187      <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>
    194197        <term><parameter>-Dmode=release</parameter></term>
    195198        <listitem>
     
    209212<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
    210213
    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>
    214217
    215218    <para>Remove a useless directory:</para>
Note: See TracChangeset for help on using the changeset viewer.