- Timestamp:
- 08/29/2003 11:20:23 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 5e49531
- Parents:
- b1d68a4
- Location:
- chapter06
- Files:
-
- 46 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/autoconf-inst.xml
rb1d68a4 r89fcc34 3 3 <title>Installation of Autoconf</title> 4 4 5 <para>Prepare Autoconf to be compiled:</para>5 <para>Prepare Autoconf for compilation:</para> 6 6 7 7 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 8 8 9 <para>Co ntinue with compilingthe package:</para>9 <para>Compile the package:</para> 10 10 11 11 <para><screen><userinput>make</userinput></screen></para> 12 12 13 <para>Test the results:</para> 14 13 15 <para><screen><userinput>make check</userinput></screen></para> 14 16 15 <para>And finish off installingthe package:</para>17 <para>And install the package:</para> 16 18 17 19 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/automake-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Automake</title> 5 5 6 <para>Prepare Automake to be compiled:</para>6 <para>Prepare Automake for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para> And finish off installingthe package:</para>18 <para>Install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> 19 21 20 <para> Create a necessary symbolic link:</para>22 <para>And create a necessary symbolic link:</para> 21 23 22 24 <para><screen><userinput>ln -s automake-1.7 /usr/share/automake</userinput></screen></para> -
chapter06/bash-inst.xml
rb1d68a4 r89fcc34 15 15 <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para> 16 16 17 <para>Prepare Bash to be compiled:</para>17 <para>Prepare Bash for compilation:</para> 18 18 19 19 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para> 20 20 21 <para>Co ntinue with compilingthe package:</para>21 <para>Compile the package:</para> 22 22 23 23 <para><screen><userinput>make</userinput></screen></para> 24 24 25 <para>Test the results:</para> 26 25 27 <para><screen><userinput>make tests</userinput></screen></para> 26 28 27 <para> And finish off installingthe package:</para>29 <para>Install the package:</para> 28 30 29 31 <para><screen><userinput>make install</userinput></screen></para> 30 32 31 <para> Reload the newly compiled Bash:</para>33 <para>And reload the newly compiled <userinput>bash</userinput> program:</para> 32 34 33 35 <para><screen><userinput>exec /bin/bash --login -
chapter06/bin86-inst.xml
rb1d68a4 r89fcc34 19 19 <para><screen><userinput>make</userinput></screen></para> 20 20 21 <para>And finish off installing the package:</para>21 <para>And install it:</para> 22 22 23 23 <para><screen><userinput>make PREFIX=/usr install</userinput></screen></para> -
chapter06/binutils-inst.xml
rb1d68a4 r89fcc34 32 32 generates code that can be executed on PowerPC machines).</para> 33 33 34 <para> Checkthe results:</para>34 <para>Test the results:</para> 35 35 36 36 <para><screen><userinput>make check</userinput></screen></para> -
chapter06/bison-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Bison</title> 5 5 6 <para>Prepare Bison to be compiled:</para>6 <para>Prepare Bison for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para> Finish installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/bzip2-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Bzip2</title> 5 5 6 <para> Begin compiling the package:</para>6 <para>Prepare Bzip2 for compilation with:</para> 7 7 8 8 <para><screen><userinput>make -f Makefile-libbz2_so 9 9 make clean</userinput></screen></para> 10 10 11 <para>The <emphasis>-f</emphasis> flag will cause bzip2 to be built11 <para>The <emphasis>-f</emphasis> flag will cause Bzip2 to be built 12 12 using a different <filename>Makefile</filename> file, in this case the 13 13 <filename>Makefile-libbz2_so</filename> file, which creates a dynamic … … 15 15 against it.</para> 16 16 17 <para>Co ntinue compilingthe package:</para>17 <para>Compile the package:</para> 18 18 19 19 <para><screen><userinput>make</userinput></screen></para> 20 20 21 <para>Install the package:</para>21 <para>Install it:</para> 22 22 23 23 <para><screen><userinput>make install</userinput></screen></para> 24 24 25 <para> Copy the Bzip2 binary into the <filename26 class="directory">/bin</filename> directory,make some27 necessary symbolic links and clean up.</para>25 <para>And install the shared <userinput>bzip2</userinput> binary into the 26 <filename class="directory">/bin</filename> directory, then make some 27 necessary symbolic links, and clean up.</para> 28 28 29 29 <para><screen><userinput>cp bzip2-shared /bin/bzip2 -
chapter06/coreutils-inst.xml
rb1d68a4 r89fcc34 10 10 <para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-uname-patch-version;.patch</userinput></screen></para> 11 11 12 <para>We do not want Coreutils to install it 's version of the hostname13 binary, because it is inferior to the version provided by Net-tools. 14 Prevent the installation of hostname with thispatch:</para>12 <para>We do not want Coreutils to install its version of the 13 <userinput>hostname</userinput> program, because it is inferior to the version 14 provided by Net-tools. Prevent its installation by applying a patch:</para> 15 15 16 16 <para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-hostname-patch-version;.patch</userinput></screen></para> 17 17 18 <para> Prepare Coreutils to be compiled:</para>18 <para>Now prepare Coreutils for compilation:</para> 19 19 20 20 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 21 21 22 <para>Co ntinue with compilingthe package:</para>22 <para>Compile the package:</para> 23 23 24 24 <para><screen><userinput>make</userinput></screen></para> 25 26 <para>Test the results thoroughly:</para> 25 27 26 28 <para><screen><userinput>make check-root … … 31 33 <para><screen><userinput>make install</userinput></screen></para> 32 34 33 <para> Move files to their proper locations:</para>35 <para>And move some programs to their proper locations:</para> 34 36 35 37 <para><screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin -
chapter06/diffutils-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Diffutils</title> 5 5 6 <para>Prepare Diffutils to be compiled:</para>6 <para>Prepare Diffutils for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para>And finish off installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/e2fsprogs-inst.xml
rb1d68a4 r89fcc34 10 10 cd ../e2fsprogs-build</userinput></screen></para> 11 11 12 <para>Prepare E2fsprogs to be compiled:</para>12 <para>Prepare E2fsprogs for compilation:</para> 13 13 14 14 <para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \ … … 35 35 </itemizedlist> 36 36 37 <para>Co ntinue with compilingthe package:</para>37 <para>Compile the package:</para> 38 38 39 39 <para><screen><userinput>make</userinput></screen></para> 40 40 41 <para>Test the results:</para> 42 41 43 <para><screen><userinput>make check</userinput></screen></para> 42 44 43 <para> Begin installingthe package:</para>45 <para>Install most of the package:</para> 44 46 45 47 <para><screen><userinput>make install</userinput></screen></para> 46 48 47 <para> Installthe shared libraries:</para>49 <para>And install also the shared libraries:</para> 48 50 49 51 <para><screen><userinput>make install-libs</userinput></screen></para> -
chapter06/ed-inst.xml
rb1d68a4 r89fcc34 9 9 days.</para></note> 10 10 11 <para>Ed uses mktemp to create temporary files in <filename12 class="directory">/tmp</filename>, but this function has a security 13 vulnerability (see section on Temporary Files in <ulink14 url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). Th is15 patch makes Ed use mkstemp instead, which is the recommended way to create 16 temporary files.</para>11 <para>Ed normally uses the mktemp function to create temporary files in 12 <filename class="directory">/tmp</filename>, but this function contains a 13 vulnerability (see the section on Temporary Files in <ulink 14 url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). The 15 following patch makes Ed use mkstemp instead, which is the recommended way to 16 create temporary files.</para> 17 17 18 18 <para>Apply the patch:</para> … … 20 20 <para><screen><userinput>patch -Np1 -i ../ed-&ed-patch-version;.patch</userinput></screen></para> 21 21 22 <para> Prepare Ed to be compiled:</para>22 <para>Now prepare Ed for compilation:</para> 23 23 24 24 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 25 25 26 <para>Co ntinue with compilingthe package:</para>26 <para>Compile the package:</para> 27 27 28 28 <para><screen><userinput>make</userinput></screen></para> 29 29 30 <para>Test the results:</para> 31 30 32 <para><screen><userinput>make check</userinput></screen></para> 31 33 32 <para> And finish off installingthe package:</para>34 <para>Install the package:</para> 33 35 34 36 <para><screen><userinput>make install</userinput></screen></para> 35 37 36 <para>We need to move the Ed binaries to the <filename 37 class="directory">/bin</filename> directory so they may be used in the event 38 that the <filename class="directory">/usr</filename> partition is 38 <para>And move the programs to the <filename>/bin</filename> directory, so 39 they can be used in the event that the <filename>/usr</filename> partition is 39 40 unavailable.</para> 40 41 … … 42 43 43 44 </sect2> 45 -
chapter06/file-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of File</title> 5 5 6 <para>Prepare File to be compiled:</para>6 <para>Prepare File for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --datadir=/usr/share/misc</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>And finish off installing the package:</para>14 <para>And install it:</para> 15 15 16 16 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/findutils-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installing Findutils</title> 5 5 6 <para>Prepare Findutils to be compiled:</para>6 <para>Prepare Findutils for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para> 9 9 10 <para>By default, the location of the updatedb database is in /usr/var. 11 To make the location of <filename>/var/lib/misc/locatedb</filename> file 12 FHS compliant, pass the <emphasis>--localstatedir=/var/lib/misc</emphasis> 13 option to <userinput>configure</userinput>.</para> 10 <para>By default, the location of the updatedb database is in 11 <filename>/usr/var</filename>. To make the location of 12 <filename>/var/lib/misc/locatedb</filename> file FHS compliant, pass the 13 <emphasis>--localstatedir=/var/lib/misc</emphasis> option to 14 <userinput>configure</userinput>.</para> 14 15 15 <para>Co ntinue with compilingthe package:</para>16 <para>Compile the package:</para> 16 17 17 18 <para><screen><userinput>make</userinput></screen></para> 18 19 20 <para>Test the results:</para> 21 19 22 <para><screen><userinput>make check</userinput></screen></para> 20 23 21 <para> Finish installingthe package:</para>24 <para>And install the package:</para> 22 25 23 26 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/flex-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Flex</title> 5 5 6 <para>Prepare Flex to be compiled:</para>6 <para>Prepare Flex for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make bigcheck</userinput></screen></para> 15 17 16 <para> Install the package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/gawk-inst.xml
rb1d68a4 r89fcc34 34 34 <para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch</userinput></screen></para> 35 35 36 <para> Prepare Gawk to be compiled:</para>36 <para>Now prepare Gawk for compilation:</para> 37 37 38 38 <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para> 39 39 40 <para>Co ntinue with compilingthe package:</para>40 <para>Compile the package:</para> 41 41 42 42 <para><screen><userinput>make</userinput></screen></para> 43 43 44 <para>Test the results:</para> 45 44 46 <para><screen><userinput>make check</userinput></screen></para> 45 47 46 <para> Finish installingthe package:</para>48 <para>And install the package:</para> 47 49 48 50 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/gcc-inst.xml
rb1d68a4 r89fcc34 56 56 <para><screen><userinput>make</userinput></screen></para> 57 57 58 <para> Checkthe results, but don't stop at errors (you'll remember the few58 <para>Test the results, but don't stop at errors (you'll remember the few 59 59 known ones):</para> 60 60 -
chapter06/gettext-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Gettext</title> 5 5 6 <para>Prepare Gettext to be compiled:</para>6 <para>Prepare Gettext for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para> Finish installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/glibc-inst.xml
rb1d68a4 r89fcc34 49 49 <para><screen><userinput>make</userinput></screen></para> 50 50 51 <para> Checkthe results:</para>51 <para>Test the results:</para> 52 52 53 53 <para><screen><userinput>make check</userinput></screen></para> -
chapter06/grep-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Grep</title> 5 5 6 <para>Prepare Grep to be compiled:</para>6 <para>Prepare Grep for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \ 9 9 --with-included-regex</userinput></screen></para> 10 10 11 <para>Co ntinue with compilingthe package:</para>11 <para>Compile the package:</para> 12 12 13 13 <para><screen><userinput>make</userinput></screen></para> 14 14 15 <para>Test the results:</para> 16 15 17 <para><screen><userinput>make check</userinput></screen></para> 16 18 17 <para>And finish off installingthe package:</para>19 <para>And install the package:</para> 18 20 19 21 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/groff-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Groff</title> 5 5 6 <para>Prepare Groff to be compiled:</para>6 <para>Prepare Groff for compilation:</para> 7 7 8 8 <para><screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para> Install the package:</para>14 <para>And install it:</para> 15 15 16 16 <para><screen><userinput>make install</userinput></screen></para> 17 17 18 <para>Some groff/man documentprograms, such as <userinput>xman</userinput>,18 <para>Some documentation programs, such as <userinput>xman</userinput>, 19 19 will not work work properly without the following symlinks:</para> 20 20 -
chapter06/gzip-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Gzip</title> 5 5 6 <para>Prepare Gzip to be compiled:</para>6 <para>Prepare Gzip for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> … … 15 15 sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para> 16 16 17 <para>Co ntinue with compilingthe package:</para>17 <para>Compile the package:</para> 18 18 19 19 <para><screen><userinput>make</userinput></screen></para> … … 23 23 <para><screen><userinput>make install</userinput></screen></para> 24 24 25 <para> Move the Gzip binaries to the <filename25 <para>And move the programs to the <filename 26 26 class="directory">/bin</filename> directory:</para> 27 27 -
chapter06/inetutils-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Inetutils</title> 5 5 6 <para>Prepare Inetutils to be compiled:</para>6 <para>Prepare Inetutils for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --disable-syslogd \ … … 29 29 </itemizedlist> 30 30 31 <para>Co ntinue with compilingthe package:</para>31 <para>Compile the package:</para> 32 32 33 33 <para><screen><userinput>make</userinput></screen></para> 34 34 35 <para> Finish installing the package:</para>35 <para>Install it:</para> 36 36 37 37 <para><screen><userinput>make install</userinput></screen></para> 38 38 39 <para> Put the ping command into the appropriateplace:</para>39 <para>And move the <userinput>ping</userinput> program to its proper place:</para> 40 40 41 41 <para><screen><userinput>mv /usr/bin/ping /bin</userinput></screen></para> -
chapter06/kbd-inst.xml
rb1d68a4 r89fcc34 10 10 <para><screen><userinput>patch -Np1 -i ../kbd-&kbd-patch-version;.patch</userinput></screen></para> 11 11 12 <para>Prepare Kbd to be compiled:</para>12 <para>Prepare Kbd for compilation:</para> 13 13 14 14 <para><screen><userinput>./configure</userinput></screen></para> 15 15 16 <para>Co ntinue with compilingthe package:</para>16 <para>Compile the package:</para> 17 17 18 18 <para><screen><userinput>make</userinput></screen></para> 19 19 20 <para>And finish off installing the package:</para>20 <para>And install it:</para> 21 21 22 22 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/less-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Less</title> 5 5 6 <para>Prepare Less to be compiled:</para>6 <para>Prepare Less for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para> Finish installing the package:</para>14 <para>And install it:</para> 15 15 16 16 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/lfs-utils-inst.xml
rb1d68a4 r89fcc34 8 8 <para><screen><userinput>make</userinput></screen></para> 9 9 10 <para>And install the package:</para>10 <para>And install it:</para> 11 11 12 12 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/libtool-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Libtool</title> 5 5 6 <para>Prepare Libtool to be compiled:</para>6 <para>Prepare Libtool for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para>And finish off installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/lilo-inst.xml
rb1d68a4 r89fcc34 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>And finish off installing the package:</para>14 <para>And install it:</para> 15 15 16 16 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/m4-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of M4</title> 5 5 6 <para>Prepare M4 to be compiled:</para>6 <para>Prepare M4 for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para> Finish installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/make-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Make</title> 5 5 6 <para>Prepare Make to be compiled:</para>6 <para>Prepare Make for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para>And finish off installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/man-inst.xml
rb1d68a4 r89fcc34 31 31 directory.</para> 32 32 33 <para> Prepare Man to be compiled:</para>33 <para>Now prepare Man for compilation:</para> 34 34 35 <para><screen><userinput>PATH=$PATH:/usr/bin:/bin \ 36 ./configure -default -confdir=/etc</userinput></screen></para> 35 <para><screen><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default -confdir=/etc</userinput></screen></para> 37 36 38 <para>Co ntinue with compilingthe package:</para>37 <para>Compile the package:</para> 39 38 40 39 <para><screen><userinput>make</userinput></screen></para> 41 40 42 <para>And finish off installing the package:</para>41 <para>And install it:</para> 43 42 44 43 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/manpages-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Man-pages</title> 5 5 6 <para>Install Man-pages by running the following command:</para>6 <para>Install Man-pages by running:</para> 7 7 8 8 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/modutils-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Modutils</title> 5 5 6 <para>Prepare Modutils to be compiled:</para>6 <para>Prepare Modutils for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>And finish off installing the package:</para>14 <para>And install it:</para> 15 15 16 16 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/ncurses-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Ncurses</title> 5 5 6 <para>First fix two tiny bugs:</para> 7 6 8 <para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch 7 9 patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para> 8 10 9 <para>Prepare Ncurses to be compiled:</para> 11 <para>The first patch corrects the <filename>etip.h</filename> header file, and 12 the second patch prevents some compiler warnings on the use of deprecated 13 headers.</para> 14 15 <para>Now prepare Ncurses for compilation:</para> 10 16 11 17 <para><screen><userinput>./configure --prefix=/usr --with-shared \ 12 18 --without-debug</userinput></screen></para> 13 19 14 <para>Co ntinue with compilingthe package:</para>20 <para>Compile the package:</para> 15 21 16 22 <para><screen><userinput>make</userinput></screen></para> … … 20 26 <para><screen><userinput>make install</userinput></screen></para> 21 27 22 <para>Give the ncurses libraries executable permission:</para>28 <para>Give the Ncurses libraries execute permissions:</para> 23 29 24 30 <para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para> 25 31 26 <para>And fix up a library that shouldn't be executable at all:</para>32 <para>And fix a library that shouldn't be executable:</para> 27 33 28 34 <para><screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen></para> -
chapter06/nettools-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Net-tools</title> 5 5 6 <para>If you don't know what to answer to all the questions asked during 7 the <userinput>make</userinput> phase, then just accept the defaults, which 8 will be just fine in the majority of the cases. What you are asked here 9 are a bunch of questions relating to the kind of network protocols that you 10 have enabled in your kernel.</para> 6 <para>If you don't know what to answer to all the questions asked during the 7 <userinput>make config</userinput> phase below, then just accept the defaults. 8 This will be just fine in the majority of cases. What you're asked here is a 9 bunch of questions about which network protocols you've enabled in your 10 kernel. The default answers will enable the tools from this package to work 11 with the most common protocols: TCP, PPP, and several others. You still need 12 to actually enable these protocols in the kernel -- what you do here is merely 13 telling the package to include support for those protocols in its programs, 14 but it's up to the kernel to make the protocols available.</para> 11 15 12 <para>The default answers will enable the tools from this package to work 13 with the most common protocols such as TCP, PPP and a bunch of others. You 14 still need to actually enable these protocols in the kernel. What you do 15 here is merely telling the programs to be able to use those protocols, but 16 it's up to the kernel to make them available to the system.</para> 17 18 <para>Configure the Net-tools package:</para> 16 <para>Prepare Net-tools for compilation with:</para> 19 17 20 18 <para><screen><userinput>make config</userinput></screen></para> … … 28 26 <para><screen><userinput>make</userinput></screen></para> 29 27 30 <para> Finish installing the package:</para>28 <para>And install it:</para> 31 29 32 30 <para><screen><userinput>make update</userinput></screen></para> -
chapter06/patch-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Patch</title> 5 5 6 <para>Prepare Patch to be compiled:</para>6 <para>Prepare Patch for compilation:</para> 7 7 8 8 <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para> Finish installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/perl-inst.xml
rb1d68a4 r89fcc34 1 1 <sect2><title> </title><para> </para></sect2> 2 2 3 <sect2> 3 4 <title>Installation of Perl</title> 4 5 5 6 7 <para>Prepare Perl to be compiled:</para> 6 <para>Prepare Perl for compilation:</para> 8 7 9 8 <para><screen><userinput>./configure.gnu --prefix=/usr</userinput></screen></para> … … 15 14 above.</para> 16 15 17 <para>Co ntinue with compilingthe package:</para>16 <para>Compile the package:</para> 18 17 19 18 <para><screen><userinput>make</userinput></screen></para> 20 19 20 <para>Test the results:</para> 21 21 22 <para><screen><userinput>make test</userinput></screen></para> 22 23 23 <para>And finish off installingthe package:</para>24 <para>And install the package:</para> 24 25 25 26 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/procinfo-inst.xml
rb1d68a4 r89fcc34 12 12 because libtermcap is declared obsolete in favor of libncurses.</para> 13 13 14 <para> Finish installingthe package:</para>14 <para>And install the package:</para> 15 15 16 16 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/procps-inst.xml
rb1d68a4 r89fcc34 15 15 <para><screen><userinput>make</userinput></screen></para> 16 16 17 <para> Finish installing the package:</para>17 <para>Install it:</para> 18 18 19 19 <para><screen><userinput>make install</userinput></screen></para> 20 20 21 <para> Remove a spurious library link:</para>21 <para>And remove a spurious library link:</para> 22 22 23 23 <para><screen><userinput>rm /lib/libproc.so</userinput></screen></para> -
chapter06/psmisc-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Psmisc</title> 5 5 6 <para>Prepare Psmisc to be compiled:</para>6 <para>Prepare Psmisc for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para> … … 14 14 class="directory">/usr</filename> partition isn't mounted.</para> 15 15 16 <para>Co ntinue with compilingthe package:</para>16 <para>Compile the package:</para> 17 17 18 18 <para><screen><userinput>make</userinput></screen></para> 19 19 20 <para> Finish installing the package:</para>20 <para>And install it:</para> 21 21 22 22 <para><screen><userinput>make install</userinput></screen></para> 23 23 24 <para>Psmisc's pidof program isn't installed by default. Generally, this25 isn't a problem because we later install the Sysvinit package, which 26 provides a better pidofprogram.</para>24 <para>Psmisc's <userinput>pidof</userinput> program isn't installed by default. 25 Generally, this isn't a problem because we later install the Sysvinit package, 26 which provides a better <userinput>pidof</userinput> program.</para> 27 27 28 <para>It's up to you to decide if you are going to use the Sysvinit 29 package, which provides a pidof program, or not. If you're not going to 30 use Sysvinit, you should complete this package's installation by creating 31 the <filename>/bin/pidof</filename> symlink:</para>28 <para>It's up to you to decide if you are going to use the Sysvinit package, 29 which provides a <userinput>pidof</userinput> program, or not. If you're not 30 going to use Sysvinit, you should complete this package's installation by 31 creating the <filename>/bin/pidof</filename> symlink:</para> 32 32 33 33 <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para> -
chapter06/sed-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Sed</title> 5 5 6 <para>Prepare Sed to be compiled:</para>6 <para>Prepare Sed for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>Test the results:</para> 15 14 16 <para><screen><userinput>make check</userinput></screen></para> 15 17 16 <para> Finish installingthe package:</para>18 <para>And install the package:</para> 17 19 18 20 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/sysklogd-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Sysklogd</title> 5 5 6 <para> Prepare Sysklogd to be compiled:</para>6 <para>Compile Sysklogd:</para> 7 7 8 8 <para><screen><userinput>make</userinput></screen></para> 9 9 10 <para> Finish installing the package:</para>10 <para>And install it:</para> 11 11 12 12 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/sysvinit-inst.xml
rb1d68a4 r89fcc34 22 22 <para><screen><userinput>make -C src</userinput></screen></para> 23 23 24 <para> Finish installing the package:</para>24 <para>And install it:</para> 25 25 26 26 <para><screen><userinput>make -C src install</userinput></screen></para> -
chapter06/tar-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Tar</title> 5 5 6 <para>Prepare Tar to be compiled:</para>6 <para>Prepare Tar for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \ 9 9 --libexecdir=/usr/bin</userinput></screen></para> 10 10 11 <para>Co ntinue with compilingthe package:</para>11 <para>Compile the package:</para> 12 12 13 13 <para><screen><userinput>make</userinput></screen></para> 14 14 15 <para>Test the results:</para> 16 15 17 <para><screen><userinput>make check</userinput></screen></para> 16 18 17 <para> Finish installingthe package:</para>19 <para>And install the package:</para> 18 20 19 21 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/texinfo-inst.xml
rb1d68a4 r89fcc34 4 4 <title>Installation of Texinfo</title> 5 5 6 <para>Prepare Texinfo to be compiled:</para>6 <para>Prepare Texinfo for compilation:</para> 7 7 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 14 <para>Test the results:</para> 13 15 14 16 <para><screen><userinput>make check</userinput></screen></para> … … 18 20 <para><screen><userinput>make install</userinput></screen></para> 19 21 20 <para>Install the texinfo components which belong in a TeX 21 installation:</para> 22 <para>And install the components belonging in a TeX installation:</para> 22 23 23 24 <para><screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen></para> -
chapter06/vim-inst.xml
rb1d68a4 r89fcc34 11 11 echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h</userinput></screen></para> 12 12 13 <para> Prepare Vim to be compiled:</para>13 <para>Now prepare Vim for compilation:</para> 14 14 15 15 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 16 16 17 <para>Co ntinue with compilingthe package:</para>17 <para>Compile the package:</para> 18 18 19 19 <para><screen><userinput>make</userinput></screen></para> 20 20 21 <para> Finish installingthe package:</para>21 <para>And install the package:</para> 22 22 23 23 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/zlib-inst.xml
rb1d68a4 r89fcc34 10 10 <para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;.patch</userinput></screen></para> 11 11 12 <para> Prepare Zlib to be compiled:</para>12 <para>Now prepare Zlib for compilation:</para> 13 13 14 14 <para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \ … … 16 16 17 17 <para>The <emphasis>-fPIC</emphasis> flag helps to assure 18 quality in the dynamic zlib library.</para> 18 quality in the dynamic Zlib library.</para> 19 20 <para>Compile the package:</para> 19 21 20 22 <para><screen><userinput>make</userinput></screen></para> 21 23 22 <para>Install the libraries:</para>24 <para>Install the shared libraries:</para> 23 25 24 <para><screen><userinput>make install 25 make clean 26 <para><screen><userinput>make install</userinput></screen></para> 27 28 <para>Now also build and install the non-shared libraries:</para> 29 <para><screen><userinput>make clean 26 30 ./configure --prefix=/usr 27 31 make … … 29 33 make install</userinput></screen></para> 30 34 31 <para>The shared zlib library should be installed in the35 <para>The shared Zlib library should be installed in the 32 36 <filename>/lib</filename> directory. That way, in the event 33 37 that you must boot without the <filename>/usr</filename>
Note:
See TracChangeset
for help on using the changeset viewer.