- Timestamp:
- 03/31/2021 10:41:41 AM (3 years ago)
- 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)
- Location:
- chapter08
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/bc.xml
r402226e redd83dc 42 42 <title>Installation of Bc</title> 43 43 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 44 48 <para>Prepare Bc for compilation:</para> 45 49 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> 47 51 48 52 <variablelist> … … 50 54 51 55 <varlistentry> 52 <term><parameter>CC=gcc CFLAGS="-std=c99"</parameter></term>56 <term><parameter>CC=gcc"</parameter></term> 53 57 <listitem> 54 <para>These parameters specify the compiler and the C standardto use.</para>58 <para>These parameters specify the compiler to use.</para> 55 59 </listitem> 56 60 </varlistentry> -
chapter08/gdbm.xml
r402226e redd83dc 75 75 76 76 <screen><userinput remap="test">make check</userinput></screen> 77 78 <para> 79 One test, <filename>VERSION</filename>, is known to fail. 80 </para> 77 81 78 82 <para>Install the package:</para> -
chapter08/kmod.xml
r402226e redd83dc 49 49 --with-rootlibdir=/lib \ 50 50 --with-xz \ 51 --with-zstd \ 51 52 --with-zlib</userinput></screen> 52 53 … … 55 56 56 57 <varlistentry> 57 <term><parameter>--with-xz, --with-zlib </parameter></term>58 <term><parameter>--with-xz, --with-zlib, --with-zstd</parameter></term> 58 59 <listitem> 59 60 <para>These options enable Kmod to handle compressed kernel modules.</para> -
chapter08/libcap.xml
r402226e redd83dc 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput remap="make">make lib=lib</userinput></screen>52 <screen><userinput remap="make">make prefix=/usr lib=lib</userinput></screen> 53 53 54 54 <variablelist> … … 59 59 <listitem> 60 60 <para>This parameter sets the library directory to 61 <filename>/ lib</filename> rather than62 <filename>/ lib64</filename> on x86_64. It has no effect on61 <filename>/usr/lib</filename> rather than 62 <filename>/usr/lib64</filename> on x86_64. It has no effect on 63 63 x86.</para> 64 64 </listitem> … … 70 70 <screen><userinput remap="test">make test</userinput></screen> 71 71 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 75 76 for 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 76 79 chmod -v 755 /lib/lib${libname}.so.&libcap-version; 77 rm -v /lib/lib${libname}.so78 ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so79 80 done</userinput></screen> 80 81 -
chapter08/meson.xml
r402226e redd83dc 49 49 <title>Installation of Meson</title> 50 50 51 <!-- Applied in 0.56.2 51 52 <para>First, apply a patch that fixes an issue with pkgconfig files 52 53 for static libraries:</para> 53 54 54 55 <screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen> 55 56 --> 56 57 <para>Compile Meson with the following command:</para> 57 58 -
chapter08/ninja.xml
r402226e redd83dc 59 59 <para>Using the <emphasis>optional</emphasis> procedure below allows a user to 60 60 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: 66 62 67 63 <screen>export NINJAJOBS=4</screen> -
chapter08/python.xml
r402226e redd83dc 104 104 <!-- ====== Change 8m if Python minor version changes ======= --> 105 105 <varlistentry> 106 <term><command>chmod -v 755 /usr/lib/libpython 3.{8.,}so</command></term>106 <term><command>chmod -v 755 /usr/lib/libpython{&python-minor;,3}.so</command></term> 107 107 <listitem> 108 108 <para>Fix permissions for libraries to be consistent with other -
chapter08/readline.xml
r402226e redd83dc 96 96 97 97 <para>Now move the dynamic libraries to a more appropriate location 98 and fix up s ome permissions and symbolic links:</para>98 and fix up symbolic links:</para> 99 99 100 100 <screen><userinput remap="install">mv -v /usr/lib/lib{readline,history}.so.* /lib 101 chmod -v u+w /lib/lib{readline,history}.so.*102 101 ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so 103 102 ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput></screen> -
chapter08/revisedchroot.xml
r402226e redd83dc 78 78 79 79 <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> 81 81 82 82 <screen><userinput>rm -rf /tools</userinput></screen> -
chapter08/systemd.xml
r402226e redd83dc 67 67 rules:</para> 68 68 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> 70 70 71 71 <para>Prepare systemd for compilation:</para> … … 600 600 <listitem> 601 601 <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> 603 603 <indexterm zone="ch-system-systemd runlevel"> 604 604 <primary sortas="b-runlevel">runlevel</primary> -
chapter08/sysvinit.xml
r402226e redd83dc 186 186 <listitem> 187 187 <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> 189 189 <indexterm zone="ch-system-sysvinit runlevel-sysv"> 190 190 <primary sortas="b-runlevel">runlevel</primary> -
chapter08/tcl.xml
r402226e redd83dc 4 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 5 5 %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"> 8 8 ]> 9 9 … … 58 58 <para>First, unpack the documentation by issuing the following command:</para> 59 59 60 <screen><userinput remap="pre">tar -xf ../tcl 8.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> 61 61 62 62 <para>Prepare Tcl for compilation:</para> -
chapter08/util-linux.xml
r402226e redd83dc 65 65 --without-python \ 66 66 --without-systemd \ 67 --without-systemdsystemunitdir</userinput></screen> 67 --without-systemdsystemunitdir \ 68 runstatedir=/run</userinput></screen> 68 69 69 70 <screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ … … 77 78 --disable-pylibmount \ 78 79 --disable-static \ 79 --without-python</userinput></screen> 80 --without-python \ 81 runstatedir=/run</userinput></screen> 80 82 81 83 <para>The --disable and --without options prevent warnings about -
chapter08/zstd.xml
r402226e redd83dc 47 47 <screen><userinput remap="make">make</userinput></screen> 48 48 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> 50 52 51 53 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.