Changeset e6423a01 for final-system/common
- Timestamp:
- Feb 21, 2006, 1:23:04 AM (19 years ago)
- Children:
- 193b7dd
- Parents:
- b8fddc7
- Location:
- final-system/common
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/autoconf.xml
rb8fddc7 re6423a01 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> -
final-system/common/automake.xml
rb8fddc7 re6423a01 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> -
final-system/common/bash.xml
rb8fddc7 re6423a01 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 -
final-system/common/bison.xml
rb8fddc7 re6423a01 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> -
final-system/common/bzip2.xml
rb8fddc7 re6423a01 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 -
final-system/common/diffutils.xml
rb8fddc7 re6423a01 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> -
final-system/common/e2fsprogs.xml
rb8fddc7 re6423a01 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> -
final-system/common/findutils.xml
rb8fddc7 re6423a01 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> -
final-system/common/flex.xml
rb8fddc7 re6423a01 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 -
final-system/common/gettext.xml
rb8fddc7 re6423a01 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> -
final-system/common/groff.xml
rb8fddc7 re6423a01 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> -
final-system/common/gzip.xml
rb8fddc7 re6423a01 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 -
final-system/common/hotplug.xml
rb8fddc7 re6423a01 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> -
final-system/common/iana-etc.xml
rb8fddc7 re6423a01 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> -
final-system/common/inetutils.xml
rb8fddc7 re6423a01 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> -
final-system/common/iproute2.xml
rb8fddc7 re6423a01 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> -
final-system/common/kbd.xml
rb8fddc7 re6423a01 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> -
final-system/common/less.xml
rb8fddc7 re6423a01 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> -
final-system/common/libtool.xml
rb8fddc7 re6423a01 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> -
final-system/common/m4.xml
rb8fddc7 re6423a01 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> -
final-system/common/man-pages.xml
rb8fddc7 re6423a01 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> -
final-system/common/man.xml
rb8fddc7 re6423a01 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> -
final-system/common/mktemp.xml
rb8fddc7 re6423a01 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 -
final-system/common/module-init-tools.xml
rb8fddc7 re6423a01 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> -
final-system/common/ncurses.xml
rb8fddc7 re6423a01 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> -
final-system/common/patch.xml
rb8fddc7 re6423a01 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> -
final-system/common/perl.xml
rb8fddc7 re6423a01 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> -
final-system/common/procps.xml
rb8fddc7 re6423a01 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> -
final-system/common/psmisc.xml
rb8fddc7 re6423a01 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> -
final-system/common/readline.xml
rb8fddc7 re6423a01 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> -
final-system/common/sed.xml
rb8fddc7 re6423a01 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> -
final-system/common/shadow.xml
rb8fddc7 re6423a01 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 -
final-system/common/sysklogd.xml
rb8fddc7 re6423a01 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> -
final-system/common/tar.xml
rb8fddc7 re6423a01 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> -
final-system/common/texinfo.xml
rb8fddc7 re6423a01 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 * -
final-system/common/udev.xml
rb8fddc7 re6423a01 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> -
final-system/common/util-linux.xml
rb8fddc7 re6423a01 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 -
final-system/common/vim.xml
rb8fddc7 re6423a01 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 -
final-system/common/zlib.xml
rb8fddc7 re6423a01 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>
Note:
See TracChangeset
for help on using the changeset viewer.