mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-30 17:19:21 +01:00
Putting text before the 'make check's, and smoothing the other lines.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2695 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
b1d68a49b2
commit
89fcc34541
@ -2,17 +2,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Autoconf</title>
|
||||
|
||||
<para>Prepare Autoconf to be compiled:</para>
|
||||
<para>Prepare Autoconf for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,21 +3,23 @@
|
||||
<sect2>
|
||||
<title>Installation of Automake</title>
|
||||
|
||||
<para>Prepare Automake to be compiled:</para>
|
||||
<para>Prepare Automake for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>Install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Create a necessary symbolic link:</para>
|
||||
<para>And create a necessary symbolic link:</para>
|
||||
|
||||
<para><screen><userinput>ln -s automake-1.7 /usr/share/automake</userinput></screen></para>
|
||||
|
||||
|
@ -14,21 +14,23 @@ patch:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
|
||||
|
||||
<para>Prepare Bash to be compiled:</para>
|
||||
<para>Prepare Bash for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make tests</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>Install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Reload the newly compiled Bash:</para>
|
||||
<para>And reload the newly compiled <userinput>bash</userinput> program:</para>
|
||||
|
||||
<para><screen><userinput>exec /bin/bash --login
|
||||
set +h</userinput></screen></para>
|
||||
|
@ -18,7 +18,7 @@ you decide to skip this.</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make PREFIX=/usr install</userinput></screen></para>
|
||||
|
||||
|
@ -31,7 +31,7 @@ build for our own system, we don't need this target specific directory in
|
||||
cross-compile (for example compiling a package on an Intel machine that
|
||||
generates code that can be executed on PowerPC machines).</para>
|
||||
|
||||
<para>Check the results:</para>
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Bison</title>
|
||||
|
||||
<para>Prepare Bison to be compiled:</para>
|
||||
<para>Prepare Bison for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,28 +3,28 @@
|
||||
<sect2>
|
||||
<title>Installation of Bzip2</title>
|
||||
|
||||
<para>Begin compiling the package:</para>
|
||||
<para>Prepare Bzip2 for compilation with:</para>
|
||||
|
||||
<para><screen><userinput>make -f Makefile-libbz2_so
|
||||
make clean</userinput></screen></para>
|
||||
|
||||
<para>The <emphasis>-f</emphasis> flag will cause bzip2 to be built
|
||||
<para>The <emphasis>-f</emphasis> flag will cause Bzip2 to be built
|
||||
using a different <filename>Makefile</filename> file, in this case the
|
||||
<filename>Makefile-libbz2_so</filename> file, which creates a dynamic
|
||||
<filename>libbz2.so</filename> library and links the bzip2 utilities
|
||||
against it.</para>
|
||||
|
||||
<para>Continue compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Install the package:</para>
|
||||
<para>Install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Copy the Bzip2 binary into the <filename
|
||||
class="directory">/bin</filename> directory, make some
|
||||
necessary symbolic links and clean up.</para>
|
||||
<para>And install the shared <userinput>bzip2</userinput> binary into the
|
||||
<filename class="directory">/bin</filename> directory, then make some
|
||||
necessary symbolic links, and clean up.</para>
|
||||
|
||||
<para><screen><userinput>cp bzip2-shared /bin/bzip2
|
||||
cp -a libbz2.so* /lib
|
||||
|
@ -9,20 +9,22 @@ for Intel architectures:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-uname-patch-version;.patch</userinput></screen></para>
|
||||
|
||||
<para>We do not want Coreutils to install it's version of the hostname
|
||||
binary, because it is inferior to the version provided by Net-tools.
|
||||
Prevent the installation of hostname with this patch:</para>
|
||||
<para>We do not want Coreutils to install its version of the
|
||||
<userinput>hostname</userinput> program, because it is inferior to the version
|
||||
provided by Net-tools. Prevent its installation by applying a patch:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-hostname-patch-version;.patch</userinput></screen></para>
|
||||
|
||||
<para>Prepare Coreutils to be compiled:</para>
|
||||
<para>Now prepare Coreutils for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results thoroughly:</para>
|
||||
|
||||
<para><screen><userinput>make check-root
|
||||
make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para>
|
||||
|
||||
@ -30,7 +32,7 @@ make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Move files to their proper locations:</para>
|
||||
<para>And move some programs to their proper locations:</para>
|
||||
|
||||
<para><screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
|
||||
mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Diffutils</title>
|
||||
|
||||
<para>Prepare Diffutils to be compiled:</para>
|
||||
<para>Prepare Diffutils for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -9,7 +9,7 @@ source tree:</para>
|
||||
<para><screen><userinput>mkdir ../e2fsprogs-build
|
||||
cd ../e2fsprogs-build</userinput></screen></para>
|
||||
|
||||
<para>Prepare E2fsprogs to be compiled:</para>
|
||||
<para>Prepare E2fsprogs for compilation:</para>
|
||||
|
||||
<para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
||||
--enable-elf-shlibs</userinput></screen></para>
|
||||
@ -34,17 +34,19 @@ of.</para></listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Begin installing the package:</para>
|
||||
<para>Install most of the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Install the shared libraries:</para>
|
||||
<para>And install also the shared libraries:</para>
|
||||
|
||||
<para><screen><userinput>make install-libs</userinput></screen></para>
|
||||
|
||||
|
@ -8,36 +8,38 @@ because it can be used by the patch program if you encounter an ed-based patch
|
||||
file. This happens rarely because diff-based patches are preferred these
|
||||
days.</para></note>
|
||||
|
||||
<para>Ed uses mktemp to create temporary files in <filename
|
||||
class="directory">/tmp</filename>, but this function has a security
|
||||
vulnerability (see section on Temporary Files in <ulink
|
||||
url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). This
|
||||
patch makes Ed use mkstemp instead, which is the recommended way to create
|
||||
temporary files.</para>
|
||||
<para>Ed normally uses the mktemp function to create temporary files in
|
||||
<filename class="directory">/tmp</filename>, but this function contains a
|
||||
vulnerability (see the section on Temporary Files in <ulink
|
||||
url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). The
|
||||
following patch makes Ed use mkstemp instead, which is the recommended way to
|
||||
create temporary files.</para>
|
||||
|
||||
<para>Apply the patch:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../ed-&ed-patch-version;.patch</userinput></screen></para>
|
||||
|
||||
<para>Prepare Ed to be compiled:</para>
|
||||
<para>Now prepare Ed for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>Install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>We need to move the Ed binaries to the <filename
|
||||
class="directory">/bin</filename> directory so they may be used in the event
|
||||
that the <filename class="directory">/usr</filename> partition is
|
||||
<para>And move the programs to the <filename>/bin</filename> directory, so
|
||||
they can be used in the event that the <filename>/usr</filename> partition is
|
||||
unavailable.</para>
|
||||
|
||||
<para><screen><userinput>mv /usr/bin/{ed,red} /bin</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -3,15 +3,15 @@
|
||||
<sect2>
|
||||
<title>Installation of File</title>
|
||||
|
||||
<para>Prepare File to be compiled:</para>
|
||||
<para>Prepare File for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --datadir=/usr/share/misc</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,22 +3,25 @@
|
||||
<sect2>
|
||||
<title>Installing Findutils</title>
|
||||
|
||||
<para>Prepare Findutils to be compiled:</para>
|
||||
<para>Prepare Findutils for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para>
|
||||
|
||||
<para>By default, the location of the updatedb database is in /usr/var.
|
||||
To make the location of <filename>/var/lib/misc/locatedb</filename> file
|
||||
FHS compliant, pass the <emphasis>--localstatedir=/var/lib/misc</emphasis>
|
||||
option to <userinput>configure</userinput>.</para>
|
||||
<para>By default, the location of the updatedb database is in
|
||||
<filename>/usr/var</filename>. To make the location of
|
||||
<filename>/var/lib/misc/locatedb</filename> file FHS compliant, pass the
|
||||
<emphasis>--localstatedir=/var/lib/misc</emphasis> option to
|
||||
<userinput>configure</userinput>.</para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Flex</title>
|
||||
|
||||
<para>Prepare Flex to be compiled:</para>
|
||||
<para>Prepare Flex for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make bigcheck</userinput></screen></para>
|
||||
|
||||
<para>Install the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -33,17 +33,19 @@ with its contents on a make uninstall.</para></listitem>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch</userinput></screen></para>
|
||||
|
||||
<para>Prepare Gawk to be compiled:</para>
|
||||
<para>Now prepare Gawk for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -55,7 +55,7 @@ is implemented.</para></listitem>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Check the results, but don't stop at errors (you'll remember the few
|
||||
<para>Test the results, but don't stop at errors (you'll remember the few
|
||||
known ones):</para>
|
||||
|
||||
<para><screen><userinput>make -k check</userinput></screen></para>
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Gettext</title>
|
||||
|
||||
<para>Prepare Gettext to be compiled:</para>
|
||||
<para>Prepare Gettext for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -48,7 +48,7 @@ kernel headers into <filename>/usr/include</filename>.</para></listitem>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Check the results:</para>
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
|
@ -3,18 +3,20 @@
|
||||
<sect2>
|
||||
<title>Installation of Grep</title>
|
||||
|
||||
<para>Prepare Grep to be compiled:</para>
|
||||
<para>Prepare Grep for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
|
||||
--with-included-regex</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,19 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Groff</title>
|
||||
|
||||
<para>Prepare Groff to be compiled:</para>
|
||||
<para>Prepare Groff for compilation:</para>
|
||||
|
||||
<para><screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Install the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Some groff/man document programs, such as <userinput>xman</userinput>,
|
||||
<para>Some documentation programs, such as <userinput>xman</userinput>,
|
||||
will not work work properly without the following symlinks:</para>
|
||||
|
||||
<para><screen><userinput>ln -s soelim /usr/bin/zsoelim
|
||||
|
@ -3,7 +3,7 @@
|
||||
<sect2>
|
||||
<title>Installation of Gzip</title>
|
||||
|
||||
<para>Prepare Gzip to be compiled:</para>
|
||||
<para>Prepare Gzip for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
@ -14,7 +14,7 @@ directory:</para>
|
||||
<para><screen><userinput>cp gzexe.in{,.backup}
|
||||
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
@ -22,7 +22,7 @@ sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Move the Gzip binaries to the <filename
|
||||
<para>And move the programs to the <filename
|
||||
class="directory">/bin</filename> directory:</para>
|
||||
|
||||
<para><screen><userinput>mv /usr/bin/gzip /bin
|
||||
|
@ -3,7 +3,7 @@
|
||||
<sect2>
|
||||
<title>Installation of Inetutils</title>
|
||||
|
||||
<para>Prepare Inetutils to be compiled:</para>
|
||||
<para>Prepare Inetutils for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --disable-syslogd \
|
||||
--libexecdir=/usr/sbin --disable-logger \
|
||||
@ -28,15 +28,15 @@ configuration files</para></listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>Install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Put the ping command into the appropriate place:</para>
|
||||
<para>And move the <userinput>ping</userinput> program to its proper place:</para>
|
||||
|
||||
<para><screen><userinput>mv /usr/bin/ping /bin</userinput></screen></para>
|
||||
|
||||
|
@ -9,15 +9,15 @@ utilities. Apply the patch:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../kbd-&kbd-patch-version;.patch</userinput></screen></para>
|
||||
|
||||
<para>Prepare Kbd to be compiled:</para>
|
||||
<para>Prepare Kbd for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,15 +3,15 @@
|
||||
<sect2>
|
||||
<title>Installation of Less</title>
|
||||
|
||||
<para>Prepare Less to be compiled:</para>
|
||||
<para>Prepare Less for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And install the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Libtool</title>
|
||||
|
||||
<para>Prepare Libtool to be compiled:</para>
|
||||
<para>Prepare Libtool for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -11,7 +11,7 @@ GRUB, which is available at <ulink url="&hints-root;grub-howto.txt"/>.</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of M4</title>
|
||||
|
||||
<para>Prepare M4 to be compiled:</para>
|
||||
<para>Prepare M4 for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Make</title>
|
||||
|
||||
<para>Prepare Make to be compiled:</para>
|
||||
<para>Prepare Make for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -30,16 +30,15 @@ rather than the first place a program is found. By appending
|
||||
use the programs in the <filename class="directory">/static</filename>
|
||||
directory.</para>
|
||||
|
||||
<para>Prepare Man to be compiled:</para>
|
||||
<para>Now prepare Man for compilation:</para>
|
||||
|
||||
<para><screen><userinput>PATH=$PATH:/usr/bin:/bin \
|
||||
./configure -default -confdir=/etc</userinput></screen></para>
|
||||
<para><screen><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default -confdir=/etc</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<sect2>
|
||||
<title>Installation of Man-pages</title>
|
||||
|
||||
<para>Install Man-pages by running the following command:</para>
|
||||
<para>Install Man-pages by running:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,15 +3,15 @@
|
||||
<sect2>
|
||||
<title>Installation of Modutils</title>
|
||||
|
||||
<para>Prepare Modutils to be compiled:</para>
|
||||
<para>Prepare Modutils for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,15 +3,21 @@
|
||||
<sect2>
|
||||
<title>Installation of Ncurses</title>
|
||||
|
||||
<para>First fix two tiny bugs:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
|
||||
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para>
|
||||
|
||||
<para>Prepare Ncurses to be compiled:</para>
|
||||
<para>The first patch corrects the <filename>etip.h</filename> header file, and
|
||||
the second patch prevents some compiler warnings on the use of deprecated
|
||||
headers.</para>
|
||||
|
||||
<para>Now prepare Ncurses for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --with-shared \
|
||||
--without-debug</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
@ -19,11 +25,11 @@ patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></p
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Give the ncurses libraries executable permission:</para>
|
||||
<para>Give the Ncurses libraries execute permissions:</para>
|
||||
|
||||
<para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para>
|
||||
|
||||
<para>And fix up a library that shouldn't be executable at all:</para>
|
||||
<para>And fix a library that shouldn't be executable:</para>
|
||||
|
||||
<para><screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen></para>
|
||||
|
||||
|
@ -3,19 +3,17 @@
|
||||
<sect2>
|
||||
<title>Installation of Net-tools</title>
|
||||
|
||||
<para>If you don't know what to answer to all the questions asked during
|
||||
the <userinput>make</userinput> phase, then just accept the defaults, which
|
||||
will be just fine in the majority of the cases. What you are asked here
|
||||
are a bunch of questions relating to the kind of network protocols that you
|
||||
have enabled in your kernel.</para>
|
||||
<para>If you don't know what to answer to all the questions asked during the
|
||||
<userinput>make config</userinput> phase below, then just accept the defaults.
|
||||
This will be just fine in the majority of cases. What you're asked here is a
|
||||
bunch of questions about which network protocols you've enabled in your
|
||||
kernel. The default answers will enable the tools from this package to work
|
||||
with the most common protocols: TCP, PPP, and several others. You still need
|
||||
to actually enable these protocols in the kernel -- what you do here is merely
|
||||
telling the package to include support for those protocols in its programs,
|
||||
but it's up to the kernel to make the protocols available.</para>
|
||||
|
||||
<para>The default answers will enable the tools from this package to work
|
||||
with the most common protocols such as TCP, PPP and a bunch of others. You
|
||||
still need to actually enable these protocols in the kernel. What you do
|
||||
here is merely telling the programs to be able to use those protocols, but
|
||||
it's up to the kernel to make them available to the system.</para>
|
||||
|
||||
<para>Configure the Net-tools package:</para>
|
||||
<para>Prepare Net-tools for compilation with:</para>
|
||||
|
||||
<para><screen><userinput>make config</userinput></screen></para>
|
||||
|
||||
@ -27,7 +25,7 @@ questions generated by <emphasis>make config</emphasis> by running
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make update</userinput></screen></para>
|
||||
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Patch</title>
|
||||
|
||||
<para>Prepare Patch to be compiled:</para>
|
||||
<para>Prepare Patch for compilation:</para>
|
||||
|
||||
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -1,10 +1,9 @@
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of Perl</title>
|
||||
|
||||
|
||||
|
||||
<para>Prepare Perl to be compiled:</para>
|
||||
<para>Prepare Perl for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure.gnu --prefix=/usr</userinput></screen></para>
|
||||
|
||||
@ -14,13 +13,15 @@ instead and modify the way perl is built. If you think you can live with the
|
||||
(sensible) defaults perl auto-detects, then just use the command listed
|
||||
above.</para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make test</userinput></screen></para>
|
||||
|
||||
<para>And finish off installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
default switch, <emphasis>-ltermcap</emphasis>. This is done
|
||||
because libtermcap is declared obsolete in favor of libncurses.</para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -14,11 +14,11 @@ the patch:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>Install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Remove a spurious library link:</para>
|
||||
<para>And remove a spurious library link:</para>
|
||||
|
||||
<para><screen><userinput>rm /lib/libproc.so</userinput></screen></para>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<sect2>
|
||||
<title>Installation of Psmisc</title>
|
||||
|
||||
<para>Prepare Psmisc to be compiled:</para>
|
||||
<para>Prepare Psmisc for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para>
|
||||
|
||||
@ -13,22 +13,22 @@ in this package are often used in bootscripts; they should be in the /bin
|
||||
directory so they can be used in the event that the <filename
|
||||
class="directory">/usr</filename> partition isn't mounted.</para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Psmisc's pidof program isn't installed by default. Generally, this
|
||||
isn't a problem because we later install the Sysvinit package, which
|
||||
provides a better pidof program.</para>
|
||||
<para>Psmisc's <userinput>pidof</userinput> program isn't installed by default.
|
||||
Generally, this isn't a problem because we later install the Sysvinit package,
|
||||
which provides a better <userinput>pidof</userinput> program.</para>
|
||||
|
||||
<para>It's up to you to decide if you are going to use the Sysvinit
|
||||
package, which provides a pidof program, or not. If you're not going to
|
||||
use Sysvinit, you should complete this package's installation by creating
|
||||
the <filename>/bin/pidof</filename> symlink:</para>
|
||||
<para>It's up to you to decide if you are going to use the Sysvinit package,
|
||||
which provides a <userinput>pidof</userinput> program, or not. If you're not
|
||||
going to use Sysvinit, you should complete this package's installation by
|
||||
creating the <filename>/bin/pidof</filename> symlink:</para>
|
||||
|
||||
<para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
|
||||
|
||||
|
@ -3,17 +3,19 @@
|
||||
<sect2>
|
||||
<title>Installation of Sed</title>
|
||||
|
||||
<para>Prepare Sed to be compiled:</para>
|
||||
<para>Prepare Sed for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,11 +3,11 @@
|
||||
<sect2>
|
||||
<title>Installation of Sysklogd</title>
|
||||
|
||||
<para>Prepare Sysklogd to be compiled:</para>
|
||||
<para>Compile Sysklogd:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -21,7 +21,7 @@ sed 's/Sending processes/Sending processes started by init/g' \
|
||||
|
||||
<para><screen><userinput>make -C src</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install it:</para>
|
||||
|
||||
<para><screen><userinput>make -C src install</userinput></screen></para>
|
||||
|
||||
|
@ -3,18 +3,20 @@
|
||||
<sect2>
|
||||
<title>Installation of Tar</title>
|
||||
|
||||
<para>Prepare Tar to be compiled:</para>
|
||||
<para>Prepare Tar for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
|
||||
--libexecdir=/usr/bin</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -3,22 +3,23 @@
|
||||
<sect2>
|
||||
<title>Installation of Texinfo</title>
|
||||
|
||||
<para>Prepare Texinfo to be compiled:</para>
|
||||
<para>Prepare Texinfo for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Test the results:</para>
|
||||
|
||||
<para><screen><userinput>make check</userinput></screen></para>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Install the texinfo components which belong in a TeX
|
||||
installation:</para>
|
||||
<para>And install the components belonging in a TeX installation:</para>
|
||||
|
||||
<para><screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen></para>
|
||||
|
||||
|
@ -10,15 +10,15 @@ class="directory">/etc</filename>.</para>
|
||||
<para><screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h</userinput></screen></para>
|
||||
|
||||
<para>Prepare Vim to be compiled:</para>
|
||||
<para>Now prepare Vim for compilation:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Finish installing the package:</para>
|
||||
<para>And install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -9,26 +9,30 @@ so by applying this patch:</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;.patch</userinput></screen></para>
|
||||
|
||||
<para>Prepare Zlib to be compiled:</para>
|
||||
<para>Now prepare Zlib for compilation:</para>
|
||||
|
||||
<para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \
|
||||
./configure --prefix=/usr --shared</userinput></screen></para>
|
||||
|
||||
<para>The <emphasis>-fPIC</emphasis> flag helps to assure
|
||||
quality in the dynamic zlib library.</para>
|
||||
quality in the dynamic Zlib library.</para>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Install the libraries:</para>
|
||||
<para>Install the shared libraries:</para>
|
||||
|
||||
<para><screen><userinput>make install
|
||||
make clean
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Now also build and install the non-shared libraries:</para>
|
||||
<para><screen><userinput>make clean
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make test
|
||||
make install</userinput></screen></para>
|
||||
|
||||
<para>The shared zlib library should be installed in the
|
||||
<para>The shared Zlib library should be installed in the
|
||||
<filename>/lib</filename> directory. That way, in the event
|
||||
that you must boot without the <filename>/usr</filename>
|
||||
directory, vital system programs will still have access to
|
||||
|
Loading…
Reference in New Issue
Block a user