Changeset e0e40d3
- Timestamp:
- Feb 21, 2006, 1:23:04 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 69caf2f
- Parents:
- 82fedc4
- Location:
- BOOK
- Files:
-
- 3 deleted
- 142 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/e2fsprogs.xml
r82fedc4 re0e40d3 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 45 href="../../final-system/common/e2fsprogs.xml" 46 xpointer="xpointer(//*[@os=' l'])"/>46 xpointer="xpointer(//*[@os='e2'])"/> 47 47 48 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 49 href="../../final-system/common/e2fsprogs.xml" 50 xpointer="xpointer(//*[@os=' m'])"/>50 xpointer="xpointer(//*[@os='e3'])"/> 51 51 52 52 </variablelist> -
BOOK/boot/common/inetutils.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/common/inetutils.xml" 27 xpointer="xpointer(//*[@os=' a'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../../final-system/common/inetutils.xml" 31 xpointer="xpointer(//*[@os=' b'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="../../final-system/common/inetutils.xml" 35 xpointer="xpointer(//*[@os=' b1'])"/>35 xpointer="xpointer(//*[@os='p3'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../../final-system/common/inetutils.xml" 39 xpointer="xpointer(//*[@os=' b2'])"/>39 xpointer="xpointer(//*[@os='p4'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/common/util-linux.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/common/util-linux.xml" 27 xpointer="xpointer(//*[@os=' a'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../../final-system/common/util-linux.xml" 31 xpointer="xpointer(//*[@os=' b'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="../../final-system/common/util-linux.xml" 35 xpointer="xpointer(//*[@os=' b1'])"/>35 xpointer="xpointer(//*[@os='p3'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../../final-system/common/util-linux.xml" 39 xpointer="xpointer(//*[@os=' b2'])"/>39 xpointer="xpointer(//*[@os='p4'])"/> 40 40 41 41 <para os="ba">Util-linux does not use the freshly installed headers and … … 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 56 href="../../final-system/common/util-linux.xml" 57 xpointer="xpointer(//*[@os=' c'])"/>57 xpointer="xpointer(//*[@os='a'])"/> 58 58 59 59 <screen os="be"><userinput>./configure</userinput></screen> … … 61 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 62 href="../../final-system/common/util-linux.xml" 63 xpointer="xpointer(//*[@os=' d'])"/>63 xpointer="xpointer(//*[@os='c'])"/> 64 64 65 65 <screen os="bf"><userinput>make HAVE_KILL=yes HAVE_SLN=yes \ … … 72 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 73 href="../../final-system/common/util-linux.xml" 74 xpointer="xpointer(//*[@os=' fa'])"/>74 xpointer="xpointer(//*[@os='e1'])"/> 75 75 76 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 77 href="../../final-system/common/util-linux.xml" 78 xpointer="xpointer(//*[@os=' fb'])"/>78 xpointer="xpointer(//*[@os='e2'])"/> 79 79 80 80 <varlistentry> -
BOOK/boot/mips/module-init-tools.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/mips/module-init-tools.xml" 27 xpointer="xpointer(//*[@os=' m1'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../../final-system/mips/module-init-tools.xml" 31 xpointer="xpointer(//*[@os=' m2'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/mips64/module-init-tools.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../mips/module-init-tools.xml" 27 xpointer="xpointer(//*[@os=' m1'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../mips/module-init-tools.xml" 31 xpointer="xpointer(//*[@os=' m2'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/mips64/util-linux.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../common/util-linux.xml" 27 xpointer="xpointer(//*[@os=' a'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../common/util-linux.xml" 31 xpointer="xpointer(//*[@os=' b'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="../common/util-linux.xml" 35 xpointer="xpointer(//*[@os=' b1'])"/>35 xpointer="xpointer(//*[@os='p3'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../common/util-linux.xml" 39 xpointer="xpointer(//*[@os=' b2'])"/>39 xpointer="xpointer(//*[@os='p4'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 42 href="../../final-system/mips64/util-linux.xml" 43 xpointer="xpointer(//*[@os=' aa'])"/>43 xpointer="xpointer(//*[@os='p5'])"/> 44 44 45 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 46 href="../../final-system/mips64/util-linux.xml" 47 xpointer="xpointer(//*[@os=' ab'])"/>47 xpointer="xpointer(//*[@os='p6'])"/> 48 48 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 65 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 66 href="../common/util-linux.xml" 67 xpointer="xpointer(//*[@os=' c'])"/>67 xpointer="xpointer(//*[@os='a'])"/> 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 74 href="../common/util-linux.xml" 75 xpointer="xpointer(//*[@os=' d'])"/>75 xpointer="xpointer(//*[@os='c'])"/> 76 76 77 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/multilib/inetutils.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../common/inetutils.xml" 27 xpointer="xpointer(//*[@os=' a'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../common/inetutils.xml" 31 xpointer="xpointer(//*[@os=' b'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="../common/inetutils.xml" 35 xpointer="xpointer(//*[@os=' b1'])"/>35 xpointer="xpointer(//*[@os='p3'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../common/inetutils.xml" 39 xpointer="xpointer(//*[@os=' b2'])"/>39 xpointer="xpointer(//*[@os='p4'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/multilib/util-linux.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../common/util-linux.xml" 27 xpointer="xpointer(//*[@os=' a'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../common/util-linux.xml" 31 xpointer="xpointer(//*[@os=' b'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="../common/util-linux.xml" 35 xpointer="xpointer(//*[@os=' b1'])"/>35 xpointer="xpointer(//*[@os='p3'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../common/util-linux.xml" 39 xpointer="xpointer(//*[@os=' b2'])"/>39 xpointer="xpointer(//*[@os='p4'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 57 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 58 href="../common/util-linux.xml" 59 xpointer="xpointer(//*[@os=' c'])"/>59 xpointer="xpointer(//*[@os='a'])"/> 60 60 61 61 <screen os="be"><userinput>CC="${CC} ${BUILD64}" ./configure</userinput></screen> … … 63 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 64 href="../common/util-linux.xml" 65 xpointer="xpointer(//*[@os=' d'])"/>65 xpointer="xpointer(//*[@os='c'])"/> 66 66 67 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/sparc64/e2fsprogs-libs.xml
r82fedc4 re0e40d3 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 45 href="../../final-system/common/e2fsprogs.xml" 46 xpointer="xpointer(//*[@os=' l'])"/>46 xpointer="xpointer(//*[@os='e2'])"/> 47 47 48 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 49 href="../../final-system/common/e2fsprogs.xml" 50 xpointer="xpointer(//*[@os=' m'])"/>50 xpointer="xpointer(//*[@os='e3'])"/> 51 51 52 52 </variablelist> -
BOOK/chroot/common/util-linux.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/common/util-linux.xml" 27 xpointer="xpointer(//*[@os=' b1'])"/>27 xpointer="xpointer(//*[@os='p3'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../../final-system/common/util-linux.xml" 31 xpointer="xpointer(//*[@os=' b2'])"/>31 xpointer="xpointer(//*[@os='p4'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/chroot/multilib/util-linux.xml
r82fedc4 re0e40d3 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../../final-system/common/util-linux.xml" 27 xpointer="xpointer(//*[@os='p3'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../../final-system/common/util-linux.xml" 31 xpointer="xpointer(//*[@os='p4'])"/> 24 32 25 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/common/autoconf.xml
r82fedc4 re0e40d3 36 36 <para os="a">Prepare Autoconf for compilation:</para> 37 37 38 <screen ><userinput>./configure --prefix=/usr</userinput></screen>38 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 39 39 40 <para os=" b">Compile the package:</para>40 <para os="c">Compile the package:</para> 41 41 42 <screen os=" c"><userinput>make</userinput></screen>42 <screen os="d"><userinput>make</userinput></screen> 43 43 44 <para os=" d">To test the results, issue:44 <para os="e">To test the results, issue: 45 45 <userinput>make check</userinput>.</para> 46 46 47 <para os=" e">Install the package:</para>47 <para os="f">Install the package:</para> 48 48 49 <screen os=" f"><userinput>make install</userinput></screen>49 <screen os="g"><userinput>make install</userinput></screen> 50 50 51 51 </sect2> -
BOOK/final-system/common/automake.xml
r82fedc4 re0e40d3 37 37 <para os="a">Prepare Automake for compilation:</para> 38 38 39 <screen ><userinput>./configure --prefix=/usr</userinput></screen>40 41 <para os=" b">Compile the package:</para>42 43 <screen os=" c"><userinput>make</userinput></screen>44 45 <para os=" d">To test the results, issue:39 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 40 41 <para os="c">Compile the package:</para> 42 43 <screen os="d"><userinput>make</userinput></screen> 44 45 <para os="e">To test the results, issue: 46 46 <userinput>make check</userinput>.</para> 47 47 48 <para os=" e">Install the package:</para>49 50 <screen os=" f"><userinput>make install</userinput></screen>48 <para os="f">Install the package:</para> 49 50 <screen os="g"><userinput>make install</userinput></screen> 51 51 52 52 </sect2> -
BOOK/final-system/common/bash.xml
r82fedc4 re0e40d3 54 54 <para os="g">Prepare Bash for compilation:</para> 55 55 56 <screen ><userinput>./configure --prefix=/usr --bindir=/bin \56 <screen os="h"><userinput>./configure --prefix=/usr --bindir=/bin \ 57 57 --without-bash-malloc --with-installed-readline</userinput></screen> 58 58 59 <variablelist os=" h">59 <variablelist os="i"> 60 60 <title>The meaning of the configure option:</title> 61 61 … … 71 71 </variablelist> 72 72 73 <para os=" i">Compile the package:</para>73 <para os="j">Compile the package:</para> 74 74 75 <screen os=" j"><userinput>make</userinput></screen>75 <screen os="k"><userinput>make</userinput></screen> 76 76 77 <para os=" k">To test the results, issue:77 <para os="l">To test the results, issue: 78 78 <userinput>make tests</userinput>.</para> 79 79 80 <para os=" l">Install the package:</para>80 <para os="m">Install the package:</para> 81 81 82 <screen os=" m"><userinput>make install</userinput></screen>82 <screen os="n"><userinput>make install</userinput></screen> 83 83 84 <para os=" n">Run the newly compiled <command>bash</command> program (replacing84 <para os="o">Run the newly compiled <command>bash</command> program (replacing 85 85 the one that is currently being executed):</para> 86 86 87 <screen os=" o"><userinput>exec /bin/bash --login +h</userinput></screen>87 <screen os="p"><userinput>exec /bin/bash --login +h</userinput></screen> 88 88 89 <note os=" p">89 <note os="q"> 90 90 <para>The parameters used make the <command>bash</command> 91 91 process an interactive login shell and continue to disable hashing so -
BOOK/final-system/common/bison.xml
r82fedc4 re0e40d3 34 34 <title>Installation of Bison</title> 35 35 36 <para >Prepare Bison for compilation:</para>36 <para os="a">Prepare Bison for compilation:</para> 37 37 38 <screen ><userinput>./configure --prefix=/usr</userinput></screen>38 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 39 39 40 <para >Compile the package:</para>40 <para os="c">Compile the package:</para> 41 41 42 <screen ><userinput>make</userinput></screen>42 <screen os="d"><userinput>make</userinput></screen> 43 43 44 <para >To test the results, issue:44 <para os="e">To test the results, issue: 45 45 <userinput>make check</userinput>.</para> 46 46 47 <para >Install the package:</para>47 <para os="f">Install the package:</para> 48 48 49 <screen ><userinput>make install</userinput></screen>49 <screen os="g"><userinput>make install</userinput></screen> 50 50 51 51 </sect2> -
BOOK/final-system/common/bzip2.xml
r82fedc4 re0e40d3 36 36 <title>Installation of Bzip2</title> 37 37 38 <para os=" j">Apply a patch to install the documentation for this38 <para os="p1">Apply a patch to install the documentation for this 39 39 package:</para> 40 40 41 <screen os=" k"><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>42 43 <para os=" l">The <command>bzgrep</command> command does not escape '|' and41 <screen os="p2"><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen> 42 43 <para os="p3">The <command>bzgrep</command> command does not escape '|' and 44 44 '&' in filenames passed to it. This allows arbitrary commands to be 45 45 executed with the privileges of the user running <command>bzgrep</command>. 46 46 Apply the following patch to address this:</para> 47 47 48 <screen os=" m"><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>48 <screen os="p4"><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen> 49 49 50 50 <para os="a">The Bzip2 package does not contain a <command>configure</command> 51 51 script. Compile it with:</para> 52 52 53 <screen ><userinput>make -f Makefile-libbz2_so53 <screen os="b"><userinput>make -f Makefile-libbz2_so 54 54 make clean</userinput></screen> 55 55 56 <para os=" b">The <parameter>-f</parameter> flag will cause Bzip2 to be built56 <para os="c">The <parameter>-f</parameter> flag will cause Bzip2 to be built 57 57 using a different <filename>Makefile</filename> file, in this case the 58 58 <filename>Makefile-libbz2_so</filename> file, which creates a dynamic … … 60 60 Bzip2 utilities against it.</para> 61 61 62 <para os=" c">Compile and test the package:</para>63 64 <screen ><userinput>make</userinput></screen>65 66 <para os=" e">If reinstalling Bzip2, perform62 <para os="d">Compile and test the package:</para> 63 64 <screen os="e"><userinput>make</userinput></screen> 65 66 <para os="f">If reinstalling Bzip2, perform 67 67 <userinput>rm -f /usr/bin/bz*</userinput> first, otherwise the 68 68 following <command>make install</command> will fail.</para> 69 69 70 <para os=" f">Install the programs:</para>71 72 <screen os=" g"><userinput>make install</userinput></screen>73 74 <para os=" h">Install the shared <command>bzip2</command> binary into the70 <para os="g">Install the programs:</para> 71 72 <screen os="h"><userinput>make install</userinput></screen> 73 74 <para os="i">Install the shared <command>bzip2</command> binary into the 75 75 <filename class="directory">/bin</filename> directory, make 76 76 some necessary symbolic links, and clean up:</para> 77 77 78 <screen os=" i"><userinput>cp bzip2-shared /bin/bzip278 <screen os="j"><userinput>cp bzip2-shared /bin/bzip2 79 79 cp -a libbz2.so* /lib 80 80 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so -
BOOK/final-system/common/diffutils.xml
r82fedc4 re0e40d3 35 35 <title>Installation of Diffutils</title> 36 36 37 <para >Prepare Diffutils for compilation:</para>37 <para os="a">Prepare Diffutils for compilation:</para> 38 38 39 <screen ><userinput>./configure --prefix=/usr</userinput></screen>39 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 40 40 41 <para >Compile the package:</para>41 <para os="c">Compile the package:</para> 42 42 43 <screen ><userinput>make</userinput></screen>43 <screen os="d"><userinput>make</userinput></screen> 44 44 45 <para >This package does not come with a test suite.</para>45 <para os="e">This package does not come with a test suite.</para> 46 46 47 <para >Install the package:</para>47 <para os="f">Install the package:</para> 48 48 49 <screen ><userinput>make install</userinput></screen>49 <screen os="g"><userinput>make install</userinput></screen> 50 50 51 51 </sect2> -
BOOK/final-system/common/e2fsprogs.xml
r82fedc4 re0e40d3 45 45 <para os="c">Prepare E2fsprogs for compilation:</para> 46 46 47 <screen ><userinput>../configure --prefix=/usr --with-root-prefix="" \47 <screen os="d"><userinput>../configure --prefix=/usr --with-root-prefix="" \ 48 48 --enable-elf-shlibs --disable-evms</userinput></screen> 49 49 50 <variablelist os=" d">50 <variablelist os="e"> 51 51 <title>The meaning of the configure options:</title> 52 52 53 <varlistentry >53 <varlistentry os="e1"> 54 54 <term><parameter>--with-root-prefix=""</parameter></term> 55 55 <listitem> … … 65 65 </varlistentry> 66 66 67 <varlistentry os=" l">67 <varlistentry os="e2"> 68 68 <term><parameter>--enable-elf-shlibs</parameter></term> 69 69 <listitem> … … 73 73 </varlistentry> 74 74 75 <varlistentry os=" m">75 <varlistentry os="e3"> 76 76 <term><parameter>--disable-evms</parameter></term> 77 77 <listitem> … … 84 84 </listitem> 85 85 </varlistentry> 86 86 87 </variablelist> 87 88 88 <para os=" e">Compile the package:</para>89 90 <screen os=" f"><userinput>make</userinput></screen>91 92 <para os=" g">To test the results, issue:89 <para os="f">Compile the package:</para> 90 91 <screen os="g"><userinput>make</userinput></screen> 92 93 <para os="h">To test the results, issue: 93 94 <userinput>make check</userinput>.</para> 94 95 95 <para os=" h">Install the binaries and documentation:</para>96 97 <screen os=" i"><userinput>make install</userinput></screen>98 99 <para os=" j">Install the shared libraries:</para>100 101 <screen os=" k"><userinput>make install-libs</userinput></screen>96 <para os="i">Install the binaries and documentation:</para> 97 98 <screen os="j"><userinput>make install</userinput></screen> 99 100 <para os="k">Install the shared libraries:</para> 101 102 <screen os="l"><userinput>make install-libs</userinput></screen> 102 103 103 104 </sect2> -
BOOK/final-system/common/findutils.xml
r82fedc4 re0e40d3 39 39 <para os="a">Prepare Findutils for compilation:</para> 40 40 41 <screen ><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \41 <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \ 42 42 --localstatedir=/var/lib/locate</userinput></screen> 43 43 44 <variablelist os=" b">44 <variablelist os="c"> 45 45 <title>The meaning of the configure options:</title> 46 46 … … 56 56 </variablelist> 57 57 58 <para os=" c">Compile the package:</para>58 <para os="d">Compile the package:</para> 59 59 60 <screen os=" d"><userinput>make</userinput></screen>60 <screen os="e"><userinput>make</userinput></screen> 61 61 62 <para os=" e">To test the results, issue:62 <para os="f">To test the results, issue: 63 63 <userinput>make check</userinput>.</para> 64 64 65 <para os=" f">Install the package:</para>65 <para os="g">Install the package:</para> 66 66 67 <screen os=" g"><userinput>make install</userinput></screen>67 <screen os="h"><userinput>make install</userinput></screen> 68 68 69 69 </sect2> -
BOOK/final-system/common/flex.xml
r82fedc4 re0e40d3 49 49 <para os="e">Prepare Flex for compilation:</para> 50 50 51 <screen ><userinput>./configure --prefix=/usr</userinput></screen>51 <screen os="f"><userinput>./configure --prefix=/usr</userinput></screen> 52 52 53 <para os=" f">Compile the package:</para>53 <para os="g">Compile the package:</para> 54 54 55 <screen os=" g"><userinput>make</userinput></screen>55 <screen os="h"><userinput>make</userinput></screen> 56 56 57 <para os=" h">To test the results, issue:57 <para os="i">To test the results, issue: 58 58 <userinput>make check</userinput>.</para> 59 59 60 <para os=" i">Install the package:</para>60 <para os="j">Install the package:</para> 61 61 62 <screen os=" j"><userinput>make install</userinput></screen>62 <screen os="k"><userinput>make install</userinput></screen> 63 63 64 <para os=" k">There are some packages that expect to find the64 <para os="l">There are some packages that expect to find the 65 65 <filename class="libraryfile">lex</filename> library in <filename 66 66 class="directory">/usr/lib</filename>. Create a symlink to account for 67 67 this:</para> 68 68 69 <screen os=" l"><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen>69 <screen os="m"><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen> 70 70 71 <para os=" m">A few programs do not know about <command>flex</command> yet and71 <para os="n">A few programs do not know about <command>flex</command> yet and 72 72 try to run its predecessor, <command>lex</command>. To support those 73 73 programs, create a wrapper script named <filename>lex</filename> that … … 75 75 mode:</para> 76 76 77 <screen os=" n"><userinput>cat > /usr/bin/lex << "EOF"77 <screen os="o"><userinput>cat > /usr/bin/lex << "EOF" 78 78 <literal>#!/bin/sh 79 79 # Begin /usr/bin/lex -
BOOK/final-system/common/gettext.xml
r82fedc4 re0e40d3 37 37 <title>Installation of Gettext</title> 38 38 39 <para >Prepare Gettext for compilation:</para>40 41 <screen ><userinput>./configure --prefix=/usr</userinput></screen>42 43 <para >Compile the package:</para>44 45 <screen ><userinput>make</userinput></screen>46 47 <para >To test the results, issue: <userinput>make check</userinput>.</para>48 49 <para >Install the package:</para>50 51 <screen ><userinput>make install</userinput></screen>39 <para os="a">Prepare Gettext for compilation:</para> 40 41 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 42 43 <para os="c">Compile the package:</para> 44 45 <screen os="d"><userinput>make</userinput></screen> 46 47 <para os="e">To test the results, issue: <userinput>make check</userinput>.</para> 48 49 <para os="f">Install the package:</para> 50 51 <screen os="g"><userinput>make install</userinput></screen> 52 52 53 53 </sect2> -
BOOK/final-system/common/groff.xml
r82fedc4 re0e40d3 42 42 <para os="b">Prepare Groff for compilation:</para> 43 43 44 <screen ><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr</userinput></screen>45 46 <para os=" c">Compile the package:</para>47 48 <screen os=" d"><userinput>make</userinput></screen>49 50 <para os=" e">Install the package:</para>51 52 <screen os=" f"><userinput>make install</userinput></screen>53 54 <para os=" g">Some documentation programs, such as <command>xman</command>,44 <screen os="c"><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr</userinput></screen> 45 46 <para os="d">Compile the package:</para> 47 48 <screen os="e"><userinput>make</userinput></screen> 49 50 <para os="f">Install the package:</para> 51 52 <screen os="g"><userinput>make install</userinput></screen> 53 54 <para os="h">Some documentation programs, such as <command>xman</command>, 55 55 will not work properly without the following symlinks:</para> 56 56 57 <screen os=" h"><userinput>ln -s soelim /usr/bin/zsoelim57 <screen os="i"><userinput>ln -s soelim /usr/bin/zsoelim 58 58 ln -s eqn /usr/bin/geqn 59 59 ln -s tbl /usr/bin/gtbl</userinput></screen> -
BOOK/final-system/common/gzip.xml
r82fedc4 re0e40d3 35 35 <title>Installation of Gzip</title> 36 36 37 <para os=" a">The following patch fixes two security vulnerabilities in Gzip.37 <para os="p1">The following patch fixes two security vulnerabilities in Gzip. 38 38 First, a path traversal bug when using the <option>-N</option> option 39 39 (CAN-2005-1228) Second, a race condition in the file permission restore 40 40 code (CAN-2005-0998)</para> 41 41 42 <screen os=" b"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>43 44 <para os=" c">Prepare Gzip for compilation:</para>45 46 <screen ><userinput>./configure --prefix=/usr</userinput></screen>47 48 <para os=" d">The <command>gzexe</command> script has the location of the42 <screen os="p2"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen> 43 44 <para os="a">Prepare Gzip for compilation:</para> 45 46 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 47 48 <para os="c">The <command>gzexe</command> script has the location of the 49 49 <command>gzip</command> binary hard-wired into it. Because the 50 50 location of the binary is changed later, the following command ensures 51 51 that the new location gets placed into the script:</para> 52 52 53 <screen os=" e"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>54 55 <para os=" f">Compile the package:</para>56 57 <screen os=" g"><userinput>make</userinput></screen>58 59 <para os=" h">Install the package:</para>60 61 <screen os=" i"><userinput>make install</userinput></screen>62 63 <para os=" j">Move the <command>gzip</command> program to the <filename53 <screen os="d"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen> 54 55 <para os="e">Compile the package:</para> 56 57 <screen os="f"><userinput>make</userinput></screen> 58 59 <para os="g">Install the package:</para> 60 61 <screen os="h"><userinput>make install</userinput></screen> 62 63 <para os="i">Move the <command>gzip</command> program to the <filename 64 64 class="directory">/bin</filename> directory and create some commonly 65 65 used symlinks to it:</para> 66 66 67 <screen os=" k"><userinput>mv /usr/bin/gzip /bin67 <screen os="j"><userinput>mv /usr/bin/gzip /bin 68 68 rm /usr/bin/{gunzip,zcat} 69 69 ln -s gzip /bin/gunzip -
BOOK/final-system/common/hotplug.xml
r82fedc4 re0e40d3 38 38 <title>Installation of Hotplug</title> 39 39 40 <para >Install the Hotplug package:</para>41 42 <screen ><userinput>make install</userinput></screen>43 44 <para >Remove the init script that Hotplug installs since we are going40 <para os="a">Install the Hotplug package:</para> 41 42 <screen os="b"><userinput>make install</userinput></screen> 43 44 <para os="c">Remove the init script that Hotplug installs since we are going 45 45 to be using the script included in the LFS-Bootscripts package:</para> 46 46 47 <screen ><userinput>rm -rf /etc/init.d</userinput></screen>48 49 <para >Network device hotplugging is not yet supported by the47 <screen os="d"><userinput>rm -rf /etc/init.d</userinput></screen> 48 49 <para os="e">Network device hotplugging is not yet supported by the 50 50 LFS-Bootscripts package. For that reason, remove the network 51 51 hotplug agent:</para> 52 52 53 <screen ><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>54 55 <para >Create a directory for storing firmware that can be loaded by53 <screen os="f"><userinput>rm -f /etc/hotplug/net.agent</userinput></screen> 54 55 <para os="g">Create a directory for storing firmware that can be loaded by 56 56 <command>hotplug</command>:</para> 57 57 58 <screen ><userinput>mkdir /lib/firmware</userinput></screen>58 <screen os="h"><userinput>mkdir /lib/firmware</userinput></screen> 59 59 60 60 </sect2> -
BOOK/final-system/common/iana-etc.xml
r82fedc4 re0e40d3 34 34 <title>Installation of Iana-Etc</title> 35 35 36 <para >The following command converts the raw data provided by IANA into36 <para os="a">The following command converts the raw data provided by IANA into 37 37 the correct formats for the <filename>/etc/protocols</filename> and 38 38 <filename>/etc/services</filename> data files:</para> 39 39 40 <screen ><userinput>make</userinput></screen>40 <screen os="b"><userinput>make</userinput></screen> 41 41 42 <para >Install the package:</para>42 <para os="c">Install the package:</para> 43 43 44 <screen ><userinput>make install</userinput></screen>44 <screen os="d"><userinput>make install</userinput></screen> 45 45 46 46 </sect2> -
BOOK/final-system/common/inetutils.xml
r82fedc4 re0e40d3 34 34 <title>Installation of Inetutils</title> 35 35 36 <para os=" a">All programs that come with Inetutils will not be installed.36 <para os="p1">All programs that come with Inetutils will not be installed. 37 37 However, the Inetutils build system will insist on installing all the 38 38 man pages anyway. The following patch will correct this 39 39 situation:</para> 40 40 41 <screen os=" b"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>42 43 <para os=" b1">The following patches addresses build issues with GCC 4.x:</para>44 45 <screen os=" b2"><userinput>patch -Np1 -i ../&inetutils-gcc4_fixes-patch;</userinput></screen>46 47 <para os=" c">Prepare Inetutils for compilation:</para>48 49 <screen ><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \41 <screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen> 42 43 <para os="p3">The following patches addresses build issues with GCC 4.x:</para> 44 45 <screen os="p4"><userinput>patch -Np1 -i ../&inetutils-gcc4_fixes-patch;</userinput></screen> 46 47 <para os="a">Prepare Inetutils for compilation:</para> 48 49 <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \ 50 50 --sysconfdir=/etc --localstatedir=/var \ 51 51 --disable-logger --disable-syslogd \ 52 52 --disable-whois --disable-servers</userinput></screen> 53 53 54 <variablelist os=" d">54 <variablelist os="c"> 55 55 <title>The meaning of the configure options:</title> 56 56 … … 98 98 </variablelist> 99 99 100 <para os=" e">Compile the package:</para>101 102 <screen os=" f"><userinput>make</userinput></screen>103 104 <para os=" g">Install the package:</para>105 106 <screen os=" h"><userinput>make install</userinput></screen>107 108 <para os=" i">Move the <command>ping</command> program to its FHS-compliant100 <para os="d">Compile the package:</para> 101 102 <screen os="e"><userinput>make</userinput></screen> 103 104 <para os="f">Install the package:</para> 105 106 <screen os="g"><userinput>make install</userinput></screen> 107 108 <para os="h">Move the <command>ping</command> program to its FHS-compliant 109 109 place:</para> 110 110 111 <screen os=" j"><userinput>mv /usr/bin/ping /bin</userinput></screen>111 <screen os="i"><userinput>mv /usr/bin/ping /bin</userinput></screen> 112 112 113 113 </sect2> -
BOOK/final-system/common/iproute2.xml
r82fedc4 re0e40d3 34 34 <title>Installation of IPRoute2</title> 35 35 36 <para os=" a">The <command>arpd</command> binary included in this package is36 <para os="s1">The <command>arpd</command> binary included in this package is 37 37 dependent on Berkeley DB. Because <command>arpd</command> is not a 38 38 very common requirement on a base Linux system, remove the dependency … … 42 42 url="&blfs-root;view/svn/server/databases.html#db"/>.</para> 43 43 44 <screen os=" b"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>45 46 <para os=" c">Prepare IPRoute2 for compilation:</para>47 48 <screen os=" d"><userinput>sh configure </userinput></screen>49 50 <para os=" e">Compile the package:</para>51 52 <screen ><userinput>make SBINDIR=/sbin</userinput></screen>53 54 <variablelist os=" f">44 <screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> 45 46 <para os="a">Prepare IPRoute2 for compilation:</para> 47 48 <screen os="b"><userinput>sh configure </userinput></screen> 49 50 <para os="c">Compile the package:</para> 51 52 <screen os="d"><userinput>make SBINDIR=/sbin</userinput></screen> 53 54 <variablelist os="e"> 55 55 <title>The meaning of the make option:</title> 56 56 … … 66 66 </variablelist> 67 67 68 <para os=" g">Install the package:</para>69 70 <screen os=" h"><userinput>make SBINDIR=/sbin install</userinput></screen>68 <para os="f">Install the package:</para> 69 70 <screen os="g"><userinput>make SBINDIR=/sbin install</userinput></screen> 71 71 72 72 </sect2> -
BOOK/final-system/common/kbd.xml
r82fedc4 re0e40d3 35 35 <title>Installation of Kbd</title> 36 36 37 <para os=" a1">The following patch fixes build issues with GCC 4.x:</para>38 39 <screen os=" a2"><userinput>patch -Np1 -i ../&kbd-gcc4_fixes-patch;</userinput></screen>40 41 <para >Prepare Kbd for compilation:</para>42 43 <screen ><userinput>./configure</userinput></screen>44 45 <para >Compile the package:</para>46 47 <screen ><userinput>make</userinput></screen>48 49 <para >Install the package:</para>50 51 <screen ><userinput>make install</userinput></screen>37 <para os="p1">The following patch fixes build issues with GCC 4.x:</para> 38 39 <screen os="p2"><userinput>patch -Np1 -i ../&kbd-gcc4_fixes-patch;</userinput></screen> 40 41 <para os="a">Prepare Kbd for compilation:</para> 42 43 <screen os="b"><userinput>./configure</userinput></screen> 44 45 <para os="c">Compile the package:</para> 46 47 <screen os="d"><userinput>make</userinput></screen> 48 49 <para os="e">Install the package:</para> 50 51 <screen os="f"><userinput>make install</userinput></screen> 52 52 53 53 </sect2> -
BOOK/final-system/common/less.xml
r82fedc4 re0e40d3 36 36 <para os="a">Prepare Less for compilation:</para> 37 37 38 <screen ><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>38 <screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen> 39 39 40 <variablelist os=" b">40 <variablelist os="c"> 41 41 <title>The meaning of the configure option:</title> 42 42 … … 51 51 </variablelist> 52 52 53 <para os=" c">Compile the package:</para>53 <para os="d">Compile the package:</para> 54 54 55 <screen os=" d"><userinput>make</userinput></screen>55 <screen os="e"><userinput>make</userinput></screen> 56 56 57 <para os=" e">Install the package:</para>57 <para os="f">Install the package:</para> 58 58 59 <screen os=" f"><userinput>make install</userinput></screen>59 <screen os="g"><userinput>make install</userinput></screen> 60 60 61 <para os=" g">Move less to /bin:</para>61 <para os="h">Move less to /bin:</para> 62 62 63 <screen os=" h"><userinput>mv /usr/bin/less /bin</userinput></screen>63 <screen os="i"><userinput>mv /usr/bin/less /bin</userinput></screen> 64 64 65 65 </sect2> -
BOOK/final-system/common/libtool.xml
r82fedc4 re0e40d3 38 38 <para os="a">Prepare Libtool for compilation:</para> 39 39 40 <screen ><userinput>./configure --prefix=/usr</userinput></screen>40 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 41 41 42 <para os=" b">Compile the package:</para>42 <para os="c">Compile the package:</para> 43 43 44 <screen os=" c"><userinput>make</userinput></screen>44 <screen os="d"><userinput>make</userinput></screen> 45 45 46 <para os=" d">To test the results, issue:46 <para os="e">To test the results, issue: 47 47 <userinput>make check</userinput>.</para> 48 48 49 <para os=" e">Install the package:</para>49 <para os="f">Install the package:</para> 50 50 51 <screen os=" f"><userinput>make install</userinput></screen>51 <screen os="g"><userinput>make install</userinput></screen> 52 52 53 <para os=" g">Correct the ownership of the <filename53 <para os="h">Correct the ownership of the <filename 54 54 class="libraryfile">libltdl</filename> data files:</para> 55 55 56 <screen os=" h"><userinput>chown -R root:root /usr/share/libtool/libltdl</userinput></screen>56 <screen os="i"><userinput>chown -R root:root /usr/share/libtool/libltdl</userinput></screen> 57 57 58 58 </sect2> -
BOOK/final-system/common/m4.xml
r82fedc4 re0e40d3 34 34 <title>Installation of M4</title> 35 35 36 <para >Prepare M4 for compilation:</para>36 <para os="a">Prepare M4 for compilation:</para> 37 37 38 <screen ><userinput>./configure --prefix=/usr</userinput></screen>38 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 39 39 40 <para >Compile the package:</para>40 <para os="c">Compile the package:</para> 41 41 42 <screen ><userinput>make</userinput></screen>42 <screen os="d"><userinput>make</userinput></screen> 43 43 44 <para >To test the results, issue:44 <para os="e">To test the results, issue: 45 45 <userinput>make check</userinput>.</para> 46 46 47 <para >Install the package:</para>47 <para os="f">Install the package:</para> 48 48 49 <screen ><userinput>make install</userinput></screen>49 <screen os="g"><userinput>make install</userinput></screen> 50 50 51 51 </sect2> -
BOOK/final-system/common/man-pages.xml
r82fedc4 re0e40d3 33 33 <title>Installation of Man-pages</title> 34 34 35 <para >Install Man-pages by running:</para>35 <para os="a">Install Man-pages by running:</para> 36 36 37 <screen ><userinput>make install</userinput></screen>37 <screen os="b"><userinput>make install</userinput></screen> 38 38 39 39 </sect2> -
BOOK/final-system/common/man.xml
r82fedc4 re0e40d3 52 52 <para os="f">Prepare Man for compilation:</para> 53 53 54 <screen ><userinput>./configure -confdir=/etc</userinput></screen>55 56 <variablelist os=" g">54 <screen os="g"><userinput>./configure -confdir=/etc</userinput></screen> 55 56 <variablelist os="h"> 57 57 <title>The meaning of the configure options:</title> 58 58 … … 67 67 </variablelist> 68 68 69 <para os=" h">Compile the package:</para>70 71 <screen os=" i"><userinput>make</userinput></screen>72 73 <para os=" j">Install the package:</para>74 75 <screen os=" k"><userinput>make install</userinput></screen>76 77 <note os=" l">69 <para os="i">Compile the package:</para> 70 71 <screen os="j"><userinput>make</userinput></screen> 72 73 <para os="k">Install the package:</para> 74 75 <screen os="l"><userinput>make install</userinput></screen> 76 77 <note os="m"> 78 78 <para>If you will be working on a terminal that does not support 79 79 text attributes such as color and bold, you can disable Select … … 86 86 </note> 87 87 88 <para os=" m">If the character set of the locale uses 8-bit characters, search88 <para os="n">If the character set of the locale uses 8-bit characters, search 89 89 for the line beginning with <quote>NROFF</quote> in 90 90 <filename>/etc/man.conf</filename>, and verify that it matches the 91 91 following:</para> 92 92 93 <screen os=" n">NROFF/usr/bin/nroff -Tlatin1 -mandoc</screen>94 95 <para os=" o">Note that <quote>latin1</quote> should be used even if it is not93 <screen os="o">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen> 94 95 <para os="p">Note that <quote>latin1</quote> should be used even if it is not 96 96 the character set of the locale. The reason is that, according to the 97 97 specification, <command>groff</command> has no means of typesetting … … 105 105 it is usable as the input for a pager.</para> 106 106 107 <para os=" p">This does not solve the problem of a non-working107 <para os="q">This does not solve the problem of a non-working 108 108 <command>man2dvi</command> program for localized man pages in 109 109 non-ISO 8859-1 locales. Also, it does not work with multibyte … … 112 112 not support multibyte character sets.</para> 113 113 114 <para os=" q">Additional information with regards to the compression of114 <para os="r">Additional information with regards to the compression of 115 115 man and info pages can be found in the BLFS book at 116 116 <ulink url="&blfs-root;view/cvs/postlfs/compressdoc.html"/>.</para> -
BOOK/final-system/common/mktemp.xml
r82fedc4 re0e40d3 42 42 <para os="c">Prepare Mktemp for compilation:</para> 43 43 44 <screen os=" c1"><userinput>./configure --prefix=/usr --with-libc</userinput></screen>44 <screen os="d"><userinput>./configure --prefix=/usr --with-libc</userinput></screen> 45 45 46 <variablelist os=" d">46 <variablelist os="e"> 47 47 <title>The meaning of the configure option:</title> 48 48 … … 57 57 </variablelist> 58 58 59 <para os=" e">Compile the package:</para>59 <para os="f">Compile the package:</para> 60 60 61 <screen os=" f"><userinput>make</userinput></screen>61 <screen os="g"><userinput>make</userinput></screen> 62 62 63 <para os=" g">Install the package:</para>63 <para os="h">Install the package:</para> 64 64 65 <screen os=" h"><userinput>make install65 <screen os="i"><userinput>make install 66 66 make install-tempfile</userinput></screen> 67 67 -
BOOK/final-system/common/module-init-tools.xml
r82fedc4 re0e40d3 43 43 <screen os="b"><userinput>touch modprobe.conf.5</userinput></screen> 44 44 45 <para os=" g">If you wish to run the test suite for Module-Init-Tools, you45 <para os="c">If you wish to run the test suite for Module-Init-Tools, you 46 46 will need to download the separate testsuite tarball. Issue the 47 47 following commands to perform the tests (note that the … … 50 50 process):</para> 51 51 52 <screen os=" g1"><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 --strip-path=1 &&52 <screen os="d"><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 --strip-path=1 && 53 53 ./configure && 54 54 make check && 55 55 make distclean</userinput></screen> 56 56 57 <para os=" c">Prepare Module-Init-Tools for compilation:</para>57 <para os="e">Prepare Module-Init-Tools for compilation:</para> 58 58 59 <screen os=" c1"><userinput>./configure --prefix=/ --enable-zlib</userinput></screen>59 <screen os="f"><userinput>./configure --prefix=/ --enable-zlib</userinput></screen> 60 60 61 <variablelist os=" d">61 <variablelist os="g"> 62 62 <title>The meaning of the configure options:</title> 63 63 … … 72 72 </variablelist> 73 73 74 <para os=" e">Compile the package:</para>74 <para os="h">Compile the package:</para> 75 75 76 <screen os=" f"><userinput>make</userinput></screen>76 <screen os="i"><userinput>make</userinput></screen> 77 77 78 <para os=" h">Install the package:</para>78 <para os="j">Install the package:</para> 79 79 80 <screen os=" i"><userinput>make install</userinput></screen>80 <screen os="k"><userinput>make install</userinput></screen> 81 81 82 82 </sect2> -
BOOK/final-system/common/ncurses.xml
r82fedc4 re0e40d3 37 37 <para os="a">Prepare Ncurses for compilation:</para> 38 38 39 <screen ><userinput>./configure --prefix=/usr --libdir=/lib \39 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \ 40 40 --with-shared --without-debug</userinput></screen> 41 41 42 <para os=" b">Compile the package:</para>43 44 <screen os=" c"><userinput>make</userinput></screen>45 46 <para os=" d">This package does not come with a test suite.</para>47 48 <para os=" e">Install the package:</para>49 50 <screen os=" f"><userinput>make install</userinput></screen>51 52 <para os=" g">Move the Ncurses static libraries to the proper locations:</para>53 54 <screen os=" h"><userinput>mv /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>55 56 <para os=" i">Create symlinks in <filename class="directory">/usr/lib:</filename></para>57 58 <screen os=" j"><userinput>rm /lib/lib{ncurses,menu,panel,form,curses}.so42 <para os="c">Compile the package:</para> 43 44 <screen os="d"><userinput>make</userinput></screen> 45 46 <para os="e">This package does not come with a test suite.</para> 47 48 <para os="f">Install the package:</para> 49 50 <screen os="g"><userinput>make install</userinput></screen> 51 52 <para os="h">Move the Ncurses static libraries to the proper locations:</para> 53 54 <screen os="i"><userinput>mv /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen> 55 56 <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para> 57 58 <screen os="k"><userinput>rm /lib/lib{ncurses,menu,panel,form,curses}.so 59 59 ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so 60 60 ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so … … 63 63 ln -sf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen> 64 64 65 <para os=" k">Give the Ncurses libraries execute permissions:</para>66 67 <screen os=" l"><userinput>chmod 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>65 <para os="l">Give the Ncurses libraries execute permissions:</para> 66 67 <screen os="m"><userinput>chmod 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen> 68 68 69 69 </sect2> -
BOOK/final-system/common/patch.xml
r82fedc4 re0e40d3 36 36 <title>Installation of Patch</title> 37 37 38 <para >Prepare Patch for compilation:</para>38 <para os="a">Prepare Patch for compilation:</para> 39 39 40 <screen ><userinput>./configure --prefix=/usr</userinput></screen>40 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 41 41 42 <para >Compile the package:</para>42 <para os="c">Compile the package:</para> 43 43 44 <screen ><userinput>make</userinput></screen>44 <screen os="d"><userinput>make</userinput></screen> 45 45 46 <para >This package does not come with a test suite.</para>46 <para os="e">This package does not come with a test suite.</para> 47 47 48 <para >Install the package:</para>48 <para os="f">Install the package:</para> 49 49 50 <screen ><userinput>make install</userinput></screen>50 <screen os="g"><userinput>make install</userinput></screen> 51 51 52 52 </sect2> -
BOOK/final-system/common/perl.xml
r82fedc4 re0e40d3 40 40 prepare Perl for compilation with:</para> 41 41 42 <screen ><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>43 44 <variablelist os=" b">42 <screen os="b"><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen> 43 44 <variablelist os="c"> 45 45 <title>The meaning of the configure option:</title> 46 46 47 <varlistentry >47 <varlistentry os="c1"> 48 48 <term><parameter>-Dpager="/bin/less -isR"</parameter></term> 49 49 <listitem> … … 54 54 </variablelist> 55 55 56 <para os=" c">Compile the package:</para>57 58 <screen os=" d"><userinput>make</userinput></screen>59 60 <para os=" e">To run the test suite, first create a basic56 <para os="d">Compile the package:</para> 57 58 <screen os="e"><userinput>make</userinput></screen> 59 60 <para os="f">To run the test suite, first create a basic 61 61 <filename>/etc/hosts</filename> file which is needed by a couple of 62 62 the tests to resolve the network name localhost:</para> 63 63 64 <screen os=" f"><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>65 66 <para os=" g">Now run the tests, if desired:</para>67 68 <screen os=" h"><userinput>make test</userinput></screen>69 70 <para os=" i">Install the package:</para>71 72 <screen os=" j"><userinput>make install</userinput></screen>64 <screen os="g"><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> 65 66 <para os="h">Now run the tests, if desired:</para> 67 68 <screen os="i"><userinput>make test</userinput></screen> 69 70 <para os="j">Install the package:</para> 71 72 <screen os="k"><userinput>make install</userinput></screen> 73 73 74 74 </sect2> -
BOOK/final-system/common/procps.xml
r82fedc4 re0e40d3 34 34 <title>Installation of Procps</title> 35 35 36 <para >Compile the package:</para>37 38 <screen ><userinput>make</userinput></screen>39 40 <para >Install the package:</para>41 42 <screen ><userinput>make install</userinput></screen>36 <para os="a">Compile the package:</para> 37 38 <screen os="b"><userinput>make</userinput></screen> 39 40 <para os="c">Install the package:</para> 41 42 <screen os="d"><userinput>make install</userinput></screen> 43 43 44 44 </sect2> -
BOOK/final-system/common/psmisc.xml
r82fedc4 re0e40d3 37 37 <para os="a">Prepare Psmisc for compilation:</para> 38 38 39 <screen ><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>39 <screen os="b"><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen> 40 40 41 <variablelist os=" b">41 <variablelist os="c"> 42 42 <title>The meaning of the configure option:</title> 43 43 … … 54 54 </variablelist> 55 55 56 <para os=" c">Compile the package:</para>56 <para os="d">Compile the package:</para> 57 57 58 <screen os=" d"><userinput>make</userinput></screen>58 <screen os="e"><userinput>make</userinput></screen> 59 59 60 <para os=" e">Install the package:</para>60 <para os="f">Install the package:</para> 61 61 62 <screen os=" f"><userinput>make install</userinput></screen>62 <screen os="g"><userinput>make install</userinput></screen> 63 63 64 <para os=" g">There is no reason for the <command>pstree</command> and64 <para os="h">There is no reason for the <command>pstree</command> and 65 65 <command>pstree.x11</command> programs to reside in <filename 66 66 class="directory">/bin</filename>. Therefore, move them to <filename 67 67 class="directory">/usr/bin</filename>:</para> 68 68 69 <screen os=" h"><userinput>mv /bin/pstree* /usr/bin</userinput></screen>69 <screen os="i"><userinput>mv /bin/pstree* /usr/bin</userinput></screen> 70 70 71 <para os=" i">By default, Psmisc's <command>pidof</command> program is not installed.71 <para os="j">By default, Psmisc's <command>pidof</command> program is not installed. 72 72 This usually is not a problem because it is installed later in the Sysvinit 73 73 package, which provides a better <command>pidof</command> program. If … … 75 75 of Psmisc by creating the following symlink:</para> 76 76 77 <screen os=" j"><userinput>ln -s killall /bin/pidof</userinput></screen>77 <screen os="k"><userinput>ln -s killall /bin/pidof</userinput></screen> 78 78 79 79 </sect2> -
BOOK/final-system/common/readline.xml
r82fedc4 re0e40d3 44 44 <para os="c">Prepare Readline for compilation:</para> 45 45 46 <screen ><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>46 <screen os="d"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen> 47 47 48 <para os=" d">Compile the package:</para>48 <para os="e">Compile the package:</para> 49 49 50 <screen os=" e"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>50 <screen os="f"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen> 51 51 52 <variablelist os=" f">52 <variablelist os="g"> 53 53 <title>The meaning of the make option:</title> 54 54 … … 62 62 </variablelist> 63 63 64 <para os=" g">Install the package:</para>64 <para os="h">Install the package:</para> 65 65 66 <screen os=" h"><userinput>make install</userinput></screen>66 <screen os="i"><userinput>make install</userinput></screen> 67 67 68 <para os=" i">Give Readline's dynamic libraries to a more appropriate68 <para os="j">Give Readline's dynamic libraries to a more appropriate 69 69 permissions:</para> 70 70 71 <screen os=" j"><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>71 <screen os="k"><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen> 72 72 73 <para os=" k">Now move the static libraries to a more appropriate location:</para>73 <para os="l">Now move the static libraries to a more appropriate location:</para> 74 74 75 <screen os=" l"><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>75 <screen os="m"><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen> 76 76 77 <para os=" m">Next, remove the <filename class="extension">.so</filename>77 <para os="n">Next, remove the <filename class="extension">.so</filename> 78 78 files in <filename class="directory">/lib</filename> and relink them into 79 79 <filename class="directory">/usr/lib</filename>.</para> 80 80 81 <screen os=" n"><userinput>rm /lib/lib{readline,history}.so81 <screen os="o"><userinput>rm /lib/lib{readline,history}.so 82 82 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so 83 83 ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen> -
BOOK/final-system/common/sed.xml
r82fedc4 re0e40d3 43 43 <para os="c">Prepare Sed for compilation:</para> 44 44 45 <screen ><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>45 <screen os="d"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen> 46 46 47 <para os=" d">Compile the package:</para>47 <para os="e">Compile the package:</para> 48 48 49 <screen os=" e"><userinput>make</userinput></screen>49 <screen os="f"><userinput>make</userinput></screen> 50 50 51 <para os=" f">To test the results, issue:51 <para os="g">To test the results, issue: 52 52 <userinput>make check</userinput>.</para> 53 53 54 <para os=" g">Install the package:</para>54 <para os="h">Install the package:</para> 55 55 56 <screen os=" h"><userinput>make install</userinput></screen>56 <screen os="i"><userinput>make install</userinput></screen> 57 57 58 58 </sect2> -
BOOK/final-system/common/shadow.xml
r82fedc4 re0e40d3 50 50 <para os="b">Prepare Shadow for compilation:</para> 51 51 52 <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen> 53 54 <variablelist os="c"> 55 <title>The meaning of the new configure options:</title> 56 57 <varlistentry> 58 <term><parameter>to be done</parameter></term> 59 <listitem> 60 <para>to be done</para> 61 </listitem> 62 </varlistentry> 63 64 </variablelist> 52 <screen os="c"><userinput>./configure --libdir=/lib --enable-shared</userinput></screen> 65 53 66 54 <para os="d">Disable the installation of the <command>groups</command> program -
BOOK/final-system/common/sysklogd.xml
r82fedc4 re0e40d3 41 41 <para os="c">Compile the package:</para> 42 42 43 <screen ><userinput>make</userinput></screen>43 <screen os="d"><userinput>make</userinput></screen> 44 44 45 <para os=" d">Install the package:</para>45 <para os="e">Install the package:</para> 46 46 47 <screen os=" e"><userinput>make install</userinput></screen>47 <screen os="f"><userinput>make install</userinput></screen> 48 48 49 49 </sect2> -
BOOK/final-system/common/tar.xml
r82fedc4 re0e40d3 34 34 <title>Installation of Tar</title> 35 35 36 <para os=" a">Apply a patch to fix some issues with the test suite when using36 <para os="p1">Apply a patch to fix some issues with the test suite when using 37 37 GCC-&gcc-version;:</para> 38 38 39 <screen os=" a1"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>39 <screen os="p2"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen> 40 40 41 <para os=" b">Tar has a bug when the <option>-S</option> option is used with41 <para os="p3">Tar has a bug when the <option>-S</option> option is used with 42 42 files larger than 4 GB. The following patch properly fixes this issue:</para> 43 43 44 <screen os=" b1"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>44 <screen os="p4"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen> 45 45 46 <para os=" c">Prepare Tar for compilation:</para>46 <para os="a">Prepare Tar for compilation:</para> 47 47 48 <screen ><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>48 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen> 49 49 50 <para os=" d">Compile the package:</para>50 <para os="c">Compile the package:</para> 51 51 52 <screen os=" e"><userinput>make</userinput></screen>52 <screen os="d"><userinput>make</userinput></screen> 53 53 54 <para os=" f">To test the results, issue:54 <para os="e">To test the results, issue: 55 55 <userinput>make check</userinput>.</para> 56 56 57 <para os=" g">Install the package:</para>57 <para os="f">Install the package:</para> 58 58 59 <screen os=" h"><userinput>make install</userinput></screen>59 <screen os="g"><userinput>make install</userinput></screen> 60 60 61 61 </sect2> -
BOOK/final-system/common/texinfo.xml
r82fedc4 re0e40d3 42 42 <para os="a">Prepare Texinfo for compilation:</para> 43 43 44 <screen ><userinput>./configure --prefix=/usr</userinput></screen>44 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 45 45 46 <para os=" b">Compile the package:</para>46 <para os="c">Compile the package:</para> 47 47 48 <screen os=" c"><userinput>make</userinput></screen>48 <screen os="d"><userinput>make</userinput></screen> 49 49 50 <para os=" d">To test the results, issue:50 <para os="e">To test the results, issue: 51 51 <userinput>make check</userinput>.</para> 52 52 53 <para os=" e">Install the package:</para>53 <para os="f">Install the package:</para> 54 54 55 <screen os=" f"><userinput>make install</userinput></screen>55 <screen os="g"><userinput>make install</userinput></screen> 56 56 57 <para os=" g">Optionally, install the components belonging in a TeX57 <para os="h">Optionally, install the components belonging in a TeX 58 58 installation:</para> 59 59 60 <screen os=" h"><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>60 <screen os="i"><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen> 61 61 62 <variablelist os=" i">62 <variablelist os="j"> 63 63 <title>The meaning of the make parameter:</title> 64 64 … … 74 74 </variablelist> 75 75 76 <para os=" j">The Info documentation system uses a plain text file to hold76 <para os="k">The Info documentation system uses a plain text file to hold 77 77 its list of menu entries. The file is located at 78 78 <filename>/usr/share/info/dir</filename>. Unfortunately, due to occasional … … 82 82 the following optional commands will accomplish the task:</para> 83 83 84 <screen os=" k"><userinput>cd /usr/share/info84 <screen os="l"><userinput>cd /usr/share/info 85 85 rm dir 86 86 for f in * -
BOOK/final-system/common/udev.xml
r82fedc4 re0e40d3 34 34 <title>Installation of Udev</title> 35 35 36 <para os=" c">Compile the package:</para>37 38 <screen ><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen>39 40 <variablelist os=" d">36 <para os="a">Compile the package:</para> 37 38 <screen os="b"><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen> 39 40 <variablelist os="c"> 41 41 <title>The meaning of the make parameter:</title> 42 42 … … 52 52 </variablelist> 53 53 54 <para os=" e">To test the results, issue:54 <para os="d">To test the results, issue: 55 55 <userinput>make test</userinput>.</para> 56 56 57 <para os=" f">Install the package:</para>58 59 <screen os=" g"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>60 61 <variablelist os="g 1">57 <para os="e">Install the package:</para> 58 59 <screen os="f"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen> 60 61 <variablelist os="g"> 62 62 <title>The meaning of the make parameter:</title> 63 63 … … 72 72 73 73 </variablelist> 74 74 75 <para os="h">Udev's configuration is far from ideal by default, so install 75 76 the configuration files here:</para> … … 77 78 <screen os="i"><userinput>cp ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen> 78 79 79 <para os=" a">Install the documentation that explains how to create80 <para os="j">Install the documentation that explains how to create 80 81 Udev rules:</para> 81 82 82 <screen os=" b"><userinput>install -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>83 84 <para os=" j">Run the <command>udevstart</command> program to create our full83 <screen os="k"><userinput>install -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen> 84 85 <para os="l">Run the <command>udevstart</command> program to create our full 85 86 complement of device nodes.</para> 86 87 87 <screen os=" k"><userinput>/sbin/udevstart</userinput></screen>88 <screen os="m"><userinput>/sbin/udevstart</userinput></screen> 88 89 89 90 </sect2> -
BOOK/final-system/common/util-linux.xml
r82fedc4 re0e40d3 51 51 <title>Installation of Util-linux</title> 52 52 53 <para os=" a">Util-linux fails to compile against newer versions of53 <para os="p1">Util-linux fails to compile against newer versions of 54 54 Linux-Libc-Headers. The following patch properly fixes this issue:</para> 55 55 56 <screen os=" b"><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>57 58 <para os=" b1">The following patch fixes build issues with GCC 4.x:</para>59 60 <screen os=" b2"><userinput>patch -Np1 -i ../&util-linux-gcc4_fixes-patch;</userinput></screen>61 62 <para os=" c">Prepare Util-linux for compilation:</para>63 64 <screen ><userinput>./configure</userinput></screen>65 66 <para os=" d">Compile the package:</para>67 68 <screen os=" e"><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen>69 70 <variablelist os=" f">56 <screen os="p2"><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen> 57 58 <para os="p3">The following patch fixes build issues with GCC 4.x:</para> 59 60 <screen os="p4"><userinput>patch -Np1 -i ../&util-linux-gcc4_fixes-patch;</userinput></screen> 61 62 <para os="a">Prepare Util-linux for compilation:</para> 63 64 <screen os="b"><userinput>./configure</userinput></screen> 65 66 <para os="c">Compile the package:</para> 67 68 <screen os="d"><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen> 69 70 <variablelist os="e"> 71 71 <title>The meaning of the make parameters:</title> 72 72 73 <varlistentry os=" fa">73 <varlistentry os="e1"> 74 74 <term><parameter>HAVE_KILL=yes</parameter></term> 75 75 <listitem> … … 79 79 </varlistentry> 80 80 81 <varlistentry os=" fb">81 <varlistentry os="e2"> 82 82 <term><parameter>HAVE_SLN=yes</parameter></term> 83 83 <listitem> … … 90 90 </variablelist> 91 91 92 <para os=" g">This package does not come with a test suite.</para>93 94 <para os=" h">Install the package and move the <command>logger</command> binary92 <para os="f">This package does not come with a test suite.</para> 93 94 <para os="g">Install the package and move the <command>logger</command> binary 95 95 to <filename class="directory">/bin</filename> as it is needed by the 96 96 LFS-Bootscripts package:</para> 97 97 98 <screen os=" i"><userinput>make HAVE_KILL=yes HAVE_SLN=yes install98 <screen os="h"><userinput>make HAVE_KILL=yes HAVE_SLN=yes install 99 99 mv /usr/bin/logger /bin</userinput></screen> 100 100 -
BOOK/final-system/common/vim.xml
r82fedc4 re0e40d3 51 51 <screen os="b"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen> 52 52 53 <para os=" e">Prepare Vim for compilation:</para>54 55 <screen ><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>56 57 <variablelist os=" f">53 <para os="c">Prepare Vim for compilation:</para> 54 55 <screen os="d"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen> 56 57 <variablelist os="e"> 58 58 <title>The meaning of the configure options:</title> 59 59 … … 72 72 </variablelist> 73 73 74 <para os=" g">Compile the package:</para>75 76 <screen os=" h"><userinput>make</userinput></screen>77 78 <para os=" i">To test the results, issue: <userinput>make test</userinput>.74 <para os="f">Compile the package:</para> 75 76 <screen os="g"><userinput>make</userinput></screen> 77 78 <para os="h">To test the results, issue: <userinput>make test</userinput>. 79 79 However, this test suite outputs a lot of binary data to the 80 80 screen, which can cause issues with the settings of the current terminal. 81 81 This can be resolved by redirecting the output to a log file.</para> 82 82 83 <para os=" j">Install the package:</para>84 85 <screen os=" k"><userinput>make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen>86 87 <variablelist os="k 1">83 <para os="i">Install the package:</para> 84 85 <screen os="j"><userinput>make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen> 86 87 <variablelist os="k"> 88 88 <title>The meaning of the make option:</title> 89 89 -
BOOK/final-system/common/zlib.xml
r82fedc4 re0e40d3 45 45 <para os="b">Prepare Zlib for compilation:</para> 46 46 47 <screen ><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>47 <screen os="c"><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen> 48 48 49 <para os=" c">Compile the package:</para>49 <para os="d">Compile the package:</para> 50 50 51 <screen os=" d"><userinput>make</userinput></screen>51 <screen os="e"><userinput>make</userinput></screen> 52 52 53 <para os=" e">To test the results, issue:53 <para os="f">To test the results, issue: 54 54 <userinput>make check</userinput>.</para> 55 55 56 <para os=" f">Install the shared library:</para>56 <para os="g">Install the shared library:</para> 57 57 58 <screen os=" g"><userinput>make install</userinput></screen>58 <screen os="h"><userinput>make install</userinput></screen> 59 59 60 <para os=" h">The previous command installed a <filename60 <para os="i">The previous command installed a <filename 61 61 class="extension">.so</filename> file in <filename 62 62 class="directory">/lib</filename>. We will remove it and relink it into 63 63 <filename class="directory">/usr/lib</filename>:</para> 64 64 65 <screen os=" i"><userinput>rm /lib/libz.so65 <screen os="j"><userinput>rm /lib/libz.so 66 66 ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen> 67 67 68 <para os=" j">Build the static library:</para>68 <para os="k">Build the static library:</para> 69 69 70 <screen ><userinput>make clean70 <screen os="l"><userinput>make clean 71 71 ./configure --prefix=/usr 72 72 make</userinput></screen> 73 73 74 <para os=" k">To test the results again, issue:74 <para os="m">To test the results again, issue: 75 75 <userinput>make check</userinput>.</para> 76 76 77 <para os=" l">Install the static library:</para>77 <para os="n">Install the static library:</para> 78 78 79 <screen os=" m"><userinput>make install</userinput></screen>79 <screen os="o"><userinput>make install</userinput></screen> 80 80 81 <para os=" n">Fix the permissions on the static library:</para>81 <para os="p">Fix the permissions on the static library:</para> 82 82 83 <screen os=" o"><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>83 <screen os="q"><userinput>chmod 644 /usr/lib/libz.a</userinput></screen> 84 84 85 85 </sect2> -
BOOK/final-system/mips/flex.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Flex</title> 23 23 24 <para os=" ba">This patch updates <filename>config.guess</filename> and24 <para os="p1">This patch updates <filename>config.guess</filename> and 25 25 <filename>config.sub</filename> for MIPS processors.</para> 26 26 27 <screen os=" bb"><userinput>patch -Np1 -i ../&flex-mips_update-patch;</userinput></screen>27 <screen os="p2"><userinput>patch -Np1 -i ../&flex-mips_update-patch;</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 83 83 xpointer="xpointer(//*[@os='n'])"/> 84 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/flex.xml" 87 xpointer="xpointer(//*[@os='o'])"/> 88 85 89 </sect2> 86 90 -
BOOK/final-system/mips/grep.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Grep</title> 23 23 24 <para os=" ba">This patch updates <filename>config.guess</filename> and24 <para os="p1">This patch updates <filename>config.guess</filename> and 25 25 <filename>config.sub</filename> for MIPS processors.</para> 26 26 27 <screen os=" bb"><userinput>patch -Np1 -i ../&grep-mips_update-patch;</userinput></screen>27 <screen os="p2"><userinput>patch -Np1 -i ../&grep-mips_update-patch;</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/mips/make.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Make</title> 23 23 24 <para os=" m1">This patch updates <filename>config.guess</filename> and24 <para os="p1">This patch updates <filename>config.guess</filename> and 25 25 <filename>config.sub</filename> for MIPS processors.</para> 26 26 27 <screen os=" m2"><userinput>patch -Np1 -i ../&make-mips_update-patch;</userinput></screen>27 <screen os="p2"><userinput>patch -Np1 -i ../&make-mips_update-patch;</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/mips/mktemp.xml
r82fedc4 re0e40d3 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <para os=" m1">This patch updates <filename>config.guess</filename> and32 <para os="p1">This patch updates <filename>config.guess</filename> and 33 33 <filename>config.sub</filename> for MIPS processors.</para> 34 34 35 <screen os=" m2"><userinput>patch -Np1 -i ../&mktemp-mips_update-patch;</userinput></screen>35 <screen os="p2"><userinput>patch -Np1 -i ../&mktemp-mips_update-patch;</userinput></screen> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../common/mktemp.xml" 39 39 xpointer="xpointer(//*[@os='c'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"42 href="../common/mktemp.xml"43 xpointer="xpointer(//*[@os='c1'])"/>44 40 45 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 63 59 xpointer="xpointer(//*[@os='h'])"/> 64 60 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 href="../common/mktemp.xml" 63 xpointer="xpointer(//*[@os='i'])"/> 64 65 65 </sect2> 66 66 -
BOOK/final-system/mips/module-init-tools.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Module-Init-Tools</title> 23 23 24 <para os=" m1">This patch updates <filename>config.guess</filename> and24 <para os="p1">This patch updates <filename>config.guess</filename> and 25 25 <filename>config.sub</filename> for MIPS processors.</para> 26 26 27 <screen os=" m2"><userinput>patch -Np1 -i ../&module-init-tools-mips_update-patch;</userinput></screen>27 <screen os="p2"><userinput>patch -Np1 -i ../&module-init-tools-mips_update-patch;</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../common/module-init-tools.xml" 39 xpointer="xpointer(//*[@os='g'])"/>40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"42 href="../common/module-init-tools.xml"43 xpointer="xpointer(//*[@os='g1'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"46 href="../common/module-init-tools.xml"47 39 xpointer="xpointer(//*[@os='c'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"50 href="../common/module-init-tools.xml"51 xpointer="xpointer(//*[@os='c1'])"/>52 40 53 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 65 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 54 href="../common/module-init-tools.xml" 55 xpointer="xpointer(//*[@os='g'])"/> 56 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../common/module-init-tools.xml" 67 59 xpointer="xpointer(//*[@os='h'])"/> 68 60 … … 70 62 href="../common/module-init-tools.xml" 71 63 xpointer="xpointer(//*[@os='i'])"/> 64 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/module-init-tools.xml" 67 xpointer="xpointer(//*[@os='j'])"/> 68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../common/module-init-tools.xml" 71 xpointer="xpointer(//*[@os='k'])"/> 72 72 73 73 </sect2> -
BOOK/final-system/mips64-64-chapter.xml
r82fedc4 re0e40d3 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/automake.xml"/> 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bash.xml"/> 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips 64-64/file.xml"/>42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/file.xml"/> 43 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/> 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bzip2.xml"/> … … 51 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/> 52 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/make.xml"/> 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64 -64/module-init-tools.xml"/>53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/module-init-tools.xml"/> 54 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/> … … 61 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/util-linux.xml"/> 62 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/udev.xml"/> 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips 64/mktemp.xml"/>63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/mktemp.xml"/> 64 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/hotplug.xml"/> 65 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/colo.xml"/> -
BOOK/final-system/mips64-64/make.xml
r82fedc4 re0e40d3 34 34 xpointer="xpointer(//*[@os='a'])"/> 35 35 36 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../multilib/make.xml" 38 xpointer="xpointer(//*[@os='b'])"/> 37 39 38 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/mips64-chapter.xml
r82fedc4 re0e40d3 74 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/> 75 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/procps.xml"/> 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m ips64/procps-n32.xml"/>76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/procps-n32.xml"/> 77 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/procps-64bit.xml"/> 78 78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/psmisc.xml"/> -
BOOK/final-system/mips64/file-64bit.xml
r82fedc4 re0e40d3 35 35 xpointer="xpointer(//*[@os='a'])"/> 36 36 37 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \37 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 38 38 --libdir=/usr/lib64</userinput></screen> 39 39 -
BOOK/final-system/mips64/file-n32.xml
r82fedc4 re0e40d3 35 35 xpointer="xpointer(//*[@os='a'])"/> 36 36 37 <screen ><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \37 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ 38 38 --libdir=/usr/lib32</userinput></screen> 39 39 -
BOOK/final-system/mips64/file.xml
r82fedc4 re0e40d3 35 35 xpointer="xpointer(//*[@os='a'])"/> 36 36 37 <screen ><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>37 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen> 38 38 39 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/mips64/flex-64bit.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="flex.xml" 26 xpointer="xpointer(//*[@os=' ba'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="flex.xml" 30 xpointer="xpointer(//*[@os=' bb'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 52 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 53 href="../multilib/flex-64bit.xml" 54 xpointer="xpointer(//*[@os=' m4'])"/>54 xpointer="xpointer(//*[@os='f'])"/> 55 55 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 57 href="flex.xml" 58 xpointer="xpointer(//*[@os=' f'])"/>58 xpointer="xpointer(//*[@os='g'])"/> 59 59 60 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 61 href="../common/flex.xml" 62 xpointer="xpointer(//*[@os='g'])"/>63 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"65 href="../multilib/flex-64bit.xml"66 62 xpointer="xpointer(//*[@os='h'])"/> 67 63 … … 71 67 72 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 href=" ../multilib/flex-64bit.xml"69 href="flex.xml" 74 70 xpointer="xpointer(//*[@os='j'])"/> 75 71 76 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="../multilib/flex-64bit.xml" 78 xpointer="xpointer(//*[@os='j'])"/> 79 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="../multilib/flex-64bit.xml" 73 href="flex.xml" 82 74 xpointer="xpointer(//*[@os='k'])"/> 83 75 … … 87 79 88 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../ common/flex.xml"81 href="../multilib/flex-64bit.xml" 90 82 xpointer="xpointer(//*[@os='m'])"/> 91 83 … … 93 85 href="../common/flex.xml" 94 86 xpointer="xpointer(//*[@os='n'])"/> 87 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../common/flex.xml" 90 xpointer="xpointer(//*[@os='o'])"/> 95 91 96 92 </sect2> -
BOOK/final-system/mips64/flex-n32.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="flex.xml" 26 xpointer="xpointer(//*[@os=' ba'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="flex.xml" 30 xpointer="xpointer(//*[@os=' bb'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 50 50 xpointer="xpointer(//*[@os='e'])"/> 51 51 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="flex.xml" 54 xpointer="xpointer(//*[@os='f'])"/> 55 56 <screen><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ 52 <screen os="f"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ 57 53 --libdir=/usr/lib32</userinput></screen> 58 54 59 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 56 href="flex.xml" 61 xpointer="xpointer(//*[@os=' i'])"/>57 xpointer="xpointer(//*[@os='g'])"/> 62 58 63 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 60 href="flex.xml" 65 xpointer="xpointer(//*[@os=' m2'])"/>61 xpointer="xpointer(//*[@os='h'])"/> 66 62 67 <para>There are some packages that expect to find the 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 href="flex.xml" 65 xpointer="xpointer(//*[@os='j'])"/> 66 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 68 href="flex.xml" 69 xpointer="xpointer(//*[@os='k'])"/> 70 71 <para os="l">There are some packages that expect to find the 68 72 <filename class="libraryfile">lex</filename> library in <filename 69 73 class="directory">/usr/lib32</filename>. Create a symlink to account for 70 74 this:</para> 71 75 72 <screen ><userinput>ln -s libfl.a /usr/lib32/libl.a</userinput></screen>76 <screen os="m"><userinput>ln -s libfl.a /usr/lib32/libl.a</userinput></screen> 73 77 74 78 </sect2> -
BOOK/final-system/mips64/flex.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../mips/flex.xml" 26 xpointer="xpointer(//*[@os=' ba'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../mips/flex.xml" 30 xpointer="xpointer(//*[@os=' bb'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 51 51 52 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../ common/flex.xml"53 href="../multilib/flex.xml" 54 54 xpointer="xpointer(//*[@os='f'])"/> 55 55 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/flex.xml" 58 xpointer="xpointer(//*[@os='g'])"/> 59 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 61 href="../multilib/flex.xml" 58 xpointer="xpointer(//*[@os=' m1'])"/>62 xpointer="xpointer(//*[@os='h'])"/> 59 63 60 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 65 href="../common/flex.xml" 62 xpointer="xpointer(//*[@os='i'])"/> 63 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../multilib/flex.xml" 66 xpointer="xpointer(//*[@os='m2'])"/> 66 xpointer="xpointer(//*[@os='j'])"/> 67 67 68 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 73 73 href="../common/flex.xml" 74 74 xpointer="xpointer(//*[@os='l'])"/> 75 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="../common/flex.xml" 78 xpointer="xpointer(//*[@os='m'])"/> 75 79 76 80 </sect2> -
BOOK/final-system/mips64/grep.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../mips/grep.xml" 26 xpointer="xpointer(//*[@os=' ba'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../mips/grep.xml" 30 xpointer="xpointer(//*[@os=' bb'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 37 href="../multilib/grep.xml" 38 xpointer="xpointer(//*[@os=' aa'])"/>38 xpointer="xpointer(//*[@os='b'])"/> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/mips64/make.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../mips/make.xml" 26 xpointer="xpointer(//*[@os=' m1'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../mips/make.xml" 30 xpointer="xpointer(//*[@os=' m2'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 34 34 xpointer="xpointer(//*[@os='a'])"/> 35 35 36 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../multilib/make.xml" 38 xpointer="xpointer(//*[@os='b'])"/> 37 39 38 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/mips64/mktemp.xml
r82fedc4 re0e40d3 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="../mips/mktemp.xml" 34 xpointer="xpointer(//*[@os=' m1'])"/>34 xpointer="xpointer(//*[@os='p1'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 37 href="../mips/mktemp.xml" 38 xpointer="xpointer(//*[@os=' m2'])"/>38 xpointer="xpointer(//*[@os='p2'])"/> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/mktemp.xml" 46 xpointer="xpointer(//*[@os='c1'])"/> 47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/mktemp.xml" 50 xpointer="xpointer(//*[@os='c1'])"/> 45 href="../multilib/mktemp.xml" 46 xpointer="xpointer(//*[@os='d'])"/> 51 47 52 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 70 66 xpointer="xpointer(//*[@os='h'])"/> 71 67 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../common/mktemp.xml" 70 xpointer="xpointer(//*[@os='i'])"/> 71 72 72 </sect2> 73 73 -
BOOK/final-system/mips64/module-init-tools.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../mips/module-init-tools.xml" 26 xpointer="xpointer(//*[@os=' m1'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../mips/module-init-tools.xml" 30 xpointer="xpointer(//*[@os=' m2'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 41 href="../common/module-init-tools.xml" 42 xpointer="xpointer(//*[@os='g'])"/>43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"45 href="../multilib/module-init-tools.xml"46 xpointer="xpointer(//*[@os='g1'])"/>47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"49 href="../common/module-init-tools.xml"50 42 xpointer="xpointer(//*[@os='c'])"/> 51 43 52 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 45 href="../multilib/module-init-tools.xml" 54 xpointer="xpointer(//*[@os='c1'])"/>55 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"57 href="../common/module-init-tools.xml"58 46 xpointer="xpointer(//*[@os='d'])"/> 59 47 … … 63 51 64 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../ common/module-init-tools.xml"53 href="../multilib/module-init-tools.xml" 66 54 xpointer="xpointer(//*[@os='f'])"/> 67 55 … … 78 66 xpointer="xpointer(//*[@os='i'])"/> 79 67 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../common/module-init-tools.xml" 70 xpointer="xpointer(//*[@os='j'])"/> 71 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 href="../common/module-init-tools.xml" 74 xpointer="xpointer(//*[@os='k'])"/> 75 80 76 </sect2> 81 77 -
BOOK/final-system/mips64/util-linux.xml
r82fedc4 re0e40d3 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/util-linux.xml" 30 xpointer="xpointer(//*[@os='p1'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/util-linux.xml" 34 xpointer="xpointer(//*[@os='p2'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/util-linux.xml" 38 xpointer="xpointer(//*[@os='p3'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/util-linux.xml" 42 xpointer="xpointer(//*[@os='p4'])"/> 43 44 <para os="p5">Util-linux has a compilation error when built using 64bit 45 and a MIPS processor. The follow patch addresses this error:</para> 46 47 <screen os="p6"><userinput>patch -Np1 -i ../&util-linux-mips64-patch;</userinput></screen> 48 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../common/util-linux.xml" 30 51 xpointer="xpointer(//*[@os='a'])"/> 31 52 32 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/util-linux.xml" 34 xpointer="xpointer(//*[@os='b1'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/util-linux.xml" 38 xpointer="xpointer(//*[@os='b2'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/util-linux.xml" 54 href="../multilib/util-linux.xml" 42 55 xpointer="xpointer(//*[@os='b'])"/> 43 44 <para os="aa">Util-linux has a compilation error when built using 64bit45 and a MIPS processor. The follow patch addresses this error:</para>46 47 <screen os="ab"><userinput>patch -Np1 -i ../&util-linux-mips64-patch;</userinput></screen>48 56 49 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 58 href="../common/util-linux.xml" 51 59 xpointer="xpointer(//*[@os='c'])"/> 52 53 <screen><userinput>CC="gcc ${BUILD64}" ./configure</userinput></screen>54 60 55 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 60 66 href="../common/util-linux.xml" 61 67 xpointer="xpointer(//*[@os='e'])"/> 68 62 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 63 70 href="../common/util-linux.xml" … … 72 79 xpointer="xpointer(//*[@os='h'])"/> 73 80 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"75 href="../common/util-linux.xml"76 xpointer="xpointer(//*[@os='i'])"/>77 78 81 </sect2> 79 82 -
BOOK/final-system/multilib/autoconf.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 29 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/autoconf.xml" 32 xpointer="xpointer(//*[@os='b'])"/> 28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 33 29 34 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 48 44 xpointer="xpointer(//*[@os='f'])"/> 49 45 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 href="../common/autoconf.xml" 48 xpointer="xpointer(//*[@os='g'])"/> 49 50 50 </sect2> 51 51 -
BOOK/final-system/multilib/automake.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 29 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/autoconf.xml" 32 xpointer="xpointer(//*[@os='b'])"/> 28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 33 29 34 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 48 44 xpointer="xpointer(//*[@os='f'])"/> 49 45 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 href="../common/autoconf.xml" 48 xpointer="xpointer(//*[@os='g'])"/> 49 50 50 </sect2> 51 51 -
BOOK/final-system/multilib/bash.xml
r82fedc4 re0e40d3 50 50 xpointer="xpointer(//*[@os='g'])"/> 51 51 52 <screen ><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \52 <screen os="h"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 53 53 ./configure --prefix=/usr --bindir=/bin \ 54 54 --without-bash-malloc --with-installed-readline</userinput></screen> 55 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"57 href="../common/bash.xml"58 xpointer="xpointer(//*[@os='h'])"/>59 55 60 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 90 86 xpointer="xpointer(//*[@os='p'])"/> 91 87 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../common/bash.xml" 90 xpointer="xpointer(//*[@os='q'])"/> 91 92 92 </sect2> 93 93 -
BOOK/final-system/multilib/bison.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Bison</title> 23 23 24 <para>Prepare Bison for compilation:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/bison.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 25 27 26 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 27 29 28 <para>Compile the package:</para> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/bison.xml" 32 xpointer="xpointer(//*[@os='c'])"/> 29 33 30 <screen><userinput>make</userinput></screen> 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../common/bison.xml" 36 xpointer="xpointer(//*[@os='d'])"/> 31 37 32 <para>To test the results, issue: 33 <userinput>make check</userinput>.</para> 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/bison.xml" 40 xpointer="xpointer(//*[@os='e'])"/> 34 41 35 <para>Install the package:</para> 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../common/bison.xml" 44 xpointer="xpointer(//*[@os='f'])"/> 36 45 37 <screen><userinput>make install</userinput></screen> 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 href="../common/bison.xml" 48 xpointer="xpointer(//*[@os='g'])"/> 38 49 39 50 </sect2> -
BOOK/final-system/multilib/bzip2-64bit.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/bzip2.xml" 26 xpointer="xpointer(//*[@os=' j'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/bzip2.xml" 30 xpointer="xpointer(//*[@os=' k'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="bzip2.xml" 34 xpointer="xpointer(//*[@os=' l'])"/>34 xpointer="xpointer(//*[@os='p3'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 37 href="bzip2.xml" 38 xpointer="xpointer(//*[@os=' m'])"/>38 xpointer="xpointer(//*[@os='p4'])"/> 39 39 40 <para os=" ba">We need to remove the tests since they won't work on40 <para os="m1">We need to remove the tests since they won't work on 41 41 a multi-architecture build, and tell change the default lib path 42 42 to <filename class="directory">lib64</filename>:</para> 43 43 44 <screen os=" bb"><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \44 <screen os="m2"><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \ 45 45 -e 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile</userinput></screen> 46 46 … … 49 49 xpointer="xpointer(//*[@os='a'])"/> 50 50 51 <screen ><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"51 <screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" 52 52 make clean</userinput></screen> 53 53 … … 56 56 xpointer="xpointer(//*[@os='c'])"/> 57 57 58 <screen ><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"</userinput></screen>58 <screen os="d"><userinput>make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"</userinput></screen> 59 59 60 <para >Now we remove the 32 bit versions of the programs so we60 <para os="m3">Now we remove the 32 bit versions of the programs so we 61 61 can install the 64 bit versions.</para> 62 62 63 <screen><userinput>rm -f /usr/bin/bz* /bin/bz*</userinput></screen> 63 <screen os="m4"><userinput>rm -f /usr/bin/bz* /bin/bz*</userinput></screen> 64 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="bzip2.xml" 67 xpointer="xpointer(//*[@os='e'])"/> 64 68 65 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 75 79 xpointer="xpointer(//*[@os='h'])"/> 76 80 77 <screen><userinput>cp bzip2-shared /bin/bzip2 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="bzip2.xml" 83 xpointer="xpointer(//*[@os='i'])"/> 84 85 <screen os="j"><userinput>cp bzip2-shared /bin/bzip2 78 86 cp -a libbz2.so* /lib64 79 87 ln -s ../../lib64/libbz2.so.1.0 /usr/lib64/libbz2.so -
BOOK/final-system/multilib/bzip2-n32.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="bzip2.xml" 27 xpointer="xpointer(//*[@os=' l'])"/>27 xpointer="xpointer(//*[@os='p3'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="bzip2.xml" 31 xpointer="xpointer(//*[@os=' m'])"/>31 xpointer="xpointer(//*[@os='p4'])"/> 32 32 33 <para >We need to remove the tests since they won't work on33 <para os="m1">We need to remove the tests since they won't work on 34 34 a multi-architecture build, and tell change the default lib path 35 35 to <filename class="directory">lib32</filename>:</para> 36 36 37 <screen ><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \37 <screen os="m2"><userinput>sed -i -e 's@^\(all:.*\) test@\1@g' \ 38 38 -e 's@/lib\(/\| \|$\)@/lib32\1@g' Makefile</userinput></screen> 39 39 … … 42 42 xpointer="xpointer(//*[@os='a'])"/> 43 43 44 <screen ><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"44 <screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" 45 45 make clean</userinput></screen> 46 46 … … 49 49 xpointer="xpointer(//*[@os='c'])"/> 50 50 51 <screen ><userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"</userinput></screen>51 <screen os="d"><userinput>make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"</userinput></screen> 52 52 53 <para >Now we remove the 32 bit versions of the programs so we53 <para os="m3">Now we remove the 32 bit versions of the programs so we 54 54 can install the n32 bit versions.</para> 55 55 56 <screen><userinput>rm -f /usr/bin/bz* /bin/bz*</userinput></screen> 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="bzip2-64bit.xml" 58 xpointer="xpointer(//*[@os='m4'])"/> 59 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 href="bzip2.xml" 62 xpointer="xpointer(//*[@os='e'])"/> 57 63 58 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 68 74 xpointer="xpointer(//*[@os='h'])"/> 69 75 70 <screen><userinput>cp bzip2-shared /bin/bzip2 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="bzip2.xml" 78 xpointer="xpointer(//*[@os='i'])"/> 79 80 <screen os="j"><userinput>cp bzip2-shared /bin/bzip2 71 81 cp -a libbz2.so* /lib32 72 82 ln -s ../../lib32/libbz2.so.1.0 /usr/lib32/libbz2.so -
BOOK/final-system/multilib/bzip2.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../common/bzip2.xml" 27 xpointer="xpointer(//*[@os=' l'])"/>27 xpointer="xpointer(//*[@os='p3'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../common/bzip2.xml" 31 xpointer="xpointer(//*[@os=' m'])"/>31 xpointer="xpointer(//*[@os='p4'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 35 35 xpointer="xpointer(//*[@os='a'])"/> 36 36 37 <screen ><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}"37 <screen os="b"><userinput>make -f Makefile-libbz2_so CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" 38 38 make clean</userinput></screen> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"41 href="../common/bzip2.xml"42 xpointer="xpointer(//*[@os='b'])"/>43 39 44 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 46 42 xpointer="xpointer(//*[@os='c'])"/> 47 43 48 <screen><userinput>make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}"</userinput></screen>49 50 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 51 45 href="../common/bzip2.xml" 52 xpointer="xpointer(//*[@os='e'])"/> 46 xpointer="xpointer(//*[@os='d'])"/> 47 48 <screen os="e"><userinput>make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}"</userinput></screen> 53 49 54 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 68 64 xpointer="xpointer(//*[@os='i'])"/> 69 65 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../common/bzip2.xml" 68 xpointer="xpointer(//*[@os='j'])"/> 69 70 70 </sect2> 71 71 -
BOOK/final-system/multilib/diffutils.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Diffutils</title> 23 23 24 <para>Prepare Diffutils for compilation:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/diffutils.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 25 27 26 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 27 29 28 <para>Compile the package:</para> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/diffutils.xml" 32 xpointer="xpointer(//*[@os='c'])"/> 29 33 30 <screen><userinput>make</userinput></screen> 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../common/diffutils.xml" 36 xpointer="xpointer(//*[@os='d'])"/> 31 37 32 <para>This package does not come with a test suite.</para> 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/diffutils.xml" 40 xpointer="xpointer(//*[@os='e'])"/> 33 41 34 <para>Install the package:</para> 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../common/diffutils.xml" 44 xpointer="xpointer(//*[@os='f'])"/> 35 45 36 <screen><userinput>make install</userinput></screen> 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 href="../common/diffutils.xml" 48 xpointer="xpointer(//*[@os='g'])"/> 37 49 38 50 </sect2> -
BOOK/final-system/multilib/e2fsprogs-64bit.xml
r82fedc4 re0e40d3 22 22 <title>Installation of E2fsprogs</title> 23 23 24 <para >Change the library directory to <filename24 <para os="m3">Change the library directory to <filename 25 25 class="directory">lib64</filename>:</para> 26 26 27 <screen ><userinput>sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' configure</userinput></screen>27 <screen os="m4"><userinput>sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' configure</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 39 39 xpointer="xpointer(//*[@os='c'])"/> 40 40 41 <screen ><userinput>CC="gcc ${BUILD64}" ../configure --prefix=/usr \41 <screen os="d"><userinput>CC="gcc ${BUILD64}" ../configure --prefix=/usr \ 42 42 --with-root-prefix="" --enable-elf-shlibs --disable-evms</userinput></screen> 43 43 … … 50 50 xpointer="xpointer(//*[@os='e'])"/> 51 51 52 <screen><userinput>make CC="gcc ${BUILD64}"</userinput></screen> 53 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 55 href="../common/e2fsprogs.xml" 56 xpointer="xpointer(//*[@os='g'])"/> 52 <screen os="g"><userinput>make CC="gcc ${BUILD64}"</userinput></screen> 57 53 58 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 65 61 66 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href=" e2fsprogs.xml"63 href="../common/e2fsprogs.xml" 68 64 xpointer="xpointer(//*[@os='j'])"/> 69 65 … … 71 67 href="e2fsprogs.xml" 72 68 xpointer="xpointer(//*[@os='k'])"/> 69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 71 href="e2fsprogs.xml" 72 xpointer="xpointer(//*[@os='l'])"/> 73 73 74 74 </sect2> -
BOOK/final-system/multilib/e2fsprogs-n32.xml
r82fedc4 re0e40d3 23 23 <title>Installation of E2fsprogs</title> 24 24 25 <para >Change the library directory to <filename25 <para os="m3">Change the library directory to <filename 26 26 class="directory">lib32</filename>:</para> 27 27 28 <screen ><userinput>sed -i '/libdir=.*\/lib/s@/lib@/lib32@g' configure</userinput></screen>28 <screen os="m4"><userinput>sed -i '/libdir=.*\/lib/s@/lib@/lib32@g' configure</userinput></screen> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 40 40 xpointer="xpointer(//*[@os='c'])"/> 41 41 42 <screen ><userinput>CC="gcc ${BUILDN32}" ../configure --prefix=/usr \42 <screen os="d"><userinput>CC="gcc ${BUILDN32}" ../configure --prefix=/usr \ 43 43 --with-root-prefix="" --enable-elf-shlibs --disable-evms</userinput></screen> 44 44 … … 47 47 xpointer="xpointer(//*[@os='d'])"/> 48 48 49 <para>Compile the libraries:</para>50 51 <screen><userinput>make CC="gcc ${BUILDN32}" libs</userinput></screen>52 53 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 50 href="e2fsprogs.xml" 55 xpointer="xpointer(//*[@os='j'])"/> 51 xpointer="xpointer(//*[@os='m1'])"/> 52 53 <screen os="m2"><userinput>make CC="gcc ${BUILDN32}" libs</userinput></screen> 56 54 57 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 56 href="e2fsprogs.xml" 59 57 xpointer="xpointer(//*[@os='k'])"/> 58 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="e2fsprogs.xml" 61 xpointer="xpointer(//*[@os='l'])"/> 60 62 61 63 </sect2> -
BOOK/final-system/multilib/e2fsprogs.xml
r82fedc4 re0e40d3 35 35 xpointer="xpointer(//*[@os='c'])"/> 36 36 37 <screen ><userinput>CC="gcc ${BUILD32}" ../configure --prefix=/usr \37 <screen os="d"><userinput>CC="gcc ${BUILD32}" ../configure --prefix=/usr \ 38 38 --with-root-prefix="" --enable-elf-shlibs --disable-evms</userinput></screen> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 41 href="../common/e2fsprogs.xml" 42 xpointer="xpointer(//*[@os=' d'])"/>42 xpointer="xpointer(//*[@os='e'])"/> 43 43 44 <para >Compile the libraries:</para>44 <para os="m1">Compile the libraries:</para> 45 45 46 <screen><userinput>make libs</userinput></screen> 47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/e2fsprogs.xml" 50 xpointer="xpointer(//*[@os='j'])"/> 46 <screen os="m2"><userinput>make CC="gcc ${BUILD32}" libs</userinput></screen> 51 47 52 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 49 href="../common/e2fsprogs.xml" 54 50 xpointer="xpointer(//*[@os='k'])"/> 51 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../common/e2fsprogs.xml" 54 xpointer="xpointer(//*[@os='l'])"/> 55 55 56 56 </sect2> -
BOOK/final-system/multilib/file-64bit.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 29 --libdir=/usr/lib64</userinput></screen> 30 30 -
BOOK/final-system/multilib/file.xml
r82fedc4 re0e40d3 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen ><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen> 30 30 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/findutils.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 29 --libexecdir=/usr/lib64/locate --localstatedir=/var/lib64/locate</userinput></screen> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"32 href="../common/findutils.xml"33 xpointer="xpointer(//*[@os='b'])"/>34 30 35 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 52 48 href="../common/findutils.xml" 53 49 xpointer="xpointer(//*[@os='g'])"/> 50 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 52 href="../common/findutils.xml" 53 xpointer="xpointer(//*[@os='h'])"/> 54 54 55 55 </sect2> -
BOOK/final-system/multilib/flex-64bit.xml
r82fedc4 re0e40d3 42 42 xpointer="xpointer(//*[@os='e'])"/> 43 43 44 <screen os=" m4"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \44 <screen os="f"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 45 45 --libdir=/usr/lib64</userinput></screen> 46 46 47 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 48 href="flex.xml" 49 xpointer="xpointer(//*[@os=' f'])"/>49 xpointer="xpointer(//*[@os='g'])"/> 50 50 51 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 52 52 href="../common/flex.xml" 53 xpointer="xpointer(//*[@os='g'])"/>54 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"56 href="flex.xml"57 53 xpointer="xpointer(//*[@os='h'])"/> 58 54 59 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href=" flex.xml"56 href="../common/flex.xml" 61 57 xpointer="xpointer(//*[@os='i'])"/> 62 58 … … 65 61 xpointer="xpointer(//*[@os='j'])"/> 66 62 67 <para os="k">There are some packages that expect to find the 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 href="flex.xml" 65 xpointer="xpointer(//*[@os='k'])"/> 66 67 <para os="l">There are some packages that expect to find the 68 68 <filename class="libraryfile">lex</filename> library in <filename 69 69 class="directory">/usr/lib64</filename>. Create a symlink to account for 70 70 this:</para> 71 71 72 <screen os="l"><userinput>ln -s libfl.a /usr/lib64/libl.a</userinput></screen> 73 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 href="../common/flex.xml" 76 xpointer="xpointer(//*[@os='m'])"/> 72 <screen os="m"><userinput>ln -s libfl.a /usr/lib64/libl.a</userinput></screen> 77 73 78 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 79 75 href="../common/flex.xml" 80 76 xpointer="xpointer(//*[@os='n'])"/> 77 78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 79 href="../common/flex.xml" 80 xpointer="xpointer(//*[@os='o'])"/> 81 81 82 82 </sect2> -
BOOK/final-system/multilib/flex.xml
r82fedc4 re0e40d3 43 43 xpointer="xpointer(//*[@os='e'])"/> 44 44 45 <screen os=" m1"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>45 <screen os="f"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen> 46 46 47 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 48 href="../common/flex.xml" 49 xpointer="xpointer(//*[@os=' f'])"/>49 xpointer="xpointer(//*[@os='g'])"/> 50 50 51 <screen os="m2"><userinput>make libfl.a</userinput></screen> 52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="../common/flex.xml" 55 xpointer="xpointer(//*[@os='h'])"/> 56 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../common/flex.xml" 59 xpointer="xpointer(//*[@os='i'])"/> 51 <screen os="h"><userinput>make libfl.a</userinput></screen> 60 52 61 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 71 63 xpointer="xpointer(//*[@os='l'])"/> 72 64 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/flex.xml" 67 xpointer="xpointer(//*[@os='m'])"/> 68 73 69 </sect2> 74 70 -
BOOK/final-system/multilib/gawk.xml
r82fedc4 re0e40d3 34 34 xpointer="xpointer(//*[@os='c'])"/> 35 35 36 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \36 <screen os="d"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 37 37 --libexecdir=/usr/lib64</userinput></screen> 38 38 -
BOOK/final-system/multilib/gettext-64bit.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Gettext</title> 23 23 24 <para>Prepare Gettext for compilation:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/gettext.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 25 27 26 <screen ><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 27 29 ./configure --prefix=/usr --libdir=/usr/lib64</userinput></screen> 28 30 29 <para>Compile the package:</para> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 href="../common/gettext.xml" 33 xpointer="xpointer(//*[@os='c'])"/> 30 34 31 <screen><userinput>make</userinput></screen> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../common/gettext.xml" 37 xpointer="xpointer(//*[@os='d'])"/> 32 38 33 <para>To test the results, issue: <userinput>make check</userinput>.</para> 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 href="../common/gettext.xml" 41 xpointer="xpointer(//*[@os='e'])"/> 34 42 35 <para>Install the package:</para> 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 44 href="../common/gettext.xml" 45 xpointer="xpointer(//*[@os='f'])"/> 36 46 37 <screen><userinput>make install</userinput></screen> 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 href="../common/gettext.xml" 49 xpointer="xpointer(//*[@os='g'])"/> 38 50 39 51 </sect2> -
BOOK/final-system/multilib/gettext-n32.xml
r82fedc4 re0e40d3 23 23 <title>Installation of Gettext</title> 24 24 25 <para>Prepare Gettext for compilation:</para> 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../common/gettext.xml" 27 xpointer="xpointer(//*[@os='a'])"/> 26 28 27 <screen ><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \29 <screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 28 30 ./configure --prefix=/usr --libdir=/usr/lib32</userinput></screen> 29 31 30 <para>Compile the package:</para> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/gettext.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 31 35 32 <screen><userinput>make</userinput></screen> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/gettext.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 33 39 34 <para>To test the results, issue: <userinput>make check</userinput>.</para> 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/gettext.xml" 42 xpointer="xpointer(//*[@os='e'])"/> 35 43 36 <para>Install the package:</para> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/gettext.xml" 46 xpointer="xpointer(//*[@os='f'])"/> 37 47 38 <screen><userinput>make install</userinput></screen> 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/gettext.xml" 50 xpointer="xpointer(//*[@os='g'])"/> 39 51 40 52 </sect2> -
BOOK/final-system/multilib/gettext.xml
r82fedc4 re0e40d3 23 23 <title>Installation of Gettext</title> 24 24 25 <para>Prepare Gettext for compilation:</para> 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../common/gettext.xml" 27 xpointer="xpointer(//*[@os='a'])"/> 26 28 27 <screen ><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \29 <screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 28 30 ./configure --prefix=/usr</userinput></screen> 29 31 30 <para>Compile the package:</para> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/gettext.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 31 35 32 <screen><userinput>make</userinput></screen> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/gettext.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 33 39 34 <para>To test the results, issue: <userinput>make check</userinput>.</para> 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/gettext.xml" 42 xpointer="xpointer(//*[@os='e'])"/> 35 43 36 <para>Install the package:</para> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/gettext.xml" 46 xpointer="xpointer(//*[@os='f'])"/> 37 47 38 <screen><userinput>make install</userinput></screen> 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/gettext.xml" 50 xpointer="xpointer(//*[@os='g'])"/> 39 51 40 52 </sect2> -
BOOK/final-system/multilib/grep.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen os=" aa"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 29 --bindir=/bin</userinput></screen> 30 30 -
BOOK/final-system/multilib/groff.xml
r82fedc4 re0e40d3 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <screen ><userinput>PAGE=<replaceable>[paper_size]</replaceable> CC="gcc ${BUILD64}" \32 <screen os="c"><userinput>PAGE=<replaceable>[paper_size]</replaceable> CC="gcc ${BUILD64}" \ 33 33 CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64</userinput></screen> 34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"36 href="../common/groff.xml"37 xpointer="xpointer(//*[@os='c'])"/>38 34 39 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 57 53 xpointer="xpointer(//*[@os='h'])"/> 58 54 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 href="../common/groff.xml" 57 xpointer="xpointer(//*[@os='i'])"/> 58 59 59 </sect2> 60 60 -
BOOK/final-system/multilib/gzip.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/gzip.xml" 26 xpointer="xpointer(//*[@os=' a'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/gzip.xml" 30 xpointer="xpointer(//*[@os='b'])"/> 30 xpointer="xpointer(//*[@os='p2'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/gzip.xml" 34 xpointer="xpointer(//*[@os='a'])"/> 35 36 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 31 37 32 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 39 href="../common/gzip.xml" 34 40 xpointer="xpointer(//*[@os='c'])"/> 35 36 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>37 41 38 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 64 68 xpointer="xpointer(//*[@os='j'])"/> 65 69 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"67 href="../common/gzip.xml"68 xpointer="xpointer(//*[@os='k'])"/>69 70 70 </sect2> 71 71 -
BOOK/final-system/multilib/inetutils.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/inetutils.xml" 26 xpointer="xpointer(//*[@os=' a'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/inetutils.xml" 30 xpointer="xpointer(//*[@os=' b'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="../common/inetutils.xml" 34 xpointer="xpointer(//*[@os=' b1'])"/>34 xpointer="xpointer(//*[@os='p3'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 37 href="../common/inetutils.xml" 38 xpointer="xpointer(//*[@os='b2'])"/> 38 xpointer="xpointer(//*[@os='p4'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/inetutils.xml" 42 xpointer="xpointer(//*[@os='a'])"/> 43 44 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --libexecdir=/usr/sbin \ 45 --sysconfdir=/etc --localstatedir=/var \ 46 --disable-logger --disable-syslogd \ 47 --disable-whois --disable-servers</userinput></screen> 39 48 40 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 50 href="../common/inetutils.xml" 42 51 xpointer="xpointer(//*[@os='c'])"/> 43 44 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --libexecdir=/usr/sbin \45 --sysconfdir=/etc --localstatedir=/var \46 --disable-logger --disable-syslogd \47 --disable-whois --disable-servers</userinput></screen>48 52 49 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 71 75 xpointer="xpointer(//*[@os='i'])"/> 72 76 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/inetutils.xml"75 xpointer="xpointer(//*[@os='j'])"/>76 77 77 </sect2> 78 78 -
BOOK/final-system/multilib/iproute2.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/iproute2.xml" 26 xpointer="xpointer(//*[@os='s1'])"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../common/iproute2.xml" 30 xpointer="xpointer(//*[@os='s2'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/iproute2.xml" 26 34 xpointer="xpointer(//*[@os='a'])"/> 27 35 … … 34 42 xpointer="xpointer(//*[@os='c'])"/> 35 43 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/iproute2.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 44 <screen os="d"><userinput>make CC="gcc ${BUILD64}" SBINDIR=/sbin</userinput></screen> 39 45 40 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 47 href="../common/iproute2.xml" 42 48 xpointer="xpointer(//*[@os='e'])"/> 43 44 <screen><userinput>make CC="gcc ${BUILD64}" SBINDIR=/sbin</userinput></screen>45 49 46 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 52 56 xpointer="xpointer(//*[@os='g'])"/> 53 57 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"55 href="../common/iproute2.xml"56 xpointer="xpointer(//*[@os='h'])"/>57 58 58 </sect2> 59 59 -
BOOK/final-system/multilib/kbd.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/kbd.xml" 26 xpointer="xpointer(//*[@os=' a1'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/kbd.xml" 30 xpointer="xpointer(//*[@os=' a2'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 <para>Prepare Kbd for compilation:</para> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/kbd.xml" 34 xpointer="xpointer(//*[@os='a'])"/> 33 35 34 <screen ><userinput>CC="gcc ${BUILD64}" ./configure</userinput></screen>36 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure</userinput></screen> 35 37 36 <para>Compile the package:</para> 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/kbd.xml" 40 xpointer="xpointer(//*[@os='c'])"/> 37 41 38 <screen ><userinput>make CC="gcc ${BUILD64}"</userinput></screen>42 <screen os="d"><userinput>make CC="gcc ${BUILD64}"</userinput></screen> 39 43 40 <para>Install the package:</para> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/kbd.xml" 46 xpointer="xpointer(//*[@os='e'])"/> 41 47 42 <screen><userinput>make install</userinput></screen> 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/kbd.xml" 50 xpointer="xpointer(//*[@os='f'])"/> 43 51 44 52 </sect2> -
BOOK/final-system/multilib/less.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 29 --sysconfdir=/etc</userinput></screen> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"32 href="../common/less.xml"33 xpointer="xpointer(//*[@os='b'])"/>34 30 35 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 57 53 xpointer="xpointer(//*[@os='h'])"/> 58 54 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 href="../common/less.xml" 57 xpointer="xpointer(//*[@os='i'])"/> 58 59 59 </sect2> 60 60 -
BOOK/final-system/multilib/libtool-64bit.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 29 --libdir=/usr/lib64</userinput></screen> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"32 href="libtool.xml"33 xpointer="xpointer(//*[@os='b'])"/>34 30 35 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 50 46 51 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 52 href=" ../common/libtool.xml"48 href="libtool.xml" 53 49 xpointer="xpointer(//*[@os='g'])"/> 54 50 … … 56 52 href="../common/libtool.xml" 57 53 xpointer="xpointer(//*[@os='h'])"/> 54 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 href="../common/libtool.xml" 57 xpointer="xpointer(//*[@os='i'])"/> 58 58 59 59 </sect2> -
BOOK/final-system/multilib/libtool-n32.xml
r82fedc4 re0e40d3 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen ><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \29 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ 30 30 --libdir=/usr/lib32</userinput></screen> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"33 href="libtool.xml"34 xpointer="xpointer(//*[@os='b'])"/>35 31 36 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 50 46 xpointer="xpointer(//*[@os='f'])"/> 51 47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="libtool.xml" 50 xpointer="xpointer(//*[@os='g'])"/> 51 52 52 </sect2> 53 53 -
BOOK/final-system/multilib/libtool.xml
r82fedc4 re0e40d3 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 href="../common/libtool.xml" 33 xpointer="xpointer(//*[@os='b'])"/> 29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen> 34 30 35 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 49 45 xpointer="xpointer(//*[@os='f'])"/> 50 46 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 href="../common/libtool.xml" 49 xpointer="xpointer(//*[@os='g'])"/> 50 51 51 </sect2> 52 52 -
BOOK/final-system/multilib/m4.xml
r82fedc4 re0e40d3 22 22 <title>Installation of M4</title> 23 23 24 <para>Prepare M4 for compilation:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/m4.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 25 27 26 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 27 29 28 <para>Compile the package:</para> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/m4.xml" 32 xpointer="xpointer(//*[@os='c'])"/> 29 33 30 <screen><userinput>make</userinput></screen> 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../common/m4.xml" 36 xpointer="xpointer(//*[@os='d'])"/> 31 37 32 <para>To test the results, issue: 33 <userinput>make check</userinput>.</para> 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/m4.xml" 40 xpointer="xpointer(//*[@os='e'])"/> 34 41 35 <para>Install the package:</para> 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../common/m4.xml" 44 xpointer="xpointer(//*[@os='f'])"/> 36 45 37 <screen><userinput>make install</userinput></screen> 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 href="../common/m4.xml" 48 xpointer="xpointer(//*[@os='g'])"/> 38 49 39 50 </sect2> -
BOOK/final-system/multilib/make.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/man.xml
r82fedc4 re0e40d3 46 46 xpointer="xpointer(//*[@os='f'])"/> 47 47 48 <screen><userinput>CC="gcc ${BUILD64}" ./configure -confdir=/etc</userinput></screen> 49 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 51 href="../common/man.xml" 52 xpointer="xpointer(//*[@os='g'])"/> 48 <screen os="g"><userinput>CC="gcc ${BUILD64}" ./configure -confdir=/etc</userinput></screen> 53 49 54 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 92 88 xpointer="xpointer(//*[@os='q'])"/> 93 89 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 91 href="../common/man.xml" 92 xpointer="xpointer(//*[@os='r'])"/> 93 94 94 </sect2> 95 95 -
BOOK/final-system/multilib/mktemp.xml
r82fedc4 re0e40d3 34 34 xpointer="xpointer(//*[@os='c'])"/> 35 35 36 <screen os="c1"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-libc</userinput></screen> 37 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/mktemp.xml" 40 xpointer="xpointer(//*[@os='d'])"/> 36 <screen os="d"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-libc</userinput></screen> 41 37 42 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 56 52 xpointer="xpointer(//*[@os='h'])"/> 57 53 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 55 href="../common/mktemp.xml" 56 xpointer="xpointer(//*[@os='i'])"/> 57 58 58 </sect2> 59 59 -
BOOK/final-system/multilib/module-init-tools.xml
r82fedc4 re0e40d3 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="../common/module-init-tools.xml" 34 xpointer="xpointer(//*[@os=' g'])"/>34 xpointer="xpointer(//*[@os='c'])"/> 35 35 36 <screen os=" g1"><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 --strip-path=1 &&36 <screen os="d"><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 --strip-path=1 && 37 37 CC="gcc ${BUILD64}" ./configure && 38 38 make check && … … 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 42 href="../common/module-init-tools.xml" 43 xpointer="xpointer(//*[@os='c'])"/>44 45 <screen os="c1"><userinput>CC="gcc ${BUILD64}" ./configure --prefix="" --enable-zlib</userinput></screen>46 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"48 href="../common/module-init-tools.xml"49 xpointer="xpointer(//*[@os='d'])"/>50 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"52 href="../common/module-init-tools.xml"53 43 xpointer="xpointer(//*[@os='e'])"/> 54 44 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 href="../common/module-init-tools.xml" 57 xpointer="xpointer(//*[@os='f'])"/> 45 <screen os="f"><userinput>CC="gcc ${BUILD64}" ./configure --prefix="" --enable-zlib</userinput></screen> 58 46 59 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 69 57 xpointer="xpointer(//*[@os='i'])"/> 70 58 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="../common/module-init-tools.xml" 61 xpointer="xpointer(//*[@os='j'])"/> 62 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 href="../common/module-init-tools.xml" 65 xpointer="xpointer(//*[@os='k'])"/> 66 71 67 </sect2> 72 68 -
BOOK/final-system/multilib/ncurses-64bit.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen ><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 29 29 ./configure --prefix=/usr --libdir=/lib64 \ 30 30 --with-shared --without-debug</userinput></screen> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"33 href="ncurses.xml"34 xpointer="xpointer(//*[@os='b'])"/>35 31 36 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 54 50 xpointer="xpointer(//*[@os='g'])"/> 55 51 56 <screen><userinput>mv /lib64/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib64</userinput></screen> 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="ncurses.xml" 54 xpointer="xpointer(//*[@os='h'])"/> 57 55 58 <para>Create symlinks in <filename class="directory">/usr/lib64:</filename></para>56 <screen os="i"><userinput>mv /lib64/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib64</userinput></screen> 59 57 60 <screen><userinput>rm /lib64/lib{ncurses,menu,panel,form,curses}.so 58 <para os="j">Create symlinks in <filename class="directory">/usr/lib64:</filename></para> 59 60 <screen os="k"><userinput>rm /lib64/lib{ncurses,menu,panel,form,curses}.so 61 61 ln -sf ../../lib64/libncurses.so.5 /usr/lib64/libncurses.so 62 62 ln -sf ../../lib64/libncurses.so.5 /usr/lib64/libcurses.so … … 67 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 68 68 href="ncurses.xml" 69 xpointer="xpointer(//*[@os=' k'])"/>69 xpointer="xpointer(//*[@os='l'])"/> 70 70 71 <screen ><userinput>chmod 755 /lib64/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>71 <screen os="m"><userinput>chmod 755 /lib64/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen> 72 72 73 73 </sect2> -
BOOK/final-system/multilib/ncurses-n32.xml
r82fedc4 re0e40d3 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen ><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \29 <screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 30 30 ./configure --prefix=/usr --libdir=/lib32 \ 31 31 --with-shared --without-debug</userinput></screen> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="ncurses.xml"35 xpointer="xpointer(//*[@os='b'])"/>36 32 37 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 55 51 xpointer="xpointer(//*[@os='g'])"/> 56 52 57 <screen><userinput>mv /lib32/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib32</userinput></screen> 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="ncurses.xml" 55 xpointer="xpointer(//*[@os='h'])"/> 58 56 59 <para>Create symlinks in <filename class="directory">/usr/lib32:</filename></para>57 <screen os="i"><userinput>mv /lib32/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib32</userinput></screen> 60 58 61 <screen><userinput>rm /lib32/lib{ncurses,menu,panel,form,curses}.so 59 <para os="j">Create symlinks in <filename class="directory">/usr/lib32:</filename></para> 60 61 <screen os="k"><userinput>rm /lib32/lib{ncurses,menu,panel,form,curses}.so 62 62 ln -sf ../../lib32/libncurses.so.5 /usr/lib32/libncurses.so 63 63 ln -sf ../../lib32/libncurses.so.5 /usr/lib32/libcurses.so … … 68 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 69 href="ncurses.xml" 70 xpointer="xpointer(//*[@os=' k'])"/>70 xpointer="xpointer(//*[@os='l'])"/> 71 71 72 <screen ><userinput>chmod 755 /lib32/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>72 <screen os="m"><userinput>chmod 755 /lib32/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen> 73 73 74 74 </sect2> -
BOOK/final-system/multilib/ncurses.xml
r82fedc4 re0e40d3 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen ><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \29 <screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 30 30 ./configure --prefix=/usr --libdir=/lib \ 31 31 --with-shared --without-debug</userinput></screen> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="../common/ncurses.xml"35 xpointer="xpointer(//*[@os='b'])"/>36 32 37 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 75 71 xpointer="xpointer(//*[@os='l'])"/> 76 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../common/ncurses.xml" 75 xpointer="xpointer(//*[@os='m'])"/> 76 77 77 </sect2> 78 78 -
BOOK/final-system/multilib/patch.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Patch</title> 23 23 24 <para>Prepare Patch for compilation:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/patch.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 25 27 26 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 27 29 28 <para>Compile the package:</para> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/patch.xml" 32 xpointer="xpointer(//*[@os='c'])"/> 29 33 30 <screen><userinput>make</userinput></screen> 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../common/patch.xml" 36 xpointer="xpointer(//*[@os='d'])"/> 31 37 32 <para>This package does not come with a test suite.</para> 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/patch.xml" 40 xpointer="xpointer(//*[@os='e'])"/> 33 41 34 <para>Install the package:</para> 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../common/patch.xml" 44 xpointer="xpointer(//*[@os='f'])"/> 35 45 36 <screen><userinput>make install</userinput></screen> 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 href="../common/patch.xml" 48 xpointer="xpointer(//*[@os='g'])"/> 37 49 38 50 </sect2> -
BOOK/final-system/multilib/perl-64bit.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Perl</title> 23 23 24 <para >In multilib builds we install compilers and libraries for each available24 <para os="m1">In multilib builds we install compilers and libraries for each available 25 25 architecture. The description below says that perl installs several hundred 26 26 libraries, but they are used by invoking <command>perl</command>, not by linking … … 31 31 therefore only install one version.</para> 32 32 33 <para >Perl does not, by default, know about library directories with names other33 <para os="p1">Perl does not, by default, know about library directories with names other 34 34 than lib, such as lib64. The following patch will allow it to install to lib64.</para> 35 35 36 <screen ><userinput>patch -Np1 -i ../&perl-multilib-patch;</userinput></screen>36 <screen os="p2"><userinput>patch -Np1 -i ../&perl-multilib-patch;</userinput></screen> 37 37 38 <para >There is a further (possibly cosmetic) anomaly - if we install perl and38 <para os="p3">There is a further (possibly cosmetic) anomaly - if we install perl and 39 39 then run <command>perl -V</command> it will claim that libc is in /lib. The 40 40 following patch fixes this, but only takes effect when <command>make install 41 41 </command> is run.</para> 42 42 43 <screen ><userinput>patch -Np1 -i ../&perl-lib64-patch;</userinput></screen>43 <screen os="p4"><userinput>patch -Np1 -i ../&perl-lib64-patch;</userinput></screen> 44 44 45 <para >We still need to tell perl to actually use lib64</para>45 <para os="m2">We still need to tell perl to actually use lib64</para> 46 46 47 <screen ><userinput>echo 'installstyle="lib64/perl5"' >>hints/linux.sh</userinput></screen>47 <screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' >>hints/linux.sh</userinput></screen> 48 48 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 51 51 xpointer="xpointer(//*[@os='a'])"/> 52 52 53 <screen ><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" \53 <screen os="b"><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" \ 54 54 -Dlibpth="/usr/local/lib64 /lib64 /usr/lib64" \ 55 55 -Dcc="gcc ${BUILD64}"</userinput></screen> 56 56 57 <variablelist >57 <variablelist os="m4"> 58 58 <title>The meaning of the new configure option:</title> 59 59 … … 65 65 </varlistentry> 66 66 67 </variablelist>68 69 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 68 href="../common/perl.xml" 71 xpointer="xpointer(//*[@os='c'])"/> 69 xpointer="xpointer(//*[@os='c1'])"/> 70 71 </variablelist> 72 72 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/procps-64bit.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Procps</title> 23 23 24 <para>Compile the package:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/procps.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 25 27 26 <screen ><userinput>make CC="gcc ${BUILD64}"</userinput></screen>28 <screen os="b"><userinput>make CC="gcc ${BUILD64}"</userinput></screen> 27 29 28 <para>Install the package:</para> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/procps.xml" 32 xpointer="xpointer(//*[@os='c'])"/> 29 33 30 <screen ><userinput>make install lib64=lib64</userinput></screen>34 <screen os="d"><userinput>make install lib64=lib64</userinput></screen> 31 35 32 36 </sect2> -
BOOK/final-system/multilib/procps-n32.xml
r82fedc4 re0e40d3 23 23 <title>Installation of Procps</title> 24 24 25 <para>Compile the package:</para> 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../common/procps.xml" 27 xpointer="xpointer(//*[@os='a'])"/> 26 28 27 <screen ><userinput>make CC="gcc ${BUILDN32}"</userinput></screen>29 <screen os="b"><userinput>make CC="gcc ${BUILDN32}"</userinput></screen> 28 30 29 <para>Install the package:</para> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 href="../common/procps.xml" 33 xpointer="xpointer(//*[@os='a'])"/> 30 34 31 <screen ><userinput>make install lib64=lib32</userinput></screen>35 <screen os="d"><userinput>make install lib64=lib32</userinput></screen> 32 36 33 37 </sect2> -
BOOK/final-system/multilib/procps.xml
r82fedc4 re0e40d3 23 23 <title>Installation of Procps</title> 24 24 25 <para>Compile the package:</para> 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../common/procps.xml" 27 xpointer="xpointer(//*[@os='a'])"/> 26 28 27 <screen ><userinput>make CC="gcc ${BUILD32}"</userinput></screen>29 <screen os="b"><userinput>make CC="gcc ${BUILD32}"</userinput></screen> 28 30 29 <para>Install the package:</para> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 href="../common/procps.xml" 33 xpointer="xpointer(//*[@os='c'])"/> 30 34 31 <screen><userinput>make install lib64=lib</userinput></screen> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../common/procps.xml" 37 xpointer="xpointer(//*[@os='d'])"/> 32 38 33 39 </sect2> -
BOOK/final-system/multilib/psmisc.xml
r82fedc4 re0e40d3 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 29 --exec-prefix=""</userinput></screen> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"32 href="../common/psmisc.xml"33 xpointer="xpointer(//*[@os='b'])"/>34 30 35 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 65 61 xpointer="xpointer(//*[@os='j'])"/> 66 62 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 href="../common/psmisc.xml" 65 xpointer="xpointer(//*[@os='k'])"/> 66 67 67 </sect2> 68 68 -
BOOK/final-system/multilib/readline-64bit.xml
r82fedc4 re0e40d3 34 34 xpointer="xpointer(//*[@os='c'])"/> 35 35 36 <screen ><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \36 <screen os="d"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 37 37 ./configure --prefix=/usr --libdir=/lib64</userinput></screen> 38 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"40 href="readline.xml"41 xpointer="xpointer(//*[@os='d'])"/>42 38 43 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 57 53 xpointer="xpointer(//*[@os='i'])"/> 58 54 59 <screen><userinput>chmod 755 /lib64/lib{readline,history}.so*</userinput></screen> 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 href="readline.xml" 57 xpointer="xpointer(//*[@os='j'])"/> 58 59 <screen os="k"><userinput>chmod 755 /lib64/lib{readline,history}.so*</userinput></screen> 60 60 61 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 62 href="readline.xml" 63 xpointer="xpointer(//*[@os=' k'])"/>63 xpointer="xpointer(//*[@os='l'])"/> 64 64 65 <screen ><userinput>mv /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>65 <screen os="m"><userinput>mv /lib64/lib{readline,history}.a /usr/lib64</userinput></screen> 66 66 67 <para >Next, remove the <filename class="extension">.so</filename>67 <para os="n">Next, remove the <filename class="extension">.so</filename> 68 68 files in <filename class="directory">/lib64</filename> and relink them into 69 69 <filename class="directory">/usr/lib64</filename>.</para> 70 70 71 <screen ><userinput>rm /lib64/lib{readline,history}.so71 <screen os="o"><userinput>rm /lib64/lib{readline,history}.so 72 72 ln -sf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so 73 73 ln -sf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen> -
BOOK/final-system/multilib/readline-n32.xml
r82fedc4 re0e40d3 35 35 xpointer="xpointer(//*[@os='c'])"/> 36 36 37 <screen ><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \37 <screen os="d"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 38 38 ./configure --prefix=/usr --libdir=/lib32</userinput></screen> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"41 href="readline.xml"42 xpointer="xpointer(//*[@os='d'])"/>43 39 44 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 58 54 xpointer="xpointer(//*[@os='i'])"/> 59 55 60 <screen><userinput>chmod 755 /lib32/lib{readline,history}.so*</userinput></screen> 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="readline.xml" 58 xpointer="xpointer(//*[@os='j'])"/> 59 60 <screen os="k"><userinput>chmod 755 /lib32/lib{readline,history}.so*</userinput></screen> 61 61 62 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 63 63 href="readline.xml" 64 xpointer="xpointer(//*[@os=' k'])"/>64 xpointer="xpointer(//*[@os='l'])"/> 65 65 66 <screen ><userinput>mv /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>66 <screen os="m"><userinput>mv /lib32/lib{readline,history}.a /usr/lib32</userinput></screen> 67 67 68 <para >Next, remove the <filename class="extension">.so</filename>68 <para os="n">Next, remove the <filename class="extension">.so</filename> 69 69 files in <filename class="directory">/lib32</filename> and relink them into 70 70 <filename class="directory">/usr/lib32</filename>.</para> 71 71 72 <screen ><userinput>rm /lib32/lib{readline,history}.so72 <screen os="o"><userinput>rm /lib32/lib{readline,history}.so 73 73 ln -sf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so 74 74 ln -sf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen> -
BOOK/final-system/multilib/readline.xml
r82fedc4 re0e40d3 35 35 xpointer="xpointer(//*[@os='c'])"/> 36 36 37 <screen ><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \37 <screen os="d"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 38 38 ./configure --prefix=/usr --libdir=/lib</userinput></screen> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"41 href="../common/readline.xml"42 xpointer="xpointer(//*[@os='d'])"/>43 39 44 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 82 78 xpointer="xpointer(//*[@os='n'])"/> 83 79 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="../common/readline.xml" 82 xpointer="xpointer(//*[@os='o'])"/> 83 84 84 </sect2> 85 85 -
BOOK/final-system/multilib/sed.xml
r82fedc4 re0e40d3 34 34 xpointer="xpointer(//*[@os='c'])"/> 35 35 36 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \36 <screen os="d"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 37 37 --bindir=/bin</userinput></screen> 38 38 … … 57 57 xpointer="xpointer(//*[@os='h'])"/> 58 58 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="../common/sed.xml" 61 xpointer="xpointer(//*[@os='i'])"/> 62 59 63 </sect2> 60 64 -
BOOK/final-system/multilib/shadow-64bit.xml
r82fedc4 re0e40d3 38 38 xpointer="xpointer(//*[@os='b'])"/> 39 39 40 <screen ><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \40 <screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \ 41 41 --enable-shared</userinput></screen> 42 42 … … 109 109 xpointer="xpointer(//*[@os='t'])"/> 110 110 111 <screen ><userinput>mv /lib64/libshadow.*a /usr/lib64111 <screen os="u"><userinput>mv /lib64/libshadow.*a /usr/lib64 112 112 rm /lib64/libshadow.so 113 113 ln -sf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen> -
BOOK/final-system/multilib/shadow-n32.xml
r82fedc4 re0e40d3 39 39 xpointer="xpointer(//*[@os='b'])"/> 40 40 41 <screen ><userinput>CC="gcc ${BUILDN32}" ./configure --libdir=/lib32 \41 <screen os="c"><userinput>CC="gcc ${BUILDN32}" ./configure --libdir=/lib32 \ 42 42 --enable-shared</userinput></screen> 43 43 … … 78 78 xpointer="xpointer(//*[@os='t'])"/> 79 79 80 <screen ><userinput>mv /lib32/libshadow.*a /usr/lib3280 <screen os="u"><userinput>mv /lib32/libshadow.*a /usr/lib32 81 81 rm /lib32/libshadow.so 82 82 ln -sf ../../lib32/libshadow.so.0 /usr/lib32/libshadow.so</userinput></screen> -
BOOK/final-system/multilib/shadow.xml
r82fedc4 re0e40d3 39 39 xpointer="xpointer(//*[@os='b'])"/> 40 40 41 <screen ><userinput>CC="gcc ${BUILD32}" ./configure --libdir=/lib \41 <screen os="c"><userinput>CC="gcc ${BUILD32}" ./configure --libdir=/lib \ 42 42 --enable-shared</userinput></screen> 43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"45 href="../common/shadow.xml"46 xpointer="xpointer(//*[@os='c'])"/>47 43 48 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/sysklogd.xml
r82fedc4 re0e40d3 34 34 xpointer="xpointer(//*[@os='c'])"/> 35 35 36 <screen><userinput>make CC="gcc ${BUILD64}"</userinput></screen> 37 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/sysklogd.xml" 40 xpointer="xpointer(//*[@os='d'])"/> 36 <screen os="d"><userinput>make CC="gcc ${BUILD64}"</userinput></screen> 41 37 42 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 39 href="../common/sysklogd.xml" 44 40 xpointer="xpointer(//*[@os='e'])"/> 41 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../common/sysklogd.xml" 44 xpointer="xpointer(//*[@os='f'])"/> 45 45 46 46 </sect2> -
BOOK/final-system/multilib/tar.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/tar.xml" 26 xpointer="xpointer(//*[@os=' a'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/tar.xml" 30 xpointer="xpointer(//*[@os=' a1'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="../common/tar.xml" 34 xpointer="xpointer(//*[@os=' b'])"/>34 xpointer="xpointer(//*[@os='p3'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 37 href="../common/tar.xml" 38 xpointer="xpointer(//*[@os='b1'])"/> 38 xpointer="xpointer(//*[@os='p4'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/tar.xml" 42 xpointer="xpointer(//*[@os='a'])"/> 43 44 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 45 --bindir=/bin --libexecdir=/usr/sbin</userinput></screen> 39 46 40 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 48 href="../common/tar.xml" 42 49 xpointer="xpointer(//*[@os='c'])"/> 43 44 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \45 --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>46 50 47 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 61 65 xpointer="xpointer(//*[@os='g'])"/> 62 66 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"64 href="../common/tar.xml"65 xpointer="xpointer(//*[@os='h'])"/>66 67 67 </sect2> 68 68 -
BOOK/final-system/multilib/texinfo.xml
r82fedc4 re0e40d3 34 34 xpointer="xpointer(//*[@os='a'])"/> 35 35 36 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 37 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/texinfo.xml" 40 xpointer="xpointer(//*[@os='b'])"/> 36 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 41 37 42 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 76 72 xpointer="xpointer(//*[@os='k'])"/> 77 73 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 href="../common/texinfo.xml" 76 xpointer="xpointer(//*[@os='l'])"/> 77 78 78 </sect2> 79 79 -
BOOK/final-system/multilib/udev.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/udev.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 27 28 <screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \ 29 EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 href="../common/udev.xml" 26 33 xpointer="xpointer(//*[@os='c'])"/> 27 28 <screen><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \29 EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen>30 34 31 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 47 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 52 href="../common/udev.xml" 49 xpointer="xpointer(//*[@os='g1'])"/>50 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"52 href="../common/udev.xml"53 53 xpointer="xpointer(//*[@os='h'])"/> 54 54 … … 59 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 60 href="../common/udev.xml" 61 xpointer="xpointer(//*[@os='a'])"/>62 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"64 href="../common/udev.xml"65 xpointer="xpointer(//*[@os='b'])"/>66 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"68 href="../common/udev.xml"69 61 xpointer="xpointer(//*[@os='j'])"/> 70 62 … … 72 64 href="../common/udev.xml" 73 65 xpointer="xpointer(//*[@os='k'])"/> 66 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 68 href="../common/udev.xml" 69 xpointer="xpointer(//*[@os='l'])"/> 70 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 72 href="../common/udev.xml" 73 xpointer="xpointer(//*[@os='m'])"/> 74 74 75 75 </sect2> -
BOOK/final-system/multilib/util-linux.xml
r82fedc4 re0e40d3 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/util-linux.xml" 30 xpointer="xpointer(//*[@os=' a'])"/>30 xpointer="xpointer(//*[@os='p1'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="../common/util-linux.xml" 34 xpointer="xpointer(//*[@os=' b'])"/>34 xpointer="xpointer(//*[@os='p2'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 37 href="../common/util-linux.xml" 38 xpointer="xpointer(//*[@os=' b1'])"/>38 xpointer="xpointer(//*[@os='p3'])"/> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 41 href="../common/util-linux.xml" 42 xpointer="xpointer(//*[@os='b2'])"/> 42 xpointer="xpointer(//*[@os='p4'])"/> 43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/util-linux.xml" 46 xpointer="xpointer(//*[@os='a'])"/> 47 48 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure</userinput></screen> 43 49 44 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 51 href="../common/util-linux.xml" 46 52 xpointer="xpointer(//*[@os='c'])"/> 47 48 <screen><userinput>CC="gcc ${BUILD64}" ./configure</userinput></screen>49 53 50 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 68 72 xpointer="xpointer(//*[@os='h'])"/> 69 73 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"71 href="../common/util-linux.xml"72 xpointer="xpointer(//*[@os='i'])"/>73 74 74 </sect2> 75 75 -
BOOK/final-system/multilib/vim.xml
r82fedc4 re0e40d3 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="../common/vim.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 35 36 <screen os="d"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \ 37 --enable-multibyte</userinput></screen> 38 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 href="../common/vim.xml" 34 41 xpointer="xpointer(//*[@os='e'])"/> 35 36 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \37 --enable-multibyte</userinput></screen>38 42 39 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 63 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 68 href="../common/vim.xml" 65 xpointer="xpointer(//*[@os='k1'])"/>66 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"68 href="../common/vim.xml"69 69 xpointer="xpointer(//*[@os='l'])"/> 70 70 -
BOOK/final-system/multilib/zlib-64bit.xml
r82fedc4 re0e40d3 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <screen ><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \32 <screen os="c"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \ 33 33 --shared --libdir=/lib64</userinput></screen> 34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"36 href="zlib.xml"37 xpointer="xpointer(//*[@os='c'])"/>38 34 39 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 53 49 xpointer="xpointer(//*[@os='g'])"/> 54 50 55 <para>The previous command installed a <filename 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 52 href="zlib.xml" 53 xpointer="xpointer(//*[@os='h'])"/> 54 55 <para os="i">The previous command installed a <filename 56 56 class="extension">.so</filename> file in <filename 57 57 class="directory">/lib64</filename>. We will remove it and relink it into 58 58 <filename class="directory">/usr/lib64</filename>:</para> 59 59 60 <screen ><userinput>rm /lib64/libz.so60 <screen os="j"><userinput>rm /lib64/libz.so 61 61 ln -sf ../../lib64/libz.so.&zlib-version; /usr/lib64/libz.so</userinput></screen> 62 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"64 href="zlib.xml"65 xpointer="xpointer(//*[@os='j'])"/>66 67 <screen><userinput>make clean68 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \69 --prefix=/usr --libdir=/usr/lib6470 make</userinput></screen>71 62 72 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 74 65 xpointer="xpointer(//*[@os='k'])"/> 75 66 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="zlib.xml" 78 xpointer="xpointer(//*[@os='l'])"/> 67 <screen os="l"><userinput>make clean 68 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \ 69 --prefix=/usr --libdir=/usr/lib64 70 make</userinput></screen> 79 71 80 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 86 78 xpointer="xpointer(//*[@os='n'])"/> 87 79 88 <screen><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen> 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="zlib.xml" 82 xpointer="xpointer(//*[@os='o'])"/> 83 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href="zlib.xml" 86 xpointer="xpointer(//*[@os='p'])"/> 87 88 <screen os="q"><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen> 89 89 90 90 </sect2> -
BOOK/final-system/multilib/zlib-n32.xml
r82fedc4 re0e40d3 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen ><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \33 <screen os="c"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \ 34 34 --shared --libdir=/lib32</userinput></screen> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"37 href="zlib.xml"38 xpointer="xpointer(//*[@os='c'])"/>39 35 40 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 54 50 xpointer="xpointer(//*[@os='g'])"/> 55 51 56 <para>The previous command installed a <filename 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="zlib.xml" 54 xpointer="xpointer(//*[@os='h'])"/> 55 56 <para os="i">The previous command installed a <filename 57 57 class="extension">.so</filename> file in <filename 58 58 class="directory">/lib32</filename>. We will remove it and relink it into 59 59 <filename class="directory">/usr/lib32</filename>:</para> 60 60 61 <screen ><userinput>rm /lib32/libz.so61 <screen os="j"><userinput>rm /lib32/libz.so 62 62 ln -sf ../../lib32/libz.so.&zlib-version; /usr/lib32/libz.so</userinput></screen> 63 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"65 href="zlib.xml"66 xpointer="xpointer(//*[@os='j'])"/>67 68 <screen><userinput>make clean69 CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure \70 --prefix=/usr --libdir=/usr/lib3271 make</userinput></screen>72 63 73 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 75 66 xpointer="xpointer(//*[@os='k'])"/> 76 67 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="zlib.xml" 79 xpointer="xpointer(//*[@os='l'])"/> 68 <screen os="l"><userinput>make clean 69 CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure \ 70 --prefix=/usr --libdir=/usr/lib32 71 make</userinput></screen> 80 72 81 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 87 79 xpointer="xpointer(//*[@os='n'])"/> 88 80 89 <screen><userinput>chmod 644 /usr/lib32/libz.a</userinput></screen> 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="zlib.xml" 83 xpointer="xpointer(//*[@os='o'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="zlib.xml" 87 xpointer="xpointer(//*[@os='p'])"/> 88 89 <screen os="q"><userinput>chmod 644 /usr/lib32/libz.a</userinput></screen> 90 90 91 91 </sect2> -
BOOK/final-system/multilib/zlib.xml
r82fedc4 re0e40d3 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen ><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \33 <screen os="c"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \ 34 34 --shared --libdir=/lib</userinput></screen> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"37 href="../common/zlib.xml"38 xpointer="xpointer(//*[@os='c'])"/>39 35 40 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 66 62 xpointer="xpointer(//*[@os='j'])"/> 67 63 68 <screen><userinput>make clean69 CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr70 make</userinput></screen>71 72 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 65 href="../common/zlib.xml" 74 66 xpointer="xpointer(//*[@os='k'])"/> 75 67 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="../common/zlib.xml" 78 xpointer="xpointer(//*[@os='l'])"/>68 <screen os="l"><userinput>make clean 69 CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr 70 make</userinput></screen> 79 71 80 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 90 82 xpointer="xpointer(//*[@os='o'])"/> 91 83 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href="../common/zlib.xml" 86 xpointer="xpointer(//*[@os='p'])"/> 87 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../common/zlib.xml" 90 xpointer="xpointer(//*[@os='q'])"/> 91 92 92 </sect2> 93 93 -
BOOK/final-system/ppc/patch.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Patch</title> 23 23 24 <para>Prepare Patch for compilation:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/patch.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 25 27 26 <screen ><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>28 <screen os="b"><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen> 27 29 28 <para>Compile the package:</para> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/patch.xml" 32 xpointer="xpointer(//*[@os='c'])"/> 29 33 30 <screen><userinput>make</userinput></screen> 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../common/patch.xml" 36 xpointer="xpointer(//*[@os='d'])"/> 31 37 32 <para>This package does not come with a test suite.</para> 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../common/patch.xml" 40 xpointer="xpointer(//*[@os='e'])"/> 33 41 34 <para>Install the package:</para> 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../common/patch.xml" 44 xpointer="xpointer(//*[@os='f'])"/> 35 45 36 <screen><userinput>make install</userinput></screen> 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 47 href="../common/patch.xml" 48 xpointer="xpointer(//*[@os='g'])"/> 37 49 38 50 </sect2> -
BOOK/final-system/sparc/kbd.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Kbd</title> 23 23 24 <para os="a">Sparcs haven't updated the structure of <command>kbdrate</command> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/kbd.xml" 26 xpointer="xpointer(//*[@os='p1'])"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../common/kbd.xml" 30 xpointer="xpointer(//*[@os='p2'])"/> 31 32 <para os="p3">Sparcs haven't updated the structure of <command>kbdrate</command> 25 33 yet, so until they do this patch is required:</para> 26 34 27 <screen os=" b"><userinput>patch -Np1 -i ../&kbd-sparc_kbdrate-patch;</userinput></screen>35 <screen os="p4"><userinput>patch -Np1 -i ../&kbd-sparc_kbdrate-patch;</userinput></screen> 28 36 29 <para>Prepare Kbd for compilation:</para> 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../common/kbd.xml" 39 xpointer="xpointer(//*[@os='a'])"/> 30 40 31 <screen><userinput>./configure</userinput></screen> 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../common/kbd.xml" 43 xpointer="xpointer(//*[@os='b'])"/> 44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../common/kbd.xml" 47 xpointer="xpointer(//*[@os='c'])"/> 32 48 33 <para>Compile the package:</para> 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../common/kbd.xml" 51 xpointer="xpointer(//*[@os='d'])"/> 34 52 35 <screen><userinput>make</userinput></screen> 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="../common/kbd.xml" 55 xpointer="xpointer(//*[@os='e'])"/> 36 56 37 < para>Install the package:</para>38 39 <screen><userinput>make install</userinput></screen>57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../common/kbd.xml" 59 xpointer="xpointer(//*[@os='f'])"/> 40 60 41 61 </sect2> -
BOOK/final-system/sparc64/kbd.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/kbd.xml" 26 xpointer="xpointer(//*[@os=' a1'])"/>26 xpointer="xpointer(//*[@os='p1'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/kbd.xml" 30 xpointer="xpointer(//*[@os=' a2'])"/>30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 33 href="../sparc/kbd.xml" 34 xpointer="xpointer(//*[@os='p3'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../sparc/kbd.xml" 38 xpointer="xpointer(//*[@os='p4'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/kbd.xml" 34 42 xpointer="xpointer(//*[@os='a'])"/> 35 43 36 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../ sparc/kbd.xml"45 href="../multilib/kbd.xml" 38 46 xpointer="xpointer(//*[@os='b'])"/> 39 47 40 <para>Prepare Kbd for compilation:</para> 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/kbd.xml" 50 xpointer="xpointer(//*[@os='c'])"/> 41 51 42 <screen><userinput>CC="gcc ${BUILD64}" ./configure</userinput></screen> 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../multilib/kbd.xml" 54 xpointer="xpointer(//*[@os='d'])"/> 43 55 44 <para>Compile the package:</para> 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/kbd.xml" 58 xpointer="xpointer(//*[@os='e'])"/> 45 59 46 <screen><userinput>make</userinput></screen> 47 48 <para>Install the package:</para> 49 50 <screen><userinput>make install</userinput></screen> 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 href="../common/kbd.xml" 62 xpointer="xpointer(//*[@os='f'])"/> 51 63 52 64 </sect2> -
BOOK/final-system/x86_64-64/gettext.xml
r82fedc4 re0e40d3 22 22 <title>Installation of Gettext</title> 23 23 24 <para os=" a">Gettext includes its own version of Libtool which is broken24 <para os="x1">Gettext includes its own version of Libtool which is broken 25 25 for x86_64 (it tries to link statically linked archives compiled without 26 26 -fPIC against shared objects) see (<ulink … … 29 29 the main language tests can be run.</para> 30 30 31 <screen os=" b"><userinput>sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]</userinput></screen>31 <screen os="x2"><userinput>sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]</userinput></screen> 32 32 33 <para>Prepare Gettext for compilation:</para> 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../common/gettext.xml" 35 xpointer="xpointer(//*[@os='a'])"/> 34 36 35 <screen><userinput>./configure --prefix=/usr</userinput></screen> 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../common/gettext.xml" 39 xpointer="xpointer(//*[@os='b'])"/> 36 40 37 <para>Compile the package:</para> 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../common/gettext.xml" 43 xpointer="xpointer(//*[@os='c'])"/> 38 44 39 <screen><userinput>make</userinput></screen> 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../common/gettext.xml" 47 xpointer="xpointer(//*[@os='d'])"/> 40 48 41 <para>To test the results, issue: <userinput>make check</userinput>.</para> 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../common/gettext.xml" 51 xpointer="xpointer(//*[@os='e'])"/> 42 52 43 <para>Install the package:</para> 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="../common/gettext.xml" 55 xpointer="xpointer(//*[@os='f'])"/> 44 56 45 <screen><userinput>make install</userinput></screen> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../common/gettext.xml" 59 xpointer="xpointer(//*[@os='g'])"/> 46 60 47 61 </sect2> -
BOOK/final-system/x86_64-chapter.xml
r82fedc4 re0e40d3 38 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex-64bit.xml"/> 39 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gettext-64bit.xml"/>40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext-64bit.xml"/> 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/inetutils.xml"/> 42 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/perl-64bit.xml"/> -
BOOK/final-system/x86_64/gettext-64bit.xml
r82fedc4 re0e40d3 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../x86_64-64/gettext.xml" 26 xpointer="xpointer(//*[@os='x1'])"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../x86_64-64/gettext.xml" 30 xpointer="xpointer(//*[@os='x2'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/gettext.xml" 26 34 xpointer="xpointer(//*[@os='a'])"/> 27 35 28 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../ x86_64-64/gettext.xml"37 href="../multilib/gettext-64bit.xml" 30 38 xpointer="xpointer(//*[@os='b'])"/> 31 39 32 <para>Prepare Gettext for compilation:</para> 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/gettext.xml" 42 xpointer="xpointer(//*[@os='c'])"/> 33 43 34 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 35 ./configure --prefix=/usr --libdir=/usr/lib64</userinput></screen> 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/gettext.xml" 46 xpointer="xpointer(//*[@os='d'])"/> 36 47 37 <para>Compile the package:</para> 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/gettext.xml" 50 xpointer="xpointer(//*[@os='e'])"/> 38 51 39 <screen><userinput>make</userinput></screen> 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../common/gettext.xml" 54 xpointer="xpointer(//*[@os='f'])"/> 40 55 41 <para>To test the results, issue: <userinput>make check</userinput>.</para> 42 43 <para>Install the package:</para> 44 45 <screen><userinput>make install</userinput></screen> 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/gettext.xml" 58 xpointer="xpointer(//*[@os='g'])"/> 46 59 47 60 </sect2> -
BOOK/introduction/common/changelog.xml
r82fedc4 re0e40d3 38 38 39 39 <listitem> 40 <para>November 30, 2005</para> 41 <itemizedlist> 42 <listitem> 43 <para>[jim] - Text updates to final-system.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 47 48 <listitem> 40 49 <para>November 29, 2005</para> 41 50 <itemizedlist> -
BOOK/temp-system/common/tar.xml
r82fedc4 re0e40d3 45 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 46 href="../../final-system/common/tar.xml" 47 xpointer="xpointer(//*[@os=' g'])"/>47 xpointer="xpointer(//*[@os='f'])"/> 48 48 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 50 href="../../final-system/common/tar.xml" 51 xpointer="xpointer(//*[@os=' h'])"/>51 xpointer="xpointer(//*[@os='g'])"/> 52 52 53 53 </sect2> -
BOOK/temp-system/mips/grep.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/mips/grep.xml" 27 xpointer="xpointer(//*[@os=' ba'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../../final-system/mips/grep.xml" 31 xpointer="xpointer(//*[@os=' bb'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/mips/make.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/mips/make.xml" 27 xpointer="xpointer(//*[@os=' m1'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../../final-system/mips/make.xml" 31 xpointer="xpointer(//*[@os=' m2'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/mips64/grep.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../mips/grep.xml" 27 xpointer="xpointer(//*[@os=' ba'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../mips/grep.xml" 31 xpointer="xpointer(//*[@os=' bb'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/mips64/make.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/mips/make.xml" 27 xpointer="xpointer(//*[@os=' m1'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 30 href="../../final-system/mips/make.xml" 31 xpointer="xpointer(//*[@os=' m2'])"/>31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/multilib/bzip2.xml
r82fedc4 re0e40d3 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../../final-system/multilib/bzip2-64bit.xml" 27 xpointer="xpointer(//*[@os=' ba'])"/>27 xpointer="xpointer(//*[@os='m1'])"/> 28 28 29 <screen os="bb"><userinput>cp Makefile{,.orig} 30 sed -e 's@^\(all:.*\) test@\1@g' \ 31 -e 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile.orig > Makefile</userinput></screen>29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../../final-system/multilib/bzip2-64bit.xml" 31 xpointer="xpointer(//*[@os='m2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/temp-system/multilib/tar.xml
r82fedc4 re0e40d3 48 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 49 href="../common/tar.xml" 50 xpointer="xpointer(//*[@os=' g'])"/>50 xpointer="xpointer(//*[@os='f'])"/> 51 51 52 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 53 href="../common/tar.xml" 54 xpointer="xpointer(//*[@os=' h'])"/>54 xpointer="xpointer(//*[@os='g'])"/> 55 55 56 56 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.