Changeset 026bb5d for BOOK/final-system/common
- Timestamp:
- Dec 18, 2013, 1:04:00 AM (12 years ago)
- Children:
- f975b3a
- Parents:
- 1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK/final-system/common
- Files:
-
- 2 added
- 2 deleted
- 43 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/autoconf.xml
r1c9985f r026bb5d 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check VERBOSE=yes</userinput>. 17 tests are skipped that use 38 Automake and different GCC languages. For full test coverage, Autoconf can 39 be re-tested after Automake has been installed.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check VERBOSE=yes</userinput></screen> 39 40 <para os="e3">17 tests are skipped that use Automake and different GCC languages. 41 For full test coverage, Autoconf can be re-tested after Automake has been 42 installed.</para> 40 43 41 44 <para os="f">Install the package:</para> -
BOOK/final-system/common/automake.xml
r1c9985f r026bb5d 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 39 39 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/binutils.xml
r1c9985f r026bb5d 40 40 needs to be resolved before running the test suites for Binutils and GCC.</para> 41 41 42 <!-- Branch update patch area 43 <para os="p1">The following patch contains a number of updates to the 44 &binutils-version; branch by the Binutils developers:</para> 45 46 <screen os="p2"><userinput>patch -Np1 -i ../&binutils-branch_update-patch;</userinput></screen> 47 --> 48 42 49 <para os="g">The Binutils documentation recommends building Binutils outside of the 43 50 source directory in a dedicated build directory:</para> … … 50 57 <screen os="ca"><userinput>CC="gcc -isystem /usr/include" \ 51 58 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 52 ../binutils-&binutils- version;/configure --prefix=/usr \59 ../binutils-&binutils-dir;/configure --prefix=/usr \ 53 60 --enable-shared</userinput></screen> 54 61 … … 91 98 <para os="p">Test the results:</para> 92 99 93 <screen os="q"><userinput >make check</userinput></screen>100 <screen os="q"><userinput remap="test">make check</userinput></screen> 94 101 95 102 <para os="r">Install the package:</para> … … 100 107 file that is needed by some packages:</para> 101 108 102 <screen os="u"><userinput>cp -v ../binutils-&binutils- version;/include/libiberty.h /usr/include</userinput></screen>109 <screen os="u"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /usr/include</userinput></screen> 103 110 104 111 </sect2> … … 113 120 114 121 <seglistitem> 115 <seg>addr2line, ar, as, c++filt, gprof, ld, nm, objcopy, objdump, 122 <seg>addr2line, ar, as, c++filt, elfedit, gprof, ld, ld.bfd, nm, objcopy, 123 objdump, 116 124 ranlib, readelf, size, strings, and strip</seg> 117 125 <seg>libiberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg> … … 170 178 </varlistentry> 171 179 180 <varlistentry id="elfedit"> 181 <term><command>elfedit</command></term> 182 <listitem> 183 <para>Updates the ELF header of ELF files</para> 184 <indexterm zone="ch-system-binutils elfedit"> 185 <primary sortas="b-elfedit">elfedit</primary> 186 </indexterm> 187 </listitem> 188 </varlistentry> 189 172 190 <varlistentry id="gprof"> 173 191 <term><command>gprof</command></term> … … 188 206 <indexterm zone="ch-system-binutils ld"> 189 207 <primary sortas="b-ld">ld</primary> 208 </indexterm> 209 </listitem> 210 </varlistentry> 211 212 <varlistentry id="ld.bfd"> 213 <term><command>ld.bfd</command></term> 214 <listitem> 215 <para>Hard link to <command>ld</command></para> 216 <indexterm zone="ch-system-binutils ld.bfd"> 217 <primary sortas="b-ld.bfd">ld.bfd</primary> 190 218 </indexterm> 191 219 </listitem> -
BOOK/final-system/common/bison.xml
r1c9985f r026bb5d 25 25 <title>Installation of Bison</title> 26 26 27 <para os="t3">The <command>configure </command>script does not determine 28 the correct value for the following. Set the value manually:</para> 29 30 <screen os="t4"><userinput>echo "ac_cv_prog_lex_is_flex=yes" > config.cache</userinput></screen> 31 27 32 <para os="a">Prepare Bison for compilation:</para> 28 33 29 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 30 31 <para os="b1">The configure system causes Bison to be built without support 32 for internationalization of error messages if a <command>bison</command> 33 program is not already in $PATH. The following addition will correct 34 this:</para> 35 36 <screen os="b2"><userinput>echo '#define YYENABLE_NLS 1' >> config.h</userinput></screen> 34 <screen os="b"><userinput>./configure --prefix=/usr --cache-file=config.cache</userinput></screen> 37 35 38 36 <para os="c">Compile the package:</para> … … 40 38 <screen os="d"><userinput>make</userinput></screen> 41 39 42 <para os="e">To test the results, issue: 43 <userinput>make check</userinput>.</para> 40 <para os="e">To test the results, issue:</para> 41 42 <screen os="e2"><userinput remap="test">make check</userinput></screen> 44 43 45 44 <para os="f">Install the package:</para> -
BOOK/final-system/common/cloog.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-system-cloog -ppl" role="wrap">9 <?dbhtml filename="cloog -ppl.html"?>8 <sect1 id="ch-system-cloog" role="wrap"> 9 <?dbhtml filename="cloog.html"?> 10 10 11 <title>CLooG- PPL-&cloog-ppl-version;</title>11 <title>CLooG-&cloog-version;</title> 12 12 13 <indexterm zone="ch-system-cloog -ppl">14 <primary sortas="a-CLooG -PPL">CLooG-PPL</primary>13 <indexterm zone="ch-system-cloog"> 14 <primary sortas="a-CLooG">CLooG</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>CLooG -PPLis a library to generate code for scanning Z-polyhedra.20 <para>CLooG is a library to generate code for scanning Z-polyhedra. 21 21 In other words, it finds code that reaches each integral point of one or 22 22 more parameterized polyhedra. GCC links with this library in order to … … 26 26 27 27 <sect2 role="installation"> 28 <title>Installation of CLooG -PPL</title>28 <title>Installation of CLooG</title> 29 29 30 <para os="a">Prepare CLooG -PPLfor compilation:</para>30 <para os="a">Prepare CLooG for compilation:</para> 31 31 32 32 <screen os="b"><userinput>CC="gcc -isystem /usr/include" \ 33 33 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 34 ./configure --prefix=/usr --enable-shared --with-gmp \ 35 --with-ppl</userinput></screen> 34 ./configure --prefix=/usr --enable-shared --with-isl=system</userinput></screen> 36 35 37 36 <para os="c">Compile the package:</para> … … 40 39 41 40 <important os="e"> 42 <para>The test suite for CLooG -PPLis considered41 <para>The test suite for CLooG is considered 43 42 critical. Do not skip it under any circumstance.</para> 44 43 </important> … … 46 45 <para os="f">Test the results:</para> 47 46 48 <screen os="g"><userinput >make check</userinput></screen>47 <screen os="g"><userinput remap="test">make check</userinput></screen> 49 48 50 49 <para os="h">Install the package:</para> … … 54 53 </sect2> 55 54 56 <sect2 id="contents-cloog -ppl" role="content">57 <title>Contents of CLooG -PPL</title>55 <sect2 id="contents-cloog" role="content"> 56 <title>Contents of CLooG</title> 58 57 59 58 <segmentedlist> 60 <segtitle>Installed program s</segtitle>59 <segtitle>Installed program</segtitle> 61 60 <segtitle>Installed libraries</segtitle> 62 <segtitle>Installed director y</segtitle>61 <segtitle>Installed directories</segtitle> 63 62 64 63 <seglistitem> 65 64 <seg>cloog</seg> 66 <seg>libcloog .[a,so]</seg>65 <seg>libcloog-isl.[a,so]</seg> 67 66 <seg>/usr/include/cloog</seg> 68 67 </seglistitem> … … 78 77 <listitem> 79 78 <para>Loop generator for scanning Z-polyhedra</para> 80 <indexterm zone="ch-system-cloog -pplcloog">79 <indexterm zone="ch-system-cloog cloog"> 81 80 <primary sortas="b-cloog">cloog</primary> 82 81 </indexterm> … … 84 83 </varlistentry> 85 84 86 <varlistentry id="libcloog ">87 <term><filename class="libraryfile">libcloog </filename></term>85 <varlistentry id="libcloog-isl"> 86 <term><filename class="libraryfile">libcloog-isl</filename></term> 88 87 <listitem> 89 <para> The Chunky Loop Generator.</para>90 <indexterm zone="ch-system-cloog -ppl libcloog">91 <primary sortas="c-libcloog- ppl">libcloog</primary>88 <para>Isl backend for CLooG.</para> 89 <indexterm zone="ch-system-cloog libcloog-isl"> 90 <primary sortas="c-libcloog-isl">libcloog-isl</primary> 92 91 </indexterm> 93 92 </listitem> -
BOOK/final-system/common/coreutils.xml
r1c9985f r026bb5d 35 35 <para os="c">Now prepare Coreutils for compilation:</para> 36 36 37 <screen os="d"><userinput>./configure --prefix=/usr \ 37 <screen os="d"><userinput>FORCE_UNSAFE_CONFIGURE=1 \ 38 ./configure --prefix=/usr \ 38 39 --enable-no-install-program=kill,uptime \ 39 40 --enable-install-program=hostname</userinput></screen> 41 42 <variablelist os="d1"> 43 <title>The meaning of the configure options:</title> 44 45 <varlistentry os="d2"> 46 <term><parameter>FORCE_UNSAFE_CONFIGURE=1</parameter></term> 47 <listitem> 48 <para>Forces Coreutils to compile when using the root user.</para> 49 </listitem> 50 </varlistentry> 51 52 </variablelist> 40 53 41 54 <para os="e">Compile the package:</para> … … 45 58 <para os="g">The test suite of Coreutils makes several assumptions about the 46 59 presence of system users and groups that are not valid within the minimal 47 environment that exists at the moment. Therefore, additional items need 48 to be set up before running the tests. Skip down to <quote>Install the 49 package</quote> if not running the test suite.</para> 50 51 <para os="h">Create two <systemitem class="groupname">dummy</systemitem> groups 52 and a <systemitem class="username">dummy</systemitem> user:</para> 53 54 <screen os="i"><userinput>echo "dummy1:x:1000:" >> /etc/group 55 echo "dummy2:x:1001:dummy" >> /etc/group 56 echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen> 57 58 <para os="j">Now the test suite is ready to be run. First, run 60 environment that exists at the moment. Therefore, we will reuse the dummy 61 groups and user created during Util-linux. Skip down to <quote>Install the 62 package</quote> if not running the test suite and you did not create the 63 dummy groups and users during Util-linux.</para> 64 65 <para os="h">Now the test suite is ready to be run. First, run 59 66 the tests that are meant to be run as user 60 67 <systemitem class="username">root</systemitem>:</para> 61 68 62 <screen os=" k"><userinput>make NON_ROOT_USERNAME=dummy check-root</userinput></screen>63 64 <para os=" l">The testsuite will now be run as the69 <screen os="i"><userinput remap="test">make NON_ROOT_USERNAME=dummy</userinput></screen> 70 71 <para os="j">The testsuite will now be run as the 65 72 <systemitem class="username">dummy</systemitem> user. Fix the permissions 66 73 for a few files to allow this:</para> 67 74 68 <screen os=" m"><userinput>chown -Rv dummy config.log {gnulib-tests,lib,src}/.deps</userinput></screen>69 70 <para os=" n">Then run the remainder of the tests as the75 <screen os="k"><userinput remap="test">chown -Rv dummy .</userinput></screen> 76 77 <para os="l">Then run the remainder of the tests as the 71 78 <systemitem class="username">dummy</systemitem> user:</para> 72 79 73 <screen os="o"><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 74 75 <para os="p">When testing is complete, remove the 80 <screen os="m"><userinput remap="test">su dummy -s /bin/bash \ 81 -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen> 82 83 <para os="n">When testing is complete, remove the 76 84 <systemitem class="username">dummy</systemitem> user and groups:</para> 77 85 78 <screen os=" q"><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>79 80 <para os=" r">Install the package:</para>81 82 <screen os=" s"><userinput>make install</userinput></screen>83 84 <para os=" t">Move programs to the locations specified by the FHS:</para>85 86 <screen os=" u"><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date} /bin86 <screen os="o"><userinput remap="test">sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen> 87 88 <para os="p">Install the package:</para> 89 90 <screen os="q"><userinput>make install</userinput></screen> 91 92 <para os="r">Move programs to the locations specified by the FHS:</para> 93 94 <screen os="s"><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date} /bin 87 95 mv -v /usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} /bin 88 96 mv -v /usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} /bin 89 97 mv -v /usr/bin/chroot /usr/sbin</userinput></screen> 90 98 91 <para os=" v">Other Coreutils programs are used by some of the scripts99 <para os="t">Other Coreutils programs are used by some of the scripts 92 100 in the CLFS-Bootscripts package. As <filename 93 101 class="directory">/usr</filename> may not be available during the early 94 102 stages of booting, those binaries need to be on the root partition:</para> 95 103 96 <screen os=" w"><userinput>mv -v /usr/bin/{[,basename,head,install,nice} /bin104 <screen os="u"><userinput>mv -v /usr/bin/{[,basename,head,install,nice} /bin 97 105 mv -v /usr/bin/{readlink,sleep,sync,test,touch} /bin 98 106 ln -svf ../../bin/install /usr/bin</userinput></screen> … … 113 121 echo, env, expand, expr, factor, false, fmt, fold, groups, head, 114 122 hostid, hostname, id, install, join, link, ln, logname, ls, md5sum, 115 mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, od, paste, pathchk,116 p inky, pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, runcon, seq,117 sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf,118 s leep, sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test,119 timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq,120 unlink, users, vdir, wc, who, whoami, and yes</seg>123 mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, nproc, numfmt, od, paste, 124 pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, realpath, rm, 125 rmdir, runcon, seq, sha1sum, sha224sum, sha256sum, sha384sum, 126 sha512sum, shred, shuf, sleep, sort, split, stat, stdbuf, stty, sum, 127 sync, tac, tail, tee, test, timeout, touch, tr, true, truncate, tsort, 128 tty, uname, unexpand, uniq, unlink, users, vdir, wc, who, whoami, and yes</seg> 121 129 <seg>libstdbuf.so</seg> 122 130 <seg>/usr/lib/coreutils</seg> … … 636 644 </varlistentry> 637 645 646 <varlistentry id="nproc"> 647 <term><command>nproc</command></term> 648 <listitem> 649 <para>Prints the number of processing units available to the current 650 process</para> 651 <indexterm zone="ch-system-coreutils nproc"> 652 <primary sortas="b-nproc">nproc</primary> 653 </indexterm> 654 </listitem> 655 </varlistentry> 656 657 <varlistentry id="numfmt"> 658 <term><command>numfmt</command></term> 659 <listitem> 660 <para>Converts numbers to or from human-readable strings</para> 661 <indexterm zone="ch-system-coreutils numfmt"> 662 <primary sortas="b-numfmt">numfmt</primary> 663 </indexterm> 664 </listitem> 665 </varlistentry> 666 638 667 <varlistentry id="od"> 639 668 <term><command>od</command></term> … … 736 765 <indexterm zone="ch-system-coreutils readlink"> 737 766 <primary sortas="b-readlink">readlink</primary> 767 </indexterm> 768 </listitem> 769 </varlistentry> 770 771 <varlistentry id="realpath"> 772 <term><command>realpath</command></term> 773 <listitem> 774 <para>Prints the resolved path</para> 775 <indexterm zone="ch-system-coreutils realpath"> 776 <primary sortas="b-realpath">realpath</primary> 738 777 </indexterm> 739 778 </listitem> -
BOOK/final-system/common/diffutils.xml
r1c9985f r026bb5d 39 39 <screen os="d"><userinput>make</userinput></screen> 40 40 41 <para os="e">This package does not come with a test suite.</para> 41 <para os="e">To test the results, issue:</para> 42 43 <screen os="e2"><userinput remap="test">make check</userinput></screen> 42 44 43 45 <para os="f">Install the package:</para> -
BOOK/final-system/common/e2fsprogs.xml
r1c9985f r026bb5d 73 73 <screen os="g"><userinput>make</userinput></screen> 74 74 75 <para os="h">To test the results, issue: 76 <userinput>make check</userinput>.</para> 75 <para os="h">To test the results, issue:</para> 76 77 <screen os="h2"><userinput remap="test">make check</userinput></screen> 77 78 78 79 <para os="i">Install the binaries, documentation and shared libraries:</para> … … 96 97 <seglistitem> 97 98 <seg>badblocks, chattr, compile_et, debugfs, dumpe2fs, e2freefrag, 98 e2fsck, e2image, e2initrd_helper, e2label, e2undo, filefrag, fsck.ext2,99 fsck.ext 3, fsck.ext4, fsck.ext4dev, logsave, lsattr, mk_cmds, mke2fs,100 mk fs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, mklost+found, resize2fs,101 and tune2fs</seg>102 <seg>libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], and103 libss.[a,so] </seg>99 e2fsck, e2image, e2initrd_helper, e2label, e2undo, e4defrag, filefrag, 100 fsck.ext2, fsck.ext3, fsck.ext4, fsck.ext4dev, logsave, lsattr, 101 mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, 102 mklost+found, resize2fs, and tune2fs</seg> 103 <seg>libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], 104 libss.[a,so], and libquota.a</seg> 104 105 <seg>/usr/include/e2p, /usr/include/et, /usr/include/ext2fs, 105 /usr/include/ ss, /usr/share/et, /usr/share/ss</seg>106 /usr/include/quota, /usr/include/ss, /usr/share/et, /usr/share/ss</seg> 106 107 </seglistitem> 107 108 </segmentedlist> … … 126 127 <term><command>chattr</command></term> 127 128 <listitem> 128 <para>Changes the attributes of files on an <systemitem 129 class="filesystem">ext2</systemitem> file system; it also 130 changes <systemitem class="filesystem">ext3</systemitem> 131 file systems, the journaling version of <systemitem 132 class="filesystem">ext2</systemitem> file systems</para> 129 <para>Changes the attributes on a Linux file system</para> 133 130 <indexterm zone="ch-system-e2fsprogs chattr"> 134 131 <primary sortas="b-chattr">chattr</primary> … … 186 183 <listitem> 187 184 <para>Is used to check, and optionally repair <systemitem 188 class="filesystem">ext2</systemitem> file systems and <systemitem 189 class="filesystem">ext3</systemitem> file systems</para> 185 class="filesystem">ext2</systemitem>, <systemitem 186 class="filesystem">ext3</systemitem> and <systemitem 187 class="filesystem">ext4</systemitem>file systems</para> 190 188 <indexterm zone="ch-system-e2fsprogs e2fsck"> 191 189 <primary sortas="b-e2fsck">e2fsck</primary> … … 238 236 </varlistentry> 239 237 238 <varlistentry id="e4defrag"> 239 <term><command>e4defrag</command></term> 240 <listitem> 241 <para>Online defragmenter for ext4 filesystems</para> 242 <indexterm zone="ch-system-e2fsprogs e4defrag"> 243 <primary sortas="b-e4defrag">e4defrag</primary> 244 </indexterm> 245 </listitem> 246 </varlistentry> 247 240 248 <varlistentry id="filefrag"> 241 249 <term><command>filefrag</command></term> … … 328 336 <term><command>mke2fs</command></term> 329 337 <listitem> 330 <para>Creates an <systemitem class="filesystem">ext2</systemitem> 331 or <systemitem class="filesystem">ext3</systemitem> file system on332 the given device</para>338 <para>Creates an <systemitem class="filesystem">ext2</systemitem>, 339 <systemitem class="filesystem">ext3</systemitem> or <systemitem 340 class="filesystem">ext4</systemitem> file system on the given device</para> 333 341 <indexterm zone="ch-system-e2fsprogs mke2fs"> 334 342 <primary sortas="b-mke2fs">mke2fs</primary> … … 448 456 </varlistentry> 449 457 458 <varlistentry id="libquota"> 459 <term><filename class="libraryfile">libquota</filename></term> 460 <listitem> 461 <para>Provides an interface for creating and updating quota files 462 and ext4 superblock fields</para> 463 <indexterm zone="ch-system-e2fsprogs libquota"> 464 <primary sortas="c-libquota">libquota</primary> 465 </indexterm> 466 </listitem> 467 </varlistentry> 468 450 469 <varlistentry id="libss"> 451 470 <term><filename class="libraryfile">libss</filename></term> -
BOOK/final-system/common/eglibc.xml
r1c9985f r026bb5d 58 58 unset LINKER</userinput></screen> 59 59 60 <para os="p1">The following patch fixes an issue where EGLIBC will61 improperly handle a condition where an elf binary has missing62 dependencies:</para>63 64 <screen os="p2"><userinput>patch -Np1 -i ../&eglibc-dl_dep_fix-patch;</userinput></screen>65 66 60 <para os="b">The EGLIBC build system is self-contained and will install 67 61 perfectly, even though the compiler specs file and linker are still … … 71 65 of achieving a clean build.</para> 72 66 73 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the 74 source directory in a dedicated build directory:</para> 67 <para os="s1">Allow EGLIBC to detect Make-4.x:</para> 68 69 <screen os="s2"><userinput>sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen> 70 71 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the source directory in a dedicated build directory:</para> 75 72 76 73 <screen os="f"><userinput>mkdir -v ../eglibc-build … … 80 77 81 78 <screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \ 82 --disable-profile --enable- add-ons --enable-kernel=2.6.0\83 -- libexecdir=/usr/lib/eglibc</userinput></screen>79 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \ 80 --enable-obsolete-rpc</userinput></screen> 84 81 85 82 <variablelist os="i"> … … 89 86 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term> 90 87 <listitem> 91 <para>This changes the location of the <command> pt_chown</command>92 programfrom its default of <filename88 <para>This changes the location of the <command>getconf</command> 89 utility from its default of <filename 93 90 class="directory">/usr/libexec</filename> to <filename 94 91 class="directory">/usr/lib/eglibc</filename>.</para> … … 111 108 <!-- items n,o,p no longer the master, use x86_64 which has no failures --> 112 109 113 <screen os="n"><userinput >cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata110 <screen os="n"><userinput remap="test">cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata 114 111 make -k check 2>&1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen> 115 112 … … 246 243 EOF</userinput></screen> 247 244 245 <para>Install timezone data:</para> 246 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 247 248 ZONEINFO=/usr/share/zoneinfo 249 mkdir -pv $ZONEINFO/{posix,right} 250 251 for tz in etcetera southamerica northamerica europe africa antarctica \ 252 asia australasia backward pacificnew solar87 solar88 solar89 \ 253 systemv; do 254 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz} 255 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} 256 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz} 257 done 258 259 cp -v zone.tab iso3166.tab $ZONEINFO 260 zic -d $ZONEINFO -p America/New_York 261 unset ZONEINFO</userinput></screen> 262 263 <variablelist> 264 <title>The meaning of the zic commands:</title> 265 266 <varlistentry> 267 <term><parameter>zic -L /dev/null ...</parameter></term> 268 <listitem> 269 <para>This creates posix timezones, without any leap seconds. It is 270 conventional to put these in both 271 <filename class="directory">zoneinfo</filename> and 272 <filename class="directory">zoneinfo/posix</filename>. It is 273 necessary to put the POSIX timezones in 274 <filename class="directory">zoneinfo</filename>, otherwise various 275 test-suites will report errors. On an embedded system, where space is 276 tight and you do not intend to ever update the timezones, you could save 277 1.9MB by not using the <filename class="directory">posix</filename> 278 directory, but some applications or test-suites might give less good 279 results</para> 280 </listitem> 281 </varlistentry> 282 <varlistentry> 283 <term><parameter>zic -L leapseconds ...</parameter></term> 284 <listitem> 285 <para>This creates right timezones, including leap seconds. On an 286 embedded system, where space is tight and you do not intend to 287 ever update the timezones, or care about the correct time, you could 288 save 1.9MB by omitting the <filename class="directory">right</filename> 289 directory.</para> 290 </listitem> 291 </varlistentry> 292 <varlistentry> 293 <term><parameter>zic ... -p ...</parameter></term> 294 <listitem> 295 <para>This creates the <filename>posixrules</filename> file. We use 296 New York because POSIX requires the daylight savings time rules 297 to be in accordance with US rules.</para> 298 </listitem> 299 </varlistentry> 300 </variablelist> 301 248 302 <para>To determine the local time zone, run the following script:</para> 249 303 … … 323 377 <seglistitem> 324 378 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig, 325 ldd, lddlibc4, locale, localedef, m trace, nscd,326 pcprofiledump, p t_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,327 zdump,and zic</seg>379 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, 380 pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump, 381 and zic</seg> 328 382 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so], 329 383 libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so], … … 465 519 </varlistentry> 466 520 521 <varlistentry id="makedb"> 522 <term><command>makedb</command></term> 523 <listitem> 524 <para>Creates a simple database from textual input</para> 525 <indexterm zone="ch-system-eglibc makedb"> 526 <primary sortas="b-makedb">makedb</primary> 527 </indexterm> 528 </listitem> 529 </varlistentry> 530 467 531 <varlistentry id="mtrace"> 468 532 <term><command>mtrace</command></term> … … 497 561 </varlistentry> 498 562 499 <varlistentry id="pt_chown"> 500 <term><command>pt_chown</command></term> 501 <listitem> 502 <para>A helper program for <command>grantpt</command> to set the owner, 503 group and access permissions of a slave pseudo terminal</para> 504 <indexterm zone="ch-system-eglibc pt_chown"> 505 <primary sortas="b-pt_chown">pt_chown</primary> 563 <varlistentry id="pldd"> 564 <term><command>pldd</command></term> 565 <listitem> 566 <para>Lists dynamic shared objects used by running processes</para> 567 <indexterm zone="ch-system-eglibc pldd"> 568 <primary sortas="b-pldd">pldd</primary> 506 569 </indexterm> 507 570 </listitem> … … 519 582 </varlistentry> 520 583 521 <varlistentry id="rpcinfo">522 <term><command>rpcinfo</command></term>523 <listitem>524 <para>Makes an RPC call to an RPC server</para>525 <indexterm zone="ch-system-eglibc rpcinfo">526 <primary sortas="b-rpcinfo">rpcinfo</primary>527 </indexterm>528 </listitem>529 </varlistentry>530 531 584 <varlistentry id="sln"> 532 585 <term><command>sln</command></term> … … 535 588 <indexterm zone="ch-system-eglibc sln"> 536 589 <primary sortas="b-sln">sln</primary> 590 </indexterm> 591 </listitem> 592 </varlistentry> 593 594 <varlistentry id="sotruss"> 595 <term><command>sotruss</command></term> 596 <listitem> 597 <para>Traces shared library procedure calls of a specified command</para> 598 <indexterm zone="ch-system-eglibc sotruss"> 599 <primary sortas="b-sotruss">sotruss</primary> 537 600 </indexterm> 538 601 </listitem> -
BOOK/final-system/common/eudev.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-system- udev" role="wrap">9 <?dbhtml filename=" udev.html"?>10 11 <title> Udev-&udev-version;</title>12 13 <indexterm zone="ch-system- udev">14 <primary sortas="a- Udev">Udev</primary>8 <sect1 id="ch-system-eudev" role="wrap"> 9 <?dbhtml filename="eudev.html"?> 10 11 <title>Eudev-&eudev-version;</title> 12 13 <indexterm zone="ch-system-eudev"> 14 <primary sortas="a-Eudev">Eudev</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The Udev package contains programs for dynamic creation of device20 <para>The Eudev package contains programs for dynamic creation of device 21 21 nodes.</para> 22 22 … … 24 24 25 25 <sect2 role="installation"> 26 <title>Installation of Udev</title> 27 28 <para os="a">Prepare Udev for compilation:</para> 29 30 <screen os="b"><userinput>./configure --prefix=/usr \ 31 --exec-prefix="" --sysconfdir=/etc \ 32 --libexecdir=/lib/udev --libdir=/usr/lib \ 33 --disable-extras --disable-introspection</userinput></screen> 26 <title>Installation of Eudev</title> 27 28 <para os="a">Prepare Eudev for compilation:</para> 29 30 <screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc \ 31 --with-rootprefix="" --libexecdir=/lib --enable-split-usr \ 32 --libdir=/usr/lib --with-rootlibdir=/lib --sbindir=/sbin --bindir=/sbin \ 33 --enable-rule_generator --disable-introspection --disable-keymap \ 34 --disable-gudev --disable-gtk-doc-html --with-firmware-path=/lib/firmware \ 35 --enable-libkmod</userinput></screen> 34 36 35 37 <para os="c">Compile the package:</para> 36 38 37 39 <screen os="d"><userinput>make</userinput></screen> 40 41 <para os="e">To test the results, issue:</para> 42 43 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 44 39 45 <para os="g">Install the package:</para> … … 46 52 <screen os="j"><userinput>install -dv /lib/firmware</userinput></screen> 47 53 54 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para> 55 56 <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" \ 57 > /etc/udev/rules.d/80-net-name-slot.rules</userinput></screen> 58 48 59 </sect2> 49 60 50 <sect2 id="contents- udev" role="content">51 <title>Contents of Udev</title>61 <sect2 id="contents-eudev" role="content"> 62 <title>Contents of Eudev</title> 52 63 53 64 <segmentedlist> … … 73 84 <term><command>udevadm</command></term> 74 85 <listitem> 75 <para>Controls the runtime behavior of Udev, requests kernel86 <para>Controls the runtime behavior of Eudev, requests kernel 76 87 events, manages the event queue, and provides simple debugging.</para> 77 <indexterm zone="ch-system- udev udevadm">88 <indexterm zone="ch-system-eudev udevadm"> 78 89 <primary sortas="b-udevadm">udevadm</primary> 79 90 </indexterm> … … 87 98 <command>udev</command>, 88 99 thus avoiding various race conditions</para> 89 <indexterm zone="ch-system- udev udevd">100 <indexterm zone="ch-system-eudev udevd"> 90 101 <primary sortas="b-udevd">udevd</primary> 91 102 </indexterm> … … 97 108 <term><command>ata_id</command></term> 98 109 <listitem> 99 <para>Provides Udev with a unique string and additional110 <para>Provides Eudev with a unique string and additional 100 111 information (uuid, label) for an ATA drive</para> 101 <indexterm zone="ch-system- udev ata_id">112 <indexterm zone="ch-system-eudev ata_id"> 102 113 <primary sortas="b-ata_id">ata_id</primary> 103 114 </indexterm> … … 109 120 <listitem> 110 121 <para>Prints the capabilities of a CDROM or DVDROM drive.</para> 111 <indexterm zone="ch-system- udev cdrom_id">122 <indexterm zone="ch-system-eudev cdrom_id"> 112 123 <primary sortas="b-cdrom_id">cdrom_id</primary> 113 124 </indexterm> … … 118 129 <term><command>collect</command></term> 119 130 <listitem> 120 <para>DESCRIPTION REQUIRED</para> 121 <indexterm zone="ch-system-udev collect"> 131 <para>Given an ID for the current uevent and a list of IDs 132 (for all target uevents), registers the current ID and indicates whether 133 all target IDs have been registered.</para> 134 <indexterm zone="ch-system-eudev collect"> 122 135 <primary sortas="b-collect">collect</primary> 123 136 </indexterm> … … 129 142 <listitem> 130 143 <para>Creates all possible floppy devices based on the CMOS type</para> 131 <indexterm zone="ch-system- udev create_floppy_devices">144 <indexterm zone="ch-system-eudev create_floppy_devices"> 132 145 <primary sortas="b-create_floppy_devices">create_floppy_devices</primary> 133 146 </indexterm> … … 139 152 <listitem> 140 153 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para> 141 <indexterm zone="ch-system- udev edd_id">154 <indexterm zone="ch-system-eudev edd_id"> 142 155 <primary sortas="b-edd_id">edd_id</primary> 143 156 </indexterm> … … 149 162 <listitem> 150 163 <para>Script to load firmware for a device</para> 151 <indexterm zone="ch-system- udev firmware.sh">164 <indexterm zone="ch-system-eudev firmware.sh"> 152 165 <primary sortas="b-firmware.sh">firmware.sh</primary> 153 166 </indexterm> … … 158 171 <term><command>fstab_import</command></term> 159 172 <listitem> 160 <para>DESCRIPTION REQUIRED</para> 161 <indexterm zone="ch-system-udev fstab_import"> 173 <para>Finds an entry in <filename>/etc/fstab</filename> that matches 174 the current device, and provides its information to Udev.</para> 175 <indexterm zone="ch-system-eudev fstab_import"> 162 176 <primary sortas="b-fstab_import">fstab_import</primary> 163 177 </indexterm> … … 170 184 <para>Provides the shortest possible unique hardware path to a 171 185 device</para> 172 <indexterm zone="ch-system- udev path_id">186 <indexterm zone="ch-system-eudev path_id"> 173 187 <primary sortas="b-path_id">path_id</primary> 174 188 </indexterm> … … 180 194 <listitem> 181 195 <para>Retrieves or generates a unique SCSI identifier.</para> 182 <indexterm zone="ch-system- udev scsi_id">196 <indexterm zone="ch-system-eudev scsi_id"> 183 197 <primary sortas="b-scsi_id">scsi_id</primary> 184 198 </indexterm> … … 190 204 <listitem> 191 205 <para>Identifies a USB block device.</para> 192 <indexterm zone="ch-system- udev usb_id">206 <indexterm zone="ch-system-eudev usb_id"> 193 207 <primary sortas="b-usb_id">usb_id</primary> 194 208 </indexterm> … … 199 213 <term><command>v4l_id</command></term> 200 214 <listitem> 201 <para>D ESCRIPTION REQUIRED</para>202 <indexterm zone="ch-system- udev v4l_id">215 <para>Determines V4L capabilities for a given device.</para> 216 <indexterm zone="ch-system-eudev v4l_id"> 203 217 <primary sortas="b-v4l_id">v4l_id</primary> 204 218 </indexterm> … … 209 223 <term><command>write_cd_rules</command></term> 210 224 <listitem> 211 <para>DESCRIPTION REQUIRED</para> 212 <indexterm zone="ch-system-udev write_cd_rules"> 225 <para>A script which generates Eudev rules to provide stable names 226 for network interfaces.</para> 227 <indexterm zone="ch-system-eudev write_cd_rules"> 213 228 <primary sortas="b-write_cd_rules">write_cd_rules</primary> 214 229 </indexterm> … … 219 234 <term><command>write_net_rules</command></term> 220 235 <listitem> 221 <para>DESCRIPTION REQUIRED</para> 222 <indexterm zone="ch-system-udev write_net_rules"> 236 <para>A script which generates Eudev rules to provide stable names 237 for network interfaces.</para> 238 <indexterm zone="ch-system-eudev write_net_rules"> 223 239 <primary sortas="b-write_net_rules">write_net_rules</primary> 224 240 </indexterm> … … 230 246 <term><filename class="libraryfile">libudev</filename></term> 231 247 <listitem> 232 <para> DESCRIPTION REQUIRED</para>233 <indexterm zone="ch-system- udev libudev">248 <para>A library interface to eudev device information.</para> 249 <indexterm zone="ch-system-eudev libudev"> 234 250 <primary sortas="c-libudev">libudev</primary> 235 251 </indexterm> … … 237 253 </varlistentry> 238 254 239 <varlistentry id="etc- udev">255 <varlistentry id="etc-eudev"> 240 256 <term><filename class="directory">/etc/udev</filename></term> 241 257 <listitem> 242 258 <para>Contains <command>udev</command> configuration files, 243 259 device permissions, and rules for device naming</para> 244 <indexterm zone="ch-system- udev etc-udev">260 <indexterm zone="ch-system-eudev etc-eudev"> 245 261 <primary sortas="e-/etc/udev">/etc/udev</primary> 246 262 </indexterm> … … 248 264 </varlistentry> 249 265 250 <varlistentry id="lib- udev">266 <varlistentry id="lib-eudev"> 251 267 <term><filename class="directory">/lib/udev</filename></term> 252 268 <listitem> 253 269 <para>Contains <command>udev</command> helper programs 254 270 and static devices which get copied to /dev when booted.</para> 255 <indexterm zone="ch-system- udev lib-udev">271 <indexterm zone="ch-system-eudev lib-eudev"> 256 272 <primary sortas="e-/lib/udev">/lib/udev</primary> 257 273 </indexterm> -
BOOK/final-system/common/file.xml
r1c9985f r026bb5d 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">This package does not come with a test suite.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 39 38 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/findutils.xml
r1c9985f r026bb5d 51 51 <screen os="e"><userinput>make</userinput></screen> 52 52 53 <para os="f">To test the results, issue: 54 <userinput>make check</userinput>.</para> 53 <para os="f">To test the results, issue:</para> 54 55 <screen os="f2"><userinput remap="test">make check</userinput></screen> 55 56 56 57 <para os="g">Install the package:</para> -
BOOK/final-system/common/flex.xml
r1c9985f r026bb5d 26 26 <title>Installation of Flex</title> 27 27 28 <para os="p1">The following patch contains fixes to Generate proper29 GCC 4.4.x code:</para>30 31 <screen os="p2"><userinput>patch -Np1 -i ../&flex-gcc44-patch;</userinput></screen>32 33 28 <para os="a">Prepare Flex for compilation:</para> 34 29 … … 39 34 <screen os="d"><userinput>make</userinput></screen> 40 35 41 <para os="e">To test the results, issue: 42 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 43 39 44 40 <para os="f">Install the package:</para> … … 101 97 </varlistentry> 102 98 99 <varlistentry id="flexpp"> 100 <term><command>flex++</command></term> 101 <listitem> 102 <para>Link to <command>flex</command> which makes it generate C++ 103 scanner classes</para> 104 <indexterm zone="ch-system-flex flexpp"> 105 <primary sortas="b-flex++">flex++</primary> 106 </indexterm> 107 </listitem> 108 </varlistentry> 109 103 110 <varlistentry id="lex"> 104 111 <term><command>lex</command></term> -
BOOK/final-system/common/gawk.xml
r1c9985f r026bb5d 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 39 39 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/gcc.xml
r1c9985f r026bb5d 26 26 <title>Installation of GCC</title> 27 27 28 29 28 <para os="p1">The following patch contains a number of updates to the 30 29 &gcc-version; branch by the GCC developers:</para> 31 30 32 31 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen> 32 33 <para os="fix1">Apply a <command>sed</command> subsitution that will 34 suppress the execution of the <command>fixincludes</command> script:</para> 35 36 <screen os="fix2"><userinput>cp -v gcc/Makefile.in{,.orig} 37 sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 33 38 34 39 <para os="d">Apply a <command>sed</command> substitution that will suppress the … … 54 59 --enable-__cxa_atexit --enable-c99 --enable-long-long \ 55 60 --enable-clocale=gnu --enable-languages=c,c++ \ 56 --disable-multilib --disable-libstdcxx-pch</userinput></screen> 61 --disable-multilib --disable-libstdcxx-pch \ 62 --enable-cloog-backend=isl --disable-isl-version-check --with-system-zlib \ 63 --enable-checking=release --enable-libstdcxx-time \ 64 --disable-install-libiberty</userinput></screen> 57 65 58 66 <para os="j">Compile the package:</para> … … 65 73 </important> 66 74 75 <para os="s1">Increase the stack size prior to running the tests:</para> 76 77 <screen os="s2"><userinput remap="test">ulimit -s 32768</userinput></screen> 78 67 79 <para os="m">Test the results, but do not stop at errors:</para> 68 80 69 <screen os="n"><userinput >make -k check</userinput></screen>81 <screen os="n"><userinput remap="test">make -k check</userinput></screen> 70 82 71 83 <para os="o">The <parameter>-k</parameter> flag is used to make the test suite … … 74 86 failures. To receive a summary of the test suite results, run:</para> 75 87 76 <screen os="p"><userinput >../gcc-&gcc-version;/contrib/test_summary</userinput></screen>88 <screen os="p"><userinput remap="test">../gcc-&gcc-version;/contrib/test_summary</userinput></screen> 77 89 78 90 <para os="q">For only the summaries, pipe the output through … … 97 109 98 110 <screen os="x"><userinput>ln -sv gcc /usr/bin/cc</userinput></screen> 111 112 <para os="y">Finally, move a misplaced file:</para> 113 114 <screen os="z"><userinput>mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen> 99 115 100 116 </sect2> … … 109 125 110 126 <seglistitem> 111 <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug,and gcov</seg>112 <seg>lib gcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, libgomp.[a,so],113 lib mudflap.[a,so], libmudflapth.[a,so], libssp.[a,so],114 libssp_nonshared.a, libstdc++.[a,so], and libsupc++.a</seg>115 <seg>/usr/include/c++, /usr/lib/gcc </seg>127 <seg>c++, cc (link to gcc), cpp, g++, gcc, and gcov</seg> 128 <seg>libasan.[a,so], libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, 129 libgomp.[a,so], libmudflap.[a,so], libmudflapth.[a,so], libssp.[a,so], 130 libssp_nonshared.a, libstdc++.[a,so], libsupc++.a, and libtsan.[a,so]</seg> 131 <seg>/usr/include/c++, /usr/lib/gcc, /usr/share/gcc-&gcc-version;</seg> 116 132 </seglistitem> 117 133 </segmentedlist> … … 173 189 </varlistentry> 174 190 175 <varlistentry id="gccbug">176 <term><command>gccbug</command></term>177 <listitem>178 <para>A shell script used to help create useful bug reports</para>179 <indexterm zone="ch-system-gcc gccbug">180 <primary sortas="b-gccbug">gccbug</primary>181 </indexterm>182 </listitem>183 </varlistentry>184 185 191 <varlistentry id="gcov"> 186 192 <term><command>gcov</command></term> … … 194 200 </varlistentry> 195 201 202 <varlistentry id="libasan"> 203 <term><filename class="libraryfile">libasan</filename></term> 204 <listitem> 205 <para>The Address Sanitizer runtime library</para> 206 <indexterm zone="ch-system-gcc libasan"> 207 <primary sortas="c-libasan">libasan</primary> 208 </indexterm> 209 </listitem> 210 </varlistentry> 211 196 212 <varlistentry id="libgcc"> 197 213 <term><filename class="libraryfile">libgcc</filename></term> … … 269 285 </varlistentry> 270 286 287 <varlistentry id="libtsan"> 288 <term><filename class="libraryfile">libtsan</filename></term> 289 <listitem> 290 <para>The Thread Sanitizer runtime library</para> 291 <indexterm zone="ch-system-gcc libtsan"> 292 <primary sortas="c-libtsan">libtsan</primary> 293 </indexterm> 294 </listitem> 295 </varlistentry> 296 271 297 </variablelist> 272 298 -
BOOK/final-system/common/gettext.xml
r1c9985f r026bb5d 36 36 <screen os="d"><userinput>make</userinput></screen> 37 37 38 <para os="e">To test the results, issue: <userinput>make check</userinput>.</para> 38 <para os="e">To test the results, issue:</para> 39 40 <screen os="e2"><userinput remap="test">make check</userinput></screen> 39 41 40 42 <para os="f">Install the package:</para> -
BOOK/final-system/common/gmp.xml
r1c9985f r026bb5d 35 35 36 36 <note os="n1"> 37 <para>If you are compiling this package on a different CPU th en you plan to38 run the CLFS system on. You must replace GMP's <filename>config.guess</filename>39 and <filename>config.sub</filename> wrappers with the originals. This will40 prevent GMP from optimizing for the wrong CPU. You can make this change with41 the following command:</para>37 <para>If you are compiling this package on a different CPU than you plan 38 to run the CLFS system on, you must replace GMP's 39 <filename>config.guess</filename> and <filename>config.sub</filename> 40 wrappers with the originals. This will prevent GMP from optimizing for 41 the wrong CPU. You can make this change with the following command:</para> 42 42 43 <screen> <userinput>mv -v config{fsf,}.guess44 mv -v config{fsf,}.sub</ userinput></screen>43 <screen>mv -v config{fsf,}.guess 44 mv -v config{fsf,}.sub</screen> 45 45 46 46 </note> … … 48 48 <para os="a">Prepare GMP for compilation:</para> 49 49 50 <screen os="b"><userinput>C PPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \50 <screen os="b"><userinput>CC="gcc -isystem /usr/include" \ 51 51 CXX="g++ -isystem /usr/include" \ 52 52 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 53 ./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>53 ./configure --prefix=/usr --enable-cxx</userinput></screen> 54 54 55 55 <para os="c">Compile the package:</para> … … 64 64 <para os="f">Test the results:</para> 65 65 66 <screen os="g"><userinput >make check</userinput></screen>66 <screen os="g"><userinput remap="test">make check</userinput></screen> 67 67 68 68 <para os="h">Install the package:</para> -
BOOK/final-system/common/grep.xml
r1c9985f r026bb5d 28 28 <para os="a">Prepare Grep for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --without-included-regex</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen> 31 31 32 32 <para os="c">Compile the package:</para> … … 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 39 39 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/groff.xml
r1c9985f r026bb5d 69 69 roff2pdf, roff2ps, roff2text, roff2x, soelim, tbl, tfmtodit, troff, 70 70 and zsoelim (link to soelim)</seg> 71 <seg>/usr/lib/groff, /usr/share/doc/groff , /usr/share/groff</seg>71 <seg>/usr/lib/groff, /usr/share/doc/groff-&groff-version;, /usr/share/groff</seg> 72 72 </seglistitem> 73 73 </segmentedlist> -
BOOK/final-system/common/gzip.xml
r1c9985f r026bb5d 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: <command>make check</command>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 39 38 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/iana-etc.xml
r1c9985f r026bb5d 25 25 <sect2 role="installation"> 26 26 <title>Installation of Iana-Etc</title> 27 28 <note os="p1"> 29 <para>This package has the option of downloading updated data when internet access is available. If /etc/resolv.conf has a nameserver entry and internet access is available at this step, then apply the IANA get patch and get the updated data: 30 <screen><command>patch -Np1 -i ../&iana-etc-get_fix-patch;</command> 31 <command>make get</command></screen> 32 Do not apply the following patch.</para> 33 </note> 34 35 <para os="p2">The following patch updates the services and protocol files:</para> 36 37 <screen os="p3"><userinput>patch -Np1 -i ../&iana-etc-numbers_update-patch;</userinput></screen> 27 38 28 39 <para os="a">The following command converts the raw data provided by IANA into -
BOOK/final-system/common/iproute2.xml
r1c9985f r026bb5d 29 29 program, which is dependent on Berkeley DB. Because <command>arpd</command> 30 30 is not a very common requirement on a base Linux system, remove the 31 dependency on Berkeley DB by applying the <command>sed</command> command31 dependency on Berkeley DB by using the commands 32 32 below. If the <command>arpd</command> binary is needed, instructions for 33 33 compiling Berkeley DB can be found in CBLFS at <ulink 34 34 url="&cblfs-root;index.php/Berkeley_DB"/>.</para> 35 35 36 <screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> 36 <screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile 37 sed -i '/ARPD/d' Makefile 38 rm -v man/man8/arpd.8</userinput></screen> 39 40 <para os="f1">Remove unused libnl headers:</para> 41 42 <screen os="f2"><userinput>sed -i '/netlink\//d' ip/ipl2tp.c</userinput></screen> 37 43 38 44 <para os="a">Compile the package:</para> … … 83 89 84 90 <seglistitem> 85 <seg> ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat,nstat,86 routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss,91 <seg>bridge, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, 92 nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, 87 93 and tc</seg> 88 94 <seg>/etc/iproute2, /lib/tc, /usr/lib/tc, /usr/share/doc/iproute2</seg> … … 94 100 <?dbfo list-presentation="list"?> 95 101 <?dbhtml list-presentation="table"?> 102 103 <varlistentry id="bridge"> 104 <term><command>bridge</command></term> 105 <listitem> 106 <para>Configures network bridges</para> 107 <indexterm zone="ch-system-iproute2 bridge"> 108 <primary sortas="b-bridge">bridge</primary> 109 </indexterm> 110 </listitem> 111 </varlistentry> 96 112 97 113 <varlistentry id="ctstat"> -
BOOK/final-system/common/iputils.xml
r1c9985f r026bb5d 30 30 <screen os="p2"><userinput>patch -Np1 -i ../&iputils-fixes-patch;</userinput></screen> 31 31 32 <para os="p3">The following patch contains pregenerated documentation for33 IPutils:</para>34 35 <screen os="p4"><userinput>patch -Np1 -i ../&iputils-doc-patch;</userinput></screen>36 37 32 <para os="a">Compile the package:</para> 38 33 39 <screen os="b"><userinput>make IPV4_TARGETS="tracepath ping rdisc clockdiff" \ 34 <screen os="b"><userinput>make USE_CAP=no \ 35 IPV4_TARGETS="tracepath ping clockdiff rdisc" \ 40 36 IPV6_TARGETS="tracepath6 traceroute6"</userinput></screen> 41 37 -
BOOK/final-system/common/kbd.xml
r1c9985f r026bb5d 26 26 <title>Installation of Kbd</title> 27 27 28 <para os="p1">Apply the following patch to fix a typo in es.po:</para>29 30 <screen os="p2"><userinput>patch -Np1 -i ../&kbd-espo-patch;</userinput></screen>31 32 28 <para os="a">Prepare Kbd for compilation:</para> 33 29 34 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 30 <screen os="b"><userinput>PKG_CONFIG_PATH="/tools/lib/pkgconfig" \ 31 ./configure --prefix=/usr --disable-vlock --enable-optional-progs</userinput></screen> 35 32 36 33 <para os="c">Compile the package:</para> … … 49 46 stages of booting, those binaries need to be on the root partition:</para> 50 47 51 <screen os="i"><userinput>mv -v /usr/bin/{kbd_mode,dumpkeys,loadkeys,openvt,setfont, 48 <screen os="i"><userinput>mv -v /usr/bin/{kbd_mode,dumpkeys,loadkeys,openvt,setfont,setvtrgb} /bin</userinput></screen> 52 49 53 50 </sect2> -
BOOK/final-system/common/kmod.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-system- module-init-tools" role="wrap">9 <?dbhtml filename=" module-init-tools.html"?>8 <sect1 id="ch-system-kmod" role="wrap"> 9 <?dbhtml filename="kmod.html"?> 10 10 11 <title> Module-Init-Tools-&module-init-tools-version;</title>11 <title>Kmod-&kmod-version;</title> 12 12 13 <indexterm zone="ch-system- module-init-tools">14 <primary sortas="a- Module-Init-Tools">Module-Init-Tools</primary>13 <indexterm zone="ch-system-kmod"> 14 <primary sortas="a-Kmod">Kmod</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The Module-Init-Tools package contains programs for handling kernel 21 modules in Linux kernels greater than or equal to version 2.5.47.</para> 20 <para>The Kmod package contains programs for loading, inserting 21 and removing kernel modules for Linux. Kmod replaces the 22 Module-Init-tools package.</para> 22 23 23 24 </sect2> 24 25 25 26 <sect2 role="installation"> 26 <title>Installation of Module-Init-Tools</title>27 <title>Installation of Kmod</title> 27 28 28 <para os=" c">Issue the following commands to perform the tests</para>29 <para os="a">Prepare Kmod for compilation:</para> 29 30 30 <screen os="d"><userinput>sed -i "s/\(make\)\( all\)/\1 DOCBOOKTOMAN=true\2/" tests/runtests && 31 ./tests/runtests</userinput></screen> 31 <screen os="b"><userinput>./configure --prefix=/usr \ 32 --bindir=/bin --sysconfdir=/etc \ 33 --with-rootlibdir=/lib --disable-manpages \ 34 --with-zlib --with-xz</userinput></screen> 32 35 33 <para os="e">Prepare Module-Init-Tools for compilation:</para> 34 35 <screen os="f"><userinput>./configure --prefix=/usr \ 36 --bindir=/bin --sbindir=/sbin \ 37 --enable-zlib-dynamic</userinput></screen> 38 39 <variablelist os="g"> 36 <variablelist os="c"> 40 37 <title>The meaning of the configure option:</title> 41 38 42 39 <varlistentry> 43 <term><parameter>-- enable-zlib-dynamic</parameter></term>40 <term><parameter>--with-rootlibdir=/lib</parameter></term> 44 41 <listitem> 45 <para>This allows the Module-Init-Tools package to handle compressed 46 kernel modules.</para> 42 <para>Install location for shared libraries.</para> 43 </listitem> 44 </varlistentry> 45 46 <varlistentry> 47 <term><parameter>--with-zlib --with-xz</parameter></term> 48 <listitem> 49 <para>This allows the Kmod package to handle zlib and XZ 50 compressed kernel modules.</para> 47 51 </listitem> 48 52 </varlistentry> … … 50 54 </variablelist> 51 55 52 <para os=" h">Compile the package:</para>56 <para os="d">Compile the package:</para> 53 57 54 <screen os=" i"><userinput>make DOCBOOKTOMAN=true</userinput></screen>58 <screen os="e"><userinput>make</userinput></screen> 55 59 56 <para os=" j">Install the package:</para>60 <para os="f">To test the results, issue:</para> 57 61 58 <screen os=" k"><userinput>make install</userinput></screen>62 <screen os="f2"><userinput remap="test">make check</userinput></screen> 59 63 64 <para os="g">Install the package:</para> 65 66 <screen os="h"><userinput>make install 67 make -C man install</userinput></screen> 68 69 <para os="i">Create symbolic links for programs that expect Module-Init-Tools.</para> 70 71 <screen os="j"><userinput>ln -sfv kmod /bin/lsmod 72 ln -sfv ../bin/kmod /sbin/depmod 73 ln -sfv ../bin/kmod /sbin/insmod 74 ln -sfv ../bin/kmod /sbin/modprobe 75 ln -sfv ../bin/kmod /sbin/modinfo 76 ln -sfv ../bin/kmod /sbin/rmmod</userinput></screen> 77 60 78 </sect2> 61 79 62 <sect2 id="contents- module-init-tools" role="content">63 <title>Contents of Module-Init-Tools</title>80 <sect2 id="contents-kmod" role="content"> 81 <title>Contents of Kmod</title> 64 82 65 83 <segmentedlist> … … 67 85 68 86 <seglistitem> 69 <seg>depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and87 <seg>depmod, insmod, kmod, lsmod, modinfo, modprobe, and 70 88 rmmod</seg> 71 89 </seglistitem> … … 84 102 <command>modprobe</command> to automatically load the required 85 103 modules</para> 86 <indexterm zone="ch-system- module-init-toolsdepmod">104 <indexterm zone="ch-system-kmod depmod"> 87 105 <primary sortas="b-depmod">depmod</primary> 88 106 </indexterm> … … 94 112 <listitem> 95 113 <para>Installs a loadable module in the running kernel</para> 96 <indexterm zone="ch-system- module-init-toolsinsmod">114 <indexterm zone="ch-system-kmod insmod"> 97 115 <primary sortas="b-insmod">insmod</primary> 98 116 </indexterm> … … 100 118 </varlistentry> 101 119 102 <varlistentry id=" insmod.static">103 <term><command> insmod.static</command></term>120 <varlistentry id="kmod"> 121 <term><command>kmod</command></term> 104 122 <listitem> 105 <para> A statically compiled version of <command>insmod</command></para>106 <indexterm zone="ch-system- module-init-tools insmod.static">107 <primary sortas="b- insmod.static">insmod.static</primary>123 <para>Loads and unloads kernel modules</para> 124 <indexterm zone="ch-system-kmod kmod"> 125 <primary sortas="b-kmod">kmod</primary> 108 126 </indexterm> 109 127 </listitem> … … 114 132 <listitem> 115 133 <para>Lists currently loaded modules</para> 116 <indexterm zone="ch-system- module-init-toolslsmod">134 <indexterm zone="ch-system-kmod lsmod"> 117 135 <primary sortas="b-lsmod">lsmod</primary> 118 136 </indexterm> … … 125 143 <para>Examines an object file associated with a kernel module and 126 144 displays any information that it can glean</para> 127 <indexterm zone="ch-system- module-init-toolsmodinfo">145 <indexterm zone="ch-system-kmod modinfo"> 128 146 <primary sortas="b-modinfo">modinfo</primary> 129 147 </indexterm> … … 136 154 <para>Uses a dependency file, created by <command>depmod</command>, 137 155 to automatically load relevant modules</para> 138 <indexterm zone="ch-system- module-init-toolsmodprobe">156 <indexterm zone="ch-system-kmod modprobe"> 139 157 <primary sortas="b-modprobe">modprobe</primary> 140 158 </indexterm> … … 146 164 <listitem> 147 165 <para>Unloads modules from the running kernel</para> 148 <indexterm zone="ch-system- module-init-toolsrmmod">166 <indexterm zone="ch-system-kmod rmmod"> 149 167 <primary sortas="b-rmmod">rmmod</primary> 150 168 </indexterm> -
BOOK/final-system/common/libee.xml
r1c9985f r026bb5d 31 31 <para os="c">Compile the package:</para> 32 32 33 <note os="n1"> 34 <para>Libee will fail to compile if using multiple jobs with make. Append "<command>-j 1</command>" to the following make command:</para> 35 </note> 36 33 37 <screen os="d"><userinput>make</userinput></screen> 34 38 … … 45 49 46 50 <segmentedlist> 47 <segtitle>Installed Program s</segtitle>51 <segtitle>Installed Program</segtitle> 48 52 <segtitle>Installed libraries</segtitle> 53 <segtitle>Installed directory</segtitle> 49 54 50 55 <seglistitem> 51 <seg> convert</seg>56 <seg>libee-convert</seg> 52 57 <seg>libee.[a,so]</seg> 58 <seg>/usr/include/libee</seg> 53 59 </seglistitem> 54 60 </segmentedlist> … … 59 65 <?dbhtml list-presentation="table"?> 60 66 61 <varlistentry id=" convert">62 <term><command> convert</command></term>67 <varlistentry id="libee-convert"> 68 <term><command>libee-convert</command></term> 63 69 <listitem> 64 70 <para>todo</para> 65 <indexterm zone="ch-system-libee convert">66 <primary sortas="b- convert">convert</primary>71 <indexterm zone="ch-system-libee libee-convert"> 72 <primary sortas="b-libee-convert">libee-convert</primary> 67 73 </indexterm> 68 74 </listitem> -
BOOK/final-system/common/libtool.xml
r1c9985f r026bb5d 35 35 <screen os="d"><userinput>make</userinput></screen> 36 36 37 <para os="e">To test the results, issue: 38 <userinput>make check</userinput>.</para> 37 <para os="e">To test the results, issue:</para> 38 39 <screen os="e2"><userinput remap="test">make check</userinput></screen> 39 40 40 41 <para os="f">Install the package:</para> -
BOOK/final-system/common/linux-headers.xml
r1c9985f r026bb5d 32 32 <screen os="c"><userinput>make mrproper 33 33 make headers_check 34 make INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* /usr/include 34 make INSTALL_HDR_PATH=/usr headers_install 36 35 find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen> 37 36 … … 55 54 56 55 <varlistentry os="d3"> 57 <term><parameter>make INSTALL_HDR_PATH= destheaders_install</parameter></term>56 <term><parameter>make INSTALL_HDR_PATH=/usr headers_install</parameter></term> 58 57 <listitem> 59 <para>Normally the headers_install target removes the entire 60 destination directory (default 61 <filename class="directory">/usr/include</filename>) before 62 installing the headers. To prevent this, we tell the kernel to 63 install the headers to a directory inside the source dir.</para> 58 <para>This will install the kernel headers into 59 <filename class="directory">/usr/include</filename>.</para> 60 </listitem> 61 </varlistentry> 62 63 <varlistentry os="d4"> 64 <term><parameter>find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</parameter></term> 65 <listitem> 66 <para>Removes a number of unneeded debugging files that were installed.</para> 64 67 </listitem> 65 68 </varlistentry> … … 77 80 78 81 <seglistitem> 79 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,s ound,video}/*.h</seg>82 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</seg> 80 83 <seg>/usr/include/asm, /usr/include/asm-generic, /usr/include/drm, 81 84 /usr/include/linux, /usr/include/mtd, /usr/include/rdma, 82 /usr/include/scsi, /usr/include/sound, /usr/include/video, /usr/include/xen</seg> 85 /usr/include/scsi, /usr/include/sound, /usr/include/uapi, 86 /usr/include/video, /usr/include/xen</seg> 83 87 </seglistitem> 84 88 </segmentedlist> -
BOOK/final-system/common/make.xml
r1c9985f r026bb5d 33 33 <screen os="d"><userinput>make</userinput></screen> 34 34 35 <para os="e">To test the results, issue: 36 <userinput>make check</userinput>.</para> 35 <para os="e">To test the results, issue:</para> 36 37 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 38 38 39 <para os="f">Install the package:</para> -
BOOK/final-system/common/mpc.xml
r1c9985f r026bb5d 30 30 <screen os="b"><userinput>CC="gcc -isystem /usr/include" \ 31 31 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 32 EGREP="grep -E"./configure --prefix=/usr</userinput></screen>32 ./configure --prefix=/usr</userinput></screen> 33 33 34 34 <para os="c">Compile the package:</para> … … 43 43 <para os="f">Test the results:</para> 44 44 45 <screen os="g"><userinput >make check</userinput></screen>45 <screen os="g"><userinput remap="test">make check</userinput></screen> 46 46 47 47 <para os="h">Install the package:</para> -
BOOK/final-system/common/mpfr.xml
r1c9985f r026bb5d 26 26 <title>Installation of MPFR</title> 27 27 28 <para os="p1">Apply a patch with upstream fixes:</para> 29 30 <screen os="p2"><userinput>patch -Np1 -i ../&mpfr-fixes-patch;</userinput></screen> 31 28 32 <para os="a">Prepare MPFR for compilation:</para> 29 33 … … 44 48 <para os="f">Test the results:</para> 45 49 46 <screen os="g"><userinput >make check</userinput></screen>50 <screen os="g"><userinput remap="test">make check</userinput></screen> 47 51 48 52 <para os="h">Install the package:</para> -
BOOK/final-system/common/ncurses.xml
r1c9985f r026bb5d 35 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \ 36 36 --with-shared --without-debug --enable-widec \ 37 --with-manpage-format=normal</userinput></screen> 37 --with-manpage-format=normal \ 38 --with-default-terminfo-dir=/usr/share/terminfo</userinput></screen> 38 39 39 40 <para os="c">Compile the package:</para> … … 41 42 <screen os="d"><userinput>make</userinput></screen> 42 43 43 <para os="e">This package does not come with a test suite.</para> 44 <para os="e">This package has a test suite, and can be ran after the 45 package is installed. The tests are in the 46 <filename class="directory">test/</filename> directory. See the 47 <filename>README</filename> file in that directory for details.</para> 44 48 45 49 <para os="f">Install the package:</para> -
BOOK/final-system/common/patch.xml
r1c9985f r026bb5d 35 35 <screen os="d"><userinput>make</userinput></screen> 36 36 37 <para os="e">This package does not come with a test suite.</para> 37 <para os="e">To test the results, issue:</para> 38 39 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 40 39 41 <para os="f">Install the package:</para> … … 77 79 78 80 </sect1> 81 -
BOOK/final-system/common/perl.xml
r1c9985f r026bb5d 39 39 loopback device as well as set a hostname for some of the tests:</para> 40 40 41 <screen><userinput>ip link set lo up41 <screen os="a01"><userinput remap="test">ip link set lo up 42 42 hostname clfs</userinput></screen> 43 43 </note> 44 44 45 <para os="a0 1">Before starting to configure, create a basic45 <para os="a02">Before starting to configure, create a basic 46 46 <filename>/etc/hosts</filename> file which will be referenced by one 47 47 of Perl's configuration files as well as used by the testsuite:</para> 48 48 49 <screen os="a0 2"><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>49 <screen os="a03"><userinput remap="test">echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> 50 50 51 51 <para os="a">To have full control over the way Perl is set up, you can … … 101 101 <screen os="e"><userinput>make</userinput></screen> 102 102 103 <para os="h">To test the results, issue: 104 <userinput>make test</userinput>.</para> 103 <para os="h">To test the results, issue:</para> 104 105 <screen os="h2"><userinput remap="test">make test</userinput></screen> 105 106 106 107 <para os="j">Install the package:</para> … … 120 121 <seglistitem> 121 122 <seg>a2p, c2ph, config_data, corelist, cpan, cpan2dist, cpanp, 122 cpanp-run-perl, dprofpp, enc2xs, find2perl, h2ph, h2xs, instmodsh,123 cpanp-run-perl, enc2xs, find2perl, h2ph, h2xs, instmodsh, json_pp, 123 124 libnetcfg, perl, perl&perl-version; (link to perl), perlbug, 124 125 perldoc, perlivp, perlthanks (link to perlbug), piconv, pl2pm, pod2html, 125 126 pod2latex, pod2man, pod2text, pod2usage, podchecker, podselect, prove, 126 psed (link to s2p), pstruct (link to c2ph), ptar, ptardiff, s2p, shasum,127 s plain, and xsubpp</seg>127 psed (link to s2p), pstruct (link to c2ph), ptar, ptardiff, ptargrep, 128 s2p, shasum, splain, xsubpp, and zipdetails</seg> 128 129 <seg>Several hundred which cannot all be listed here</seg> 129 130 <seg>/usr/lib/perl5</seg> … … 213 214 <indexterm zone="ch-system-perl cpanp-run-perl"> 214 215 <primary sortas="b-cpanp-run-perl">cpanp-run-perl</primary> 215 </indexterm>216 </listitem>217 </varlistentry>218 219 <varlistentry id="dprofpp">220 <term><command>dprofpp</command></term>221 <listitem>222 <para>Displays Perl profile data</para>223 <indexterm zone="ch-system-perl dprofpp">224 <primary sortas="b-dprofpp">dprofpp</primary>225 216 </indexterm> 226 217 </listitem> … … 282 273 </varlistentry> 283 274 275 <varlistentry id="json_pp"> 276 <term><command>json_pp</command></term> 277 <listitem> 278 <para>Converts data between certain input and output formats</para> 279 <indexterm zone="ch-system-perl json_pp"> 280 <primary sortas="b-json_pp">json_pp</primary> 281 </indexterm> 282 </listitem> 283 </varlistentry> 284 284 285 <varlistentry id="libnetcfg"> 285 286 <term><command>libnetcfg</command></term> … … 505 506 </varlistentry> 506 507 508 <varlistentry id="ptargrep"> 509 <term><command>ptargrep</command></term> 510 <listitem> 511 <para>A Perl program that applies pattern matching to the contents 512 of files in a tar archive</para> 513 <indexterm zone="ch-system-perl ptargrep"> 514 <primary sortas="b-ptargrep">ptargrep</primary> 515 </indexterm> 516 </listitem> 517 </varlistentry> 518 507 519 <varlistentry id="s2p"> 508 520 <term><command>s2p</command></term> … … 545 557 </varlistentry> 546 558 559 <varlistentry id="zipdetails"> 560 <term><command>zipdetails</command></term> 561 <listitem> 562 <para>Displays details about the internal structure of a Zip file</para> 563 <indexterm zone="ch-system-perl zipdetails"> 564 <primary sortas="b-zipdetails">zipdetails</primary> 565 </indexterm> 566 </listitem> 567 </varlistentry> 568 547 569 </variablelist> 548 570 -
BOOK/final-system/common/pkg-config-lite.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-system-pkg-config " role="wrap">9 <?dbhtml filename="pkg-config .html"?>8 <sect1 id="ch-system-pkg-config-lite" role="wrap"> 9 <?dbhtml filename="pkg-config-lite.html"?> 10 10 11 <title>Pkg-config- &pkg-config-version;</title>11 <title>Pkg-config-lite-&pkg-config-lite-version;</title> 12 12 13 <indexterm zone="ch-system-pkg-config ">14 <primary sortas="a-Pkg-config ">Pkg-config</primary>13 <indexterm zone="ch-system-pkg-config-lite"> 14 <primary sortas="a-Pkg-config-lite">Pkg-config-lite</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>Pkg-config is a tool to help you insert the correct compiler options20 <para>Pkg-config-lite is a tool to help you insert the correct compiler options 21 21 on the command line when compiling applications and libraries.</para> 22 22 … … 24 24 25 25 <sect2 role="installation"> 26 <title>Installation of Pkg-config </title>26 <title>Installation of Pkg-config-lite</title> 27 27 28 <para os="a">Prepare Pkg-config for compilation:</para>28 <para os="a">Prepare Pkg-config-lite for compilation:</para> 29 29 30 <screen os="b"><userinput>GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \ 31 GLIB_LIBS="-lglib-2.0" \ 32 ./configure --prefix=/usr</userinput></screen> 33 34 <variablelist os="bb"> 35 <title>The meaning of the new configure option:</title> 36 37 <varlistentry> 38 <term><parameter>GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"</parameter></term> 39 <term><parameter>GLIB_LIBS="-lglib-2.0"</parameter></term> 40 <listitem> 41 <para>Pkg-config no longer comes with Glib and because Pkg-config 42 has not been installed itself it needs to be told where Glib is.</para> 43 </listitem> 44 </varlistentry> 45 </variablelist> 30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 46 31 47 32 <para os="c">Compile the package:</para> … … 49 34 <screen os="d"><userinput>make</userinput></screen> 50 35 51 <para os="e">To test the results, issue: 52 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 53 39 54 40 <para os="f">Install the package:</para> … … 58 44 </sect2> 59 45 60 <sect2 id="contents-pkg-config " role="content">61 <title>Contents of Pkg-config </title>46 <sect2 id="contents-pkg-config-lite" role="content"> 47 <title>Contents of Pkg-config-lite</title> 62 48 63 49 <segmentedlist> … … 76 62 <?dbhtml list-presentation="table"?> 77 63 78 <varlistentry id="pkg-config ">64 <varlistentry id="pkg-config-lite"> 79 65 <term><command>pkg-config</command></term> 80 66 <listitem> … … 82 68 information about installed libraries in the system. It is typically 83 69 used to compile and link against one or more libraries.</para> 84 <indexterm zone="ch-system-pkg-config pkg-config">85 <primary sortas="b-pkg-config ">pkg-config</primary>70 <indexterm zone="ch-system-pkg-config-lite pkg-config-lite"> 71 <primary sortas="b-pkg-config-lite">pkg-config</primary> 86 72 </indexterm> 87 73 </listitem> -
BOOK/final-system/common/procps.xml
r1c9985f r026bb5d 48 48 <para os="d">Install the package:</para> 49 49 50 <screen os="e"><userinput>make install</userinput></screen>50 <screen os="e"><userinput>make SKIP='/bin/kill /usr/share/man/man1/kill.1' install</userinput></screen> 51 51 52 52 </sect2> … … 60 60 61 61 <seglistitem> 62 <seg>free, kill,pgrep, pkill, pmap, ps, pwdx, skill, slabtop, snice, sysctl,62 <seg>free, pgrep, pkill, pmap, ps, pwdx, skill, slabtop, snice, sysctl, 63 63 tload, top, uptime, vmstat, w, and watch</seg> 64 64 <seg>libproc.so</seg> … … 78 78 <indexterm zone="ch-system-procps free"> 79 79 <primary sortas="b-free">free</primary> 80 </indexterm>81 </listitem>82 </varlistentry>83 84 <varlistentry id="kill">85 <term><command>kill</command></term>86 <listitem>87 <para>Sends signals to processes</para>88 <indexterm zone="ch-system-procps kill">89 <primary sortas="b-kill">kill</primary>90 80 </indexterm> 91 81 </listitem> -
BOOK/final-system/common/psmisc.xml
r1c9985f r026bb5d 79 79 80 80 <seglistitem> 81 <seg>fuser, killall, peekfd, pstree, and pstree.x11 (link to pstree)</seg> 81 <seg>fuser, killall, peekfd, prtstat, pstree, and pstree.x11 82 (link to pstree)</seg> 82 83 </seglistitem> 83 84 </segmentedlist> … … 120 121 </varlistentry> 121 122 123 <varlistentry id="prtstat"> 124 <term><command>prtstat</command></term> 125 <listitem> 126 <para>Prints information about a process</para> 127 <indexterm zone="ch-system-psmisc prtstat"> 128 <primary sortas="b-prtstat">prtstat</primary> 129 </indexterm> 130 </listitem> 131 </varlistentry> 132 122 133 <varlistentry id="pstree"> 123 134 <term><command>pstree</command></term> -
BOOK/final-system/common/rsyslog.xml
r1c9985f r026bb5d 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">This package does not come with a test suite.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 39 38 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/sed.xml
r1c9985f r026bb5d 37 37 <screen os="f"><userinput>make html</userinput></screen> 38 38 39 <para os="g">To test the results, issue: 40 <userinput>make check</userinput>.</para> 39 <para os="g">To test the results, issue:</para> 40 41 <screen os="g2"><userinput remap="test">make check</userinput></screen> 41 42 42 43 <para os="h">Install the package:</para> -
BOOK/final-system/common/shadow.xml
r1c9985f r026bb5d 34 34 </note> 35 35 36 <para os="f1">Fix an issue with the Russian man pages:</para> 37 38 <screen os="f2"><userinput>sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in</userinput></screen> 39 40 <para os="b">Prepare Shadow for compilation:</para> 41 42 <screen os="c"><userinput>./configure --sysconfdir=/etc</userinput></screen> 43 44 <para os="d">The meaning of the configure options:</para> 45 46 <variablelist os="e"> 36 37 <para os="b">Disable the installation of the <command>groups</command> and 38 <command>nologin</command> programs and their man pages, as better versions 39 of these programs are provided by Coreutils and Util-linux:</para> 40 41 <screen os="c"><userinput>sed -i src/Makefile.in \ 42 -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' 43 find man -name Makefile.in -exec sed -i \ 44 -e 's/man1\/groups\.1 //' -e 's/man8\/nologin\.8 //' '{}' \;</userinput></screen> 45 46 <para os="d">Prepare Shadow for compilation:</para> 47 48 <screen os="e"><userinput>./configure --sysconfdir=/etc</userinput></screen> 49 50 <para os="f">The meaning of the configure options:</para> 51 52 <variablelist os="g"> 47 53 <varlistentry> 48 54 <term><parameter>--sysconfdir=/etc</parameter></term> … … 51 57 <filename class="directory">/usr/etc</filename>.</para></listitem> 52 58 </varlistentry> 59 53 60 </variablelist> 54 61 55 <para os="f">Disable the installation of the <command>groups</command>56 program and its man pages, as Coreutils provides a better version:</para>57 58 <screen os="g"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile59 find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \;60 find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \;</userinput></screen>61 62 62 63 <para os="h">Compile the package:</para> … … 72 73 <para os="m" id="shadow-login_defs">Instead of using the default 73 74 <emphasis>crypt</emphasis> method, use the more secure 74 <emphasis> MD5</emphasis> method of password encryption, which also allows75 <emphasis>SHA512</emphasis> method of password encryption, which also allows 75 76 passwords longer than 8 characters. It is also necessary to change the 76 77 obsolete <filename class="directory">/var/spool/mail</filename> location … … 85 86 86 87 <screen os="s"><userinput>sed -i /etc/login.defs \ 87 -e 's@#\(ENCRYPT_METHOD \).*@\1 MD5@' \88 -e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \ 88 89 -e 's@/var/spool/mail@/var/mail@'</userinput></screen> 89 90 … … 155 156 <seg>chage, chfn, chpasswd, chgpasswd, chsh, expiry, faillog, gpasswd, 156 157 groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv, 157 lastlog, login, logoutd, newgrp, newusers, nologin,passwd, pwck,158 lastlog, login, logoutd, newgrp, newusers, passwd, pwck, 158 159 pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod, 159 160 vigr (link to vipw), and vipw</seg> … … 380 381 </varlistentry> 381 382 382 <varlistentry id="nologin">383 <term><command>nologin</command></term>384 <listitem>385 <para>Displays a message that an account is not available. Designed386 to be used as the default shell for accounts that have been387 disabled</para>388 <indexterm zone="ch-system-shadow nologin">389 <primary sortas="b-nologin">nologin</primary>390 </indexterm>391 </listitem>392 </varlistentry>393 394 383 <varlistentry id="passwd"> 395 384 <term><command>passwd</command></term> -
BOOK/final-system/common/sysvinit.xml
r1c9985f r026bb5d 25 25 <title>Installation of Sysvinit</title> 26 26 27 <para os="c">Compile the package:</para> 27 <para os ="a">Apply a sed which disables last, mesg, mountpoint, sulogin, 28 utmpdump, and wall from being built and installed as they are provided by 29 Util-linux:</para> 30 31 <screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \ 32 -e '/utmpdump/d' -e '/mountpoint/d' -e '/mesg/d' src/Makefile</userinput></screen> 33 34 <para os ="c">Compile the package:</para> 28 35 29 36 <screen os="d"><userinput>make -C src clobber … … 76 83 77 84 <screen><userinput>cat >> /etc/inittab << "EOF" 78 <literal>1:2345:respawn:/sbin/agetty - I '\033(K' tty1 960079 2:2345:respawn:/sbin/agetty - I '\033(K' tty2 960080 3:2345:respawn:/sbin/agetty - I '\033(K' tty3 960081 4:2345:respawn:/sbin/agetty - I '\033(K' tty4 960082 5:2345:respawn:/sbin/agetty - I '\033(K' tty5 960083 6:2345:respawn:/sbin/agetty - I '\033(K' tty6 960085 <literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600 86 2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600 87 3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600 88 4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600 89 5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600 90 6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600 84 91 </literal> 85 92 EOF</userinput></screen> … … 89 96 90 97 <screen><userinput>cat >> /etc/inittab << "EOF" 91 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt10098 <literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100 92 99 </literal> 93 100 EOF</userinput></screen> … … 118 125 119 126 <seglistitem> 120 <seg>bootlogd, halt, init, killall5, last, lastb (link to last), mesg, 121 mountpoint, pidof (link to killall5), poweroff (link to halt), 122 reboot (link to halt), runlevel, shutdown, sulogin, 123 telinit (link to init), utmpdump, and wall</seg> 127 <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to 128 killall5), poweroff (link to halt), reboot (link to halt), runlevel, 129 shutdown, and telinit (link to init)</seg> 124 130 </seglistitem> 125 131 </segmentedlist> … … 136 142 <indexterm zone="ch-system-sysvinit bootlogd"> 137 143 <primary sortas="b-bootlogd">bootlogd</primary> 144 </indexterm> 145 </listitem> 146 </varlistentry> 147 148 <varlistentry id="fstab-decode"> 149 <term><command>fstab-decode</command></term> 150 <listitem> 151 <para>Runs a command with fstab-encoded arguments</para> 152 <indexterm zone="ch-system-sysvinit fstab-decode"> 153 <primary sortas="b-fstab-decode">fstab-decode</primary> 138 154 </indexterm> 139 155 </listitem> … … 178 194 </varlistentry> 179 195 180 <varlistentry id="last">181 <term><command>last</command></term>182 <listitem>183 <para>Shows which users last logged in (and out), searching back184 through the <filename>/var/log/wtmp</filename> file; it also shows185 system boots, shutdowns, and run-level changes</para>186 <indexterm zone="ch-system-sysvinit last">187 <primary sortas="b-last">last</primary>188 </indexterm>189 </listitem>190 </varlistentry>191 192 <varlistentry id="lastb">193 <term><command>lastb</command></term>194 <listitem>195 <para>Shows the failed login attempts, as logged in196 <filename>/var/log/btmp</filename></para>197 <indexterm zone="ch-system-sysvinit lastb">198 <primary sortas="b-lastb">lastb</primary>199 </indexterm>200 </listitem>201 </varlistentry>202 203 <varlistentry id="mesg">204 <term><command>mesg</command></term>205 <listitem>206 <para>Controls whether other users can send messages to the current207 user's terminal</para>208 <indexterm zone="ch-system-sysvinit mesg">209 <primary sortas="b-mesg">mesg</primary>210 </indexterm>211 </listitem>212 </varlistentry>213 214 <varlistentry id="mountpoint">215 <term><command>mountpoint</command></term>216 <listitem>217 <para>Tells you whether or not a directory is a mount point.</para>218 <indexterm zone="ch-system-sysvinit mountpoint">219 <primary sortas="b-mountpoint">mountpoint</primary>220 </indexterm>221 </listitem>222 </varlistentry>223 224 196 <varlistentry id="pidof"> 225 197 <term><command>pidof</command></term> … … 276 248 </varlistentry> 277 249 278 <varlistentry id="sulogin">279 <term><command>sulogin</command></term>280 <listitem>281 <para>Allows <emphasis>root</emphasis> to log in; it is normally282 invoked by <command>init</command> when the system goes into single283 user mode</para>284 <indexterm zone="ch-system-sysvinit sulogin">285 <primary sortas="b-sulogin">sulogin</primary>286 </indexterm>287 </listitem>288 </varlistentry>289 290 250 <varlistentry id="telinit"> 291 251 <term><command>telinit</command></term> … … 298 258 </varlistentry> 299 259 300 <varlistentry id="utmpdump">301 <term><command>utmpdump</command></term>302 <listitem>303 <para>Displays the content of the given login file in a more304 user-friendly format</para>305 <indexterm zone="ch-system-sysvinit utmpdump">306 <primary sortas="b-utmpdump">utmpdump</primary>307 </indexterm>308 </listitem>309 </varlistentry>310 311 <varlistentry id="wall">312 <term><command>wall</command></term>313 <listitem>314 <para>Writes a message to all logged-in users</para>315 <indexterm zone="ch-system-sysvinit wall">316 <primary sortas="b-wall">wall</primary>317 </indexterm>318 </listitem>319 </varlistentry>320 321 260 </variablelist> 322 261 -
BOOK/final-system/common/tar.xml
r1c9985f r026bb5d 39 39 <screen os="d"><userinput>make</userinput></screen> 40 40 41 <para os="e">To test the results, issue: 42 <userinput>make check</userinput>.</para> 41 <para os="e">To test the results, issue:</para> 42 43 <screen os="e2"><userinput remap="test">make check</userinput></screen> 43 44 44 45 <para os="f">Install the package:</para> 45 46 46 47 <screen os="g"><userinput>make install</userinput></screen> 48 49 <para os="h">Generate the man page and place it in the proper location:</para> 50 51 <screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</userinput></screen> 47 52 48 53 </sect2> -
BOOK/final-system/common/texinfo.xml
r1c9985f r026bb5d 26 26 <title>Installation of Texinfo</title> 27 27 28 <para os="p1">The following patch will add support for new compressors like XZ Utils:</para>29 30 <screen os="p2"><userinput>patch -Np1 -i ../&texinfo-new_compressors-patch;</userinput></screen>31 32 28 <para os="a">Prepare Texinfo for compilation:</para> 33 29 … … 38 34 <screen os="d"><userinput>make</userinput></screen> 39 35 40 <para os="e">To test the results, issue: 41 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 42 39 43 40 <para os="f">Install the package:</para> … … 70 67 71 68 <seglistitem> 72 <seg>info, infokey, install-info, makeinfo , pdftexi2dvi, texi2dvi,73 texi2pdf, and texindex</seg>69 <seg>info, infokey, install-info, makeinfo (link to texi2any), 70 pdftexi2dvi, texi2dvi, texi2pdf, and texindex</seg> 74 71 <seg>/usr/share/texinfo</seg> 75 72 </seglistitem> -
BOOK/final-system/common/util-linux.xml
r1c9985f r026bb5d 33 33 <command>hwclock</command> program FHS-compliant, run the following:</para> 34 34 35 <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \36 hwclock/hwclock.c35 <screen><userinput>sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ 36 $(grep -rl '/etc/adjtime' .) 37 37 mkdir -pv /var/lib/hwclock</userinput></screen> 38 38 … … 44 44 <para os="a">Prepare Util-linux for compilation:</para> 45 45 46 <screen os="b"><userinput>./configure --enable-arch \ 47 --enable-partx --enable-write --disable-wall</userinput></screen> 46 <screen os="b"><userinput>./configure --enable-write</userinput></screen> 48 47 49 48 <variablelist os="c"> … … 51 50 52 51 <varlistentry> 53 <term><parameter>--enable-arch</parameter></term>54 <listitem>55 <para>This option allows the <command>arch</command> program to be56 installed.</para>57 </listitem>58 </varlistentry>59 60 <varlistentry>61 <term><parameter>--enable-partx</parameter></term>62 <listitem>63 <para>Enables building the <command>addpart</command>, <command>delpart</command>,64 <command>partx</command> programs.</para>65 </listitem>66 </varlistentry>67 68 <varlistentry>69 52 <term><parameter>--enable-write</parameter></term> 70 53 <listitem> … … 74 57 </varlistentry> 75 58 76 <varlistentry>77 <term><parameter>--disable-wall</parameter></term>78 <listitem>79 <para>Disables building the <command>wall</command> program,80 as the Sysvinit package installs its own version.</para>81 </listitem>82 </varlistentry>83 84 59 </variablelist> 85 60 … … 88 63 <screen os="e"><userinput>make</userinput></screen> 89 64 90 <para os="f">This package does not come with a test suite.</para> 65 <para os="dummy1">Create two <systemitem class="groupname">dummy</systemitem> groups and a <systemitem class="username">dummy</systemitem> user to be used during Util-linux and Coreutils test suites:</para> 66 67 <screen os="dummy2"><userinput remap="test">echo "dummy1:x:1000:" >> /etc/group 68 echo "dummy2:x:1001:dummy" >> /etc/group 69 echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen> 70 71 <para os="f">To test the results, issue:</para> 72 73 <screen os="f2"><userinput remap="test">chown -Rv dummy . && 74 su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen> 91 75 92 76 <para os="g">Install the package:</para> … … 111 95 112 96 <seglistitem> 113 <seg>addpart, agetty, arch, blkid, blockdev, cal, cfdisk, chkdupexe, 114 chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, delpart, 115 dmesg, fdformat, fdisk, findfs, flock, fsck, fsck.cramfs, fsck.minix, 116 getopt, hexdump, hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, 117 ldattach, line, logger, look, losetup, lscpu, mcookie, mkfs, mkfs.bfs, 118 mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, partx, pg, 119 pivot_root, readprofile, rename, renice, rev, rtcwake, script, 120 scriptreplay, setarch, setsid, setterm, sfdisk, swapoff (link to 121 swapon), swapon, switch_root, tailf, taskset, tunelp, ul, umount, 122 uuidd, uuidgen, whereis, and write</seg> 123 <seg>libblkid.[a,so] and libuuid.[a,so]</seg> 124 <seg>/usr/include/blkid, /usr/include/uuid, /usr/share/getopt, 125 /var/lib/hwclock</seg> 97 <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu, 98 chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart, 99 dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, 100 fsck, fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, 101 hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link 102 to last), ldattach, logger, look, losetup, lsblk, lscpu, lslocks, 103 mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, 104 mount, mountpoint, namei, nologin, nsenter, partx, pg, pivot_root, prlimit, 105 raw, readprofile, rename, renice, resizepart, rev, rtcwake, script, 106 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel, 107 swapoff, swapon, switch_root, tailf, taskset, ul, umount, unshare, 108 utmpdump, uuidd, uuidgen, wall, wdctl, whereis, wipefs, and write</seg> 109 <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg> 110 <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid, 111 /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg> 126 112 </seglistitem> 127 113 </segmentedlist> … … 153 139 </varlistentry> 154 140 155 <varlistentry id=" arch">156 <term><command> arch</command></term>157 <listitem> 158 <para> Reports the machine's architecture</para>159 <indexterm zone="ch-system-util-linux arch">160 <primary sortas="b- arch">arch</primary>141 <varlistentry id="blkdiscard"> 142 <term><command>blkdiscard</command></term> 143 <listitem> 144 <para>Discards sectors on a device</para> 145 <indexterm zone="ch-system-util-linux blkdiscard"> 146 <primary sortas="b-blkdiscard">blkdiscard</primary> 161 147 </indexterm> 162 148 </listitem> … … 205 191 </varlistentry> 206 192 207 <varlistentry id="ch kdupexe">208 <term><command>ch kdupexe</command></term>209 <listitem> 210 <para> Finds duplicate executables</para>211 <indexterm zone="ch-system-util-linux ch kdupexe">212 <primary sortas="b-ch kdupexe">chkdupexe</primary>193 <varlistentry id="chcpu"> 194 <term><command>chcpu</command></term> 195 <listitem> 196 <para>Utility to configure CPUs</para> 197 <indexterm zone="ch-system-util-linux chcpu"> 198 <primary sortas="b-chcpu">chcpu</primary> 213 199 </indexterm> 214 200 </listitem> … … 319 305 </varlistentry> 320 306 307 <varlistentry id="eject"> 308 <term><command>eject</command></term> 309 <listitem> 310 <para>Eject removable media</para> 311 <indexterm zone="ch-system-util-linux eject"> 312 <primary sortas="b-dmesg">eject</primary> 313 </indexterm> 314 </listitem> 315 </varlistentry> 316 317 <varlistentry id="fallocate"> 318 <term><command>fallocate</command></term> 319 <listitem> 320 <para>Preallocates space to a file</para> 321 <indexterm zone="ch-system-util-linux fallocate"> 322 <primary sortas="b-fallocate">fallocate</primary> 323 </indexterm> 324 </listitem> 325 </varlistentry> 326 321 327 <varlistentry id="fdformat"> 322 328 <term><command>fdformat</command></term> … … 350 356 </varlistentry> 351 357 358 <varlistentry id="findmnt"> 359 <term><command>findmnt</command></term> 360 <listitem> 361 <para>Lists mounted filesystems or searches for a filesystem</para> 362 <indexterm zone="ch-system-util-linux findmnt"> 363 <primary sortas="b-findmnt">findmnt</primary> 364 </indexterm> 365 </listitem> 366 </varlistentry> 367 352 368 <varlistentry id="flock"> 353 369 <term><command>flock</command></term> … … 389 405 <indexterm zone="ch-system-util-linux fsck.minix"> 390 406 <primary sortas="b-fsck.minix">fsck.minix</primary> 407 </indexterm> 408 </listitem> 409 </varlistentry> 410 411 <varlistentry id="fsfreeze"> 412 <term><command>fsfreeze</command></term> 413 <listitem> 414 <para>Suspends and resumes access to a filesystem</para> 415 <indexterm zone="ch-system-util-linux fsfreeze"> 416 <primary sortas="b-fsfreeze">fsfreeze</primary> 417 </indexterm> 418 </listitem> 419 </varlistentry> 420 421 <varlistentry id="fstrim"> 422 <term><command>fstrim</command></term> 423 <listitem> 424 <para>Discards unused blocks on a mounted filesystem</para> 425 <indexterm zone="ch-system-util-linux fstrim"> 426 <primary sortas="b-fstrim">fstrim</primary> 391 427 </indexterm> 392 428 </listitem> … … 476 512 </varlistentry> 477 513 514 <varlistentry id="kill"> 515 <term><command>kill</command></term> 516 <listitem> 517 <para>Send a signal to a process</para> 518 <indexterm zone="ch-system-util-linux kill"> 519 <primary sortas="b-kill">kill</primary> 520 </indexterm> 521 </listitem> 522 </varlistentry> 523 524 <varlistentry id="last"> 525 <term><command>last</command></term> 526 <listitem> 527 <para>Shows which users last logged in (and out), searching back 528 through the <filename>/var/log/wtmp</filename> file; it also shows 529 system boots, shutdowns, and run-level changes</para> 530 <indexterm zone="ch-system-util-linux last"> 531 <primary sortas="b-last">last</primary> 532 </indexterm> 533 </listitem> 534 </varlistentry> 535 536 <varlistentry id="lastb"> 537 <term><command>lastb</command></term> 538 <listitem> 539 <para>Shows the failed login attempts, as logged in 540 <filename>/var/log/btmp</filename></para> 541 <indexterm zone="ch-system-util-linux lastb"> 542 <primary sortas="b-lastb">lastb</primary> 543 </indexterm> 544 </listitem> 545 </varlistentry> 546 478 547 <varlistentry id="ldattach"> 479 548 <term><command>ldattach</command></term> … … 486 555 </varlistentry> 487 556 488 <varlistentry id="line">489 <term><command>line</command></term>490 <listitem>491 <para>Copies a single line</para>492 <indexterm zone="ch-system-util-linux line">493 <primary sortas="b-line">line</primary>494 </indexterm>495 </listitem>496 </varlistentry>497 498 557 <varlistentry id="logger"> 499 558 <term><command>logger</command></term> … … 526 585 </varlistentry> 527 586 587 <varlistentry id="lsblk"> 588 <term><command>lsblk</command></term> 589 <listitem> 590 <para>Prints information about block devices</para> 591 <indexterm zone="ch-system-util-linux lsblk"> 592 <primary sortas="b-lsblk">lsblk</primary> 593 </indexterm> 594 </listitem> 595 </varlistentry> 596 528 597 <varlistentry id="lscpu"> 529 598 <term><command>lscpu</command></term> … … 532 601 <indexterm zone="ch-system-util-linux lscpu"> 533 602 <primary sortas="b-lscpu">lscpu</primary> 603 </indexterm> 604 </listitem> 605 </varlistentry> 606 607 <varlistentry id="lslocks"> 608 <term><command>lslocks</command></term> 609 <listitem> 610 <para>Lists local system locks</para> 611 <indexterm zone="ch-system-util-linux lslocks"> 612 <primary sortas="b-lslocks">lslocks</primary> 534 613 </indexterm> 535 614 </listitem> … … 547 626 </varlistentry> 548 627 628 <varlistentry id="mesg"> 629 <term><command>mesg</command></term> 630 <listitem> 631 <para>Controls whether other users can send messages to the current 632 user's terminal</para> 633 <indexterm zone="ch-system-util-linux mesg"> 634 <primary sortas="b-mesg">mesg</primary> 635 </indexterm> 636 </listitem> 637 </varlistentry> 638 549 639 <varlistentry id="mkfs"> 550 640 <term><command>mkfs</command></term> … … 620 710 </varlistentry> 621 711 712 <varlistentry id="mountpoint"> 713 <term><command>mountpoint</command></term> 714 <listitem> 715 <para>Tells you whether or not a directory is a mount point.</para> 716 <indexterm zone="ch-system-util-linux mountpoint"> 717 <primary sortas="b-mountpoint">mountpoint</primary> 718 </indexterm> 719 </listitem> 720 </varlistentry> 721 622 722 <varlistentry id="namei"> 623 723 <term><command>namei</command></term> … … 626 726 <indexterm zone="ch-system-util-linux namei"> 627 727 <primary sortas="b-namei">namei</primary> 728 </indexterm> 729 </listitem> 730 </varlistentry> 731 732 <varlistentry id="nologin"> 733 <term><command>nologin</command></term> 734 <listitem> 735 <para>Displays a message that an account is not available. Designed 736 to be used as the default shell for accounts that have been 737 disabled</para> 738 <indexterm zone="ch-system-util-linux nologin"> 739 <primary sortas="b-nologin">nologin</primary> 740 </indexterm> 741 </listitem> 742 </varlistentry> 743 744 <varlistentry id="nsenter"> 745 <term><command>nsenter</command></term> 746 <listitem> 747 <para>Runs a program with namespaces of other processes</para> 748 <indexterm zone="ch-system-util-linux nsenter"> 749 <primary sortas="b-nsenter">nsenter</primary> 628 750 </indexterm> 629 751 </listitem> … … 662 784 </varlistentry> 663 785 786 <varlistentry id="prlimit"> 787 <term><command>prlimit</command></term> 788 <listitem> 789 <para>Gets and sets a process' resource limits</para> 790 <indexterm zone="ch-system-util-linux prlimit"> 791 <primary sortas="b-prlimit">prlimit</primary> 792 </indexterm> 793 </listitem> 794 </varlistentry> 795 796 <varlistentry id="raw"> 797 <term><command>raw</command></term> 798 <listitem> 799 <para>Binds a Linux raw character device to a block device</para> 800 <indexterm zone="ch-system-util-linux raw"> 801 <primary sortas="b-raw">raw</primary> 802 </indexterm> 803 </listitem> 804 </varlistentry> 805 664 806 <varlistentry id="readprofile"> 665 807 <term><command>readprofile</command></term> … … 693 835 </varlistentry> 694 836 837 <varlistentry id="resizepart"> 838 <term><command>resizepart</command></term> 839 <listitem> 840 <para>Asks the Linux kernel to resize a partition</para> 841 <indexterm zone="ch-system-util-linux resizepart"> 842 <primary sortas="b-resizepart">resizepart</primary> 843 </indexterm> 844 </listitem> 845 </varlistentry> 846 695 847 <varlistentry id="rev"> 696 848 <term><command>rev</command></term> … … 770 922 <indexterm zone="ch-system-util-linux sfdisk"> 771 923 <primary sortas="b-sfdisk">sfdisk</primary> 924 </indexterm> 925 </listitem> 926 </varlistentry> 927 928 <varlistentry id="sulogin"> 929 <term><command>sulogin</command></term> 930 <listitem> 931 <para>Allows <emphasis>root</emphasis> to log in; it is normally 932 invoked by <command>init</command> when the system goes into single 933 user mode</para> 934 <indexterm zone="ch-system-util-linux sulogin"> 935 <primary sortas="b-sulogin">sulogin</primary> 936 </indexterm> 937 </listitem> 938 </varlistentry> 939 940 <varlistentry id="swaplabel"> 941 <term><command>swaplabel</command></term> 942 <listitem> 943 <para>Prints or changes the label or UUID of a swap area</para> 944 <indexterm zone="ch-system-util-linux swaplabel"> 945 <primary sortas="b-swaplabel">swaplabel</primary> 772 946 </indexterm> 773 947 </listitem> … … 827 1001 </varlistentry> 828 1002 829 <varlistentry id="tunelp">830 <term><command>tunelp</command></term>831 <listitem>832 <para>Tunes the parameters of the line printer</para>833 <indexterm zone="ch-system-util-linux tunelp">834 <primary sortas="b-tunelp">tunelp</primary>835 </indexterm>836 </listitem>837 </varlistentry>838 839 1003 <varlistentry id="ul"> 840 1004 <term><command>ul</command></term> … … 854 1018 <indexterm zone="ch-system-util-linux umount"> 855 1019 <primary sortas="b-umount">umount</primary> 1020 </indexterm> 1021 </listitem> 1022 </varlistentry> 1023 1024 <varlistentry id="unshare"> 1025 <term><command>unshare</command></term> 1026 <listitem> 1027 <para>Runs a program with some namespaces unshared from parent</para> 1028 <indexterm zone="ch-system-util-linux unshare"> 1029 <primary sortas="b-unshare">unshare</primary> 1030 </indexterm> 1031 </listitem> 1032 </varlistentry> 1033 1034 <varlistentry id="utmpdump"> 1035 <term><command>utmpdump</command></term> 1036 <listitem> 1037 <para>Displays the content of the given login file in a more 1038 user-friendly format</para> 1039 <indexterm zone="ch-system-util-linux utmpdump"> 1040 <primary sortas="b-utmpdump">utmpdump</primary> 856 1041 </indexterm> 857 1042 </listitem> … … 881 1066 </varlistentry> 882 1067 1068 <varlistentry id="wall"> 1069 <term><command>wall</command></term> 1070 <listitem> 1071 <para>Writes a message to all logged-in users</para> 1072 <indexterm zone="ch-system-util-linux wall"> 1073 <primary sortas="b-wall">wall</primary> 1074 </indexterm> 1075 </listitem> 1076 </varlistentry> 1077 1078 <varlistentry id="wdctl"> 1079 <term><command>wdctl</command></term> 1080 <listitem> 1081 <para>Show hardware watchdog status</para> 1082 <indexterm zone="ch-system-util-linux wdctl"> 1083 <primary sortas="b-uuidgen">wdctl</primary> 1084 </indexterm> 1085 </listitem> 1086 </varlistentry> 1087 883 1088 <varlistentry id="whereis"> 884 1089 <term><command>whereis</command></term> … … 892 1097 </varlistentry> 893 1098 1099 <varlistentry id="wipefs"> 1100 <term><command>wipefs</command></term> 1101 <listitem> 1102 <para>Wipes a filesystem signature from a device</para> 1103 <indexterm zone="ch-system-util-linux wipefs"> 1104 <primary sortas="b-wipefs">wipefs</primary> 1105 </indexterm> 1106 </listitem> 1107 </varlistentry> 1108 894 1109 <varlistentry id="write"> 895 1110 <term><command>write</command></term> … … 914 1129 </varlistentry> 915 1130 1131 <varlistentry id="libmount"> 1132 <term><filename class="libraryfile">libmount</filename></term> 1133 <listitem> 1134 <para>Contains routines for parsing the 1135 <filename>/etc/fstab</filename>, <filename>/etc/mtab</filename>, 1136 and <filename>/proc/self/mountinfo</filename> files, managing 1137 <filename>/etc/mtab</filename>, and configuring various mount 1138 options</para> 1139 <indexterm zone="ch-system-util-linux libmount"> 1140 <primary sortas="c-libmount">libmount</primary> 1141 </indexterm> 1142 </listitem> 1143 </varlistentry> 1144 916 1145 <varlistentry id="libuuid"> 917 1146 <term><filename class="libraryfile">libuuid</filename></term> -
BOOK/final-system/common/vim.xml
r1c9985f r026bb5d 71 71 <screen os="h"><userinput>make</userinput></screen> 72 72 73 <para os="i">To test the results, issue: <userinput>make test</userinput>. 74 However, this test suite outputs a lot of binary data to the 73 <para os="i">To test the results, issue:</para> 74 75 <screen os="i2"><userinput remap="test">make test</userinput></screen> 76 77 <para os="i3">However, this test suite outputs a lot of binary data to the 75 78 screen, which can cause issues with the settings of the current terminal. 76 79 This can be resolved by redirecting the output to a log file.</para> -
BOOK/final-system/common/xz.xml
r1c9985f r026bb5d 36 36 <screen os="d"><userinput>make</userinput></screen> 37 37 38 <para os="e">To test the results, issue: 39 <userinput>make check</userinput>.</para> 40 38 <para os="e">To test the results, issue:</para> 39 40 <screen os="e2"><userinput remap="test">make check</userinput></screen> 41 41 42 42 <para os="f">Install the programs:</para> … … 48 48 49 49 <screen os="i"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen> 50 51 <para os="j">Finally, move the shared library to a more appropriate 52 location, and recreate the symlink pointing to it:</para> 53 54 <screen os="k"><userinput>mv -v /usr/lib/liblzma.so.* /lib 55 ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so</userinput></screen> 50 56 51 57 </sect2> … … 60 66 61 67 <seglistitem> 62 <seg>lzcat (link to xz), lzcmp (link to lzdiff), lzdiff, lzegrep (link to lzgrep), 63 lzfgrep (link to lzgrep), lzgrep, lzless (link to lzmore), lzma (link to xz), 64 lzmadec, lzmore, unlzma (link to xz), unxz (link to xz), xz, xzcat 65 (link to xz), and xzdec</seg> 68 <seg>lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to 69 xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep 70 (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec, 71 lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to 72 xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff, 73 xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless, 74 and xzmore</seg> 66 75 <seg>liblzma.[a,so]</seg> 67 76 <seg>/usr/include/lzma, /usr/share/doc/xz</seg> … … 164 173 </varlistentry> 165 174 175 <varlistentry id="lzmainfo"> 176 <term><command>lzmainfo</command></term> 177 <listitem> 178 <para>Displays information stored in an .lzma file header</para> 179 <indexterm zone="ch-system-xz lzmainfo"> 180 <primary sortas="b-lzmainfo">lzmainfo</primary> 181 </indexterm> 182 </listitem> 183 </varlistentry> 184 166 185 <varlistentry id="lzmore"> 167 186 <term><command>lzmore</command></term> … … 214 233 </varlistentry> 215 234 235 <varlistentry id="xzcmp"> 236 <term><command>xzcmp</command></term> 237 <listitem> 238 <para>Compares xz compressed files</para> 239 <indexterm zone="ch-system-xz xzcmp"> 240 <primary sortas="b-xzcmp">xzcmp</primary> 241 </indexterm> 242 </listitem> 243 </varlistentry> 244 216 245 <varlistentry id="xzdec"> 217 246 <term><command>xzdec</command></term> … … 224 253 </varlistentry> 225 254 255 <varlistentry id="xzdiff"> 256 <term><command>xzdiff</command></term> 257 <listitem> 258 <para>Compares xz compressed files</para> 259 <indexterm zone="ch-system-xz xzdiff"> 260 <primary sortas="b-xzdiff">xzdiff</primary> 261 </indexterm> 262 </listitem> 263 </varlistentry> 264 265 <varlistentry id="xzegrep"> 266 <term><command>xzegrep</command></term> 267 <listitem> 268 <para>Runs <command>egrep</command> on xz compressed files</para> 269 <indexterm zone="ch-system-xz xzegrep"> 270 <primary sortas="b-xzegrep">xzegrep</primary> 271 </indexterm> 272 </listitem> 273 </varlistentry> 274 275 <varlistentry id="xzfgrep"> 276 <term><command>xzfgrep</command></term> 277 <listitem> 278 <para>Runs <command>fgrep</command> on xz compressed files</para> 279 <indexterm zone="ch-system-xz xzfgrep"> 280 <primary sortas="b-xzfgrep">xzfgrep</primary> 281 </indexterm> 282 </listitem> 283 </varlistentry> 284 285 <varlistentry id="xzgrep"> 286 <term><command>xzgrep</command></term> 287 <listitem> 288 <para>Runs <command>grep</command> on xz compressed files</para> 289 <indexterm zone="ch-system-xz xzgrep"> 290 <primary sortas="b-xzgrep">xzgrep</primary> 291 </indexterm> 292 </listitem> 293 </varlistentry> 294 295 <varlistentry id="xzless"> 296 <term><command>xzless</command></term> 297 <listitem> 298 <para>Runs <command>less</command> on xz files</para> 299 <indexterm zone="ch-system-xz xzless"> 300 <primary sortas="b-xzless">xzless</primary> 301 </indexterm> 302 </listitem> 303 </varlistentry> 304 305 <varlistentry id="xzmore"> 306 <term><command>xzmore</command></term> 307 <listitem> 308 <para>Runs <command>more</command> on xz files</para> 309 <indexterm zone="ch-system-xz xzmore"> 310 <primary sortas="b-xzmore">xzmore</primary> 311 </indexterm> 312 </listitem> 313 </varlistentry> 314 226 315 <varlistentry id="liblzma"> 227 316 <term><filename class="libraryfile">liblzma</filename></term> -
BOOK/final-system/common/zlib.xml
r1c9985f r026bb5d 37 37 <screen os="d"><userinput>make</userinput></screen> 38 38 39 <para os="e">To test the results, issue: 40 <userinput>make check</userinput>.</para> 39 <para os="e">To test the results, issue:</para> 40 41 <screen os="e2" ><userinput remap="test">make check</userinput></screen> 41 42 42 43 <para os="f">Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.