Changeset edd83dc for chapter08


Ignore:
Timestamp:
03/31/2021 10:41:41 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
9da9d014
Parents:
402226e
git-author:
Thomas Trepl <thomas@…> (02/01/2021 08:37:19 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@12107 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter08
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • chapter08/bc.xml

    r402226e redd83dc  
    4242    <title>Installation of Bc</title>
    4343
     44    <para>First, fix an error in the configure script::</para>
     45
     46<screen><userinput remap="pre">sed -i '612d' configure.sh</userinput></screen>
     47
    4448    <para>Prepare Bc for compilation:</para>
    4549
    46 <screen><userinput remap="configure">PREFIX=/usr CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3</userinput></screen>
     50<screen><userinput remap="configure">PREFIX=/usr CC=gcc ./configure.sh -G -O3</userinput></screen>
    4751
    4852    <variablelist>
     
    5054
    5155      <varlistentry>
    52         <term><parameter>CC=gcc CFLAGS="-std=c99"</parameter></term>
     56        <term><parameter>CC=gcc"</parameter></term>
    5357        <listitem>
    54           <para>These parameters specify the compiler and the C standard to use.</para>
     58          <para>These parameters specify the compiler to use.</para>
    5559        </listitem>
    5660      </varlistentry>
  • chapter08/gdbm.xml

    r402226e redd83dc  
    7575
    7676<screen><userinput remap="test">make check</userinput></screen>
     77
     78    <para>
     79      One test, <filename>VERSION</filename>, is known to fail.
     80    </para>
    7781
    7882    <para>Install the package:</para>
  • chapter08/kmod.xml

    r402226e redd83dc  
    4949            --with-rootlibdir=/lib \
    5050            --with-xz              \
     51            --with-zstd            \
    5152            --with-zlib</userinput></screen>
    5253
     
    5556
    5657      <varlistentry>
    57         <term><parameter>--with-xz, --with-zlib</parameter></term>
     58        <term><parameter>--with-xz, --with-zlib, --with-zstd</parameter></term>
    5859        <listitem>
    5960          <para>These options enable Kmod to handle compressed kernel modules.</para>
  • chapter08/libcap.xml

    r402226e redd83dc  
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput remap="make">make lib=lib</userinput></screen>
     52<screen><userinput remap="make">make prefix=/usr lib=lib</userinput></screen>
    5353
    5454    <variablelist>
     
    5959        <listitem>
    6060          <para>This parameter sets the library directory to
    61           <filename>/lib</filename> rather than
    62           <filename>/lib64</filename> on x86_64. It has no effect on
     61          <filename>/usr/lib</filename> rather than
     62          <filename>/usr/lib64</filename> on x86_64. It has no effect on
    6363          x86.</para>
    6464        </listitem>
     
    7070<screen><userinput remap="test">make test</userinput></screen>
    7171
    72     <para>Install the package and do some cleanup:</para>
    73 
    74 <screen><userinput remap="install">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install
     72    <para>Install the package and make sure the essential libraries are in
     73    the correct directory:</para>
     74
     75<screen><userinput remap="install">make prefix=/usr lib=lib install
    7576for libname in cap psx; do
     77    mv -v /usr/lib/lib${libname}.so.* /lib
     78    ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
    7679    chmod -v 755 /lib/lib${libname}.so.&libcap-version;
    77     rm -v /lib/lib${libname}.so
    78     ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
    7980done</userinput></screen>
    8081
  • chapter08/meson.xml

    r402226e redd83dc  
    4949    <title>Installation of Meson</title>
    5050
     51<!-- Applied in 0.56.2
    5152    <para>First, apply a patch that fixes an issue with pkgconfig files
    5253    for static libraries:</para>
    5354
    5455<screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
    55 
     56-->
    5657    <para>Compile Meson with the following command:</para>
    5758
  • chapter08/ninja.xml

    r402226e redd83dc  
    5959    <para>Using the <emphasis>optional</emphasis> procedure below allows a user to
    6060    limit the number of parallel processes via an environment variable,
    61     NINJAJOBS.  <command>For example</command>, setting:
    62 
    63      <!--Using <command> here to make the output bold.  We really don't want
    64      users setting this now and experience shows that many users blindly
    65      copy/paste anything in a box. -->
     61    NINJAJOBS.  <emphasis role="bold">For example</emphasis>, setting:
    6662
    6763    <screen>export NINJAJOBS=4</screen>
  • chapter08/python.xml

    r402226e redd83dc  
    104104<!-- ======  Change 8m if Python minor version changes ======= -->
    105105    <varlistentry>
    106       <term><command>chmod -v 755 /usr/lib/libpython3.{8.,}so</command></term>
     106      <term><command>chmod -v 755 /usr/lib/libpython{&python-minor;,3}.so</command></term>
    107107      <listitem>
    108108        <para>Fix permissions for libraries to be consistent with other
  • chapter08/readline.xml

    r402226e redd83dc  
    9696
    9797    <para>Now move the dynamic libraries to a more appropriate location
    98     and fix up some permissions and symbolic links:</para>
     98    and fix up symbolic links:</para>
    9999
    100100<screen><userinput remap="install">mv -v /usr/lib/lib{readline,history}.so.* /lib
    101 chmod -v u+w /lib/lib{readline,history}.so.*
    102101ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so
    103102ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput></screen>
  • chapter08/revisedchroot.xml

    r402226e redd83dc  
    7878
    7979   <para>The <filename class="directory">/tools</filename> directory can also
    80    be removed to further gain some place:</para>
     80   be removed to further gain some space:</para>
    8181
    8282<screen><userinput>rm -rf /tools</userinput></screen>
  • chapter08/systemd.xml

    r402226e redd83dc  
    6767    rules:</para>
    6868
    69 <screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules.d/50-udev-default.rules.in</userinput></screen>
     69<screen><userinput remap="pre">sed -i 's/GROUP="render"/GROUP="video"/' rules.d/50-udev-default.rules.in</userinput></screen>
    7070
    7171    <para>Prepare systemd for compilation:</para>
     
    600600        <listitem>
    601601          <para>Outputs the previous and the current run-level, as noted in the
    602           last run-level record in <filename>/var/run/utmp</filename></para>
     602          last run-level record in <filename>/run/utmp</filename></para>
    603603          <indexterm zone="ch-system-systemd runlevel">
    604604            <primary sortas="b-runlevel">runlevel</primary>
  • chapter08/sysvinit.xml

    r402226e redd83dc  
    186186        <listitem>
    187187          <para>Reports the previous and the current run-level, as noted in the
    188           last run-level record in <filename>/var/run/utmp</filename></para>
     188          last run-level record in <filename>/run/utmp</filename></para>
    189189          <indexterm zone="ch-system-sysvinit runlevel-sysv">
    190190            <primary sortas="b-runlevel">runlevel</primary>
  • chapter08/tcl.xml

    r402226e redd83dc  
    44  <!ENTITY % general-entities SYSTEM "../general.ent">
    55  %general-entities;
    6   <!ENTITY tdbc-ver          "1.1.1">
    7   <!ENTITY itcl-ver          "4.2.0">
     6  <!ENTITY tdbc-ver          "1.1.2">
     7  <!ENTITY itcl-ver          "4.2.1">
    88]>
    99
     
    5858    <para>First, unpack the documentation by issuing the following command:</para>
    5959
    60 <screen><userinput remap="pre">tar -xf ../tcl8.6.10-html.tar.gz --strip-components=1</userinput></screen>
     60<screen><userinput remap="pre">tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1</userinput></screen>
    6161
    6262    <para>Prepare Tcl for compilation:</para>
  • chapter08/util-linux.xml

    r402226e redd83dc  
    6565            --without-python     \
    6666            --without-systemd    \
    67             --without-systemdsystemunitdir</userinput></screen>
     67            --without-systemdsystemunitdir \
     68            runstatedir=/run</userinput></screen>
    6869
    6970<screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     
    7778            --disable-pylibmount \
    7879            --disable-static     \
    79             --without-python</userinput></screen>
     80            --without-python     \
     81            runstatedir=/run</userinput></screen>
    8082
    8183    <para>The --disable and --without options prevent warnings about
  • chapter08/zstd.xml

    r402226e redd83dc  
    4747<screen><userinput remap="make">make</userinput></screen>
    4848
    49     <para>This package does not come with a test suite.</para>
     49    <para>To test the results, issue:</para>
     50
     51<screen><userinput remap="test">make check</userinput></screen>
    5052
    5153    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.