added more text in chapter 5, from Make to Texinfo

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2670 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Alex Gronenwoud 2003-08-15 22:38:17 +00:00
parent 6e3b255254
commit 323252bf26
8 changed files with 127 additions and 34 deletions

View File

@ -3,11 +3,22 @@
<sect2>
<title>Installation of Gettext</title>
<para><screen><userinput>./configure --prefix=/stage1
make
make check
make install</userinput></screen></para>
<para>Prepare Gettext to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
<para>Compile the programs:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Check that the programs work correctly (this takes so long you can go
for a walk):</para>
<para><screen><userinput>make check</userinput></screen></para>
<para>Then install them and their documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>

View File

@ -3,12 +3,22 @@
<sect2>
<title>Installation of Grep</title>
<para><screen><userinput>./configure --prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-perl-regexp --with-included-regex
make
make check
make install</userinput></screen></para>
<para>Prepare Grep to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-perl-regexp --with-included-regex</userinput></screen></para>
<para>Compile the programs:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Check that the programs work correctly:</para>
<para><screen><userinput>make check</userinput></screen></para>
<para>Then install them and their documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>

View File

@ -3,10 +3,21 @@
<sect2>
<title>Installation of Make</title>
<para><screen><userinput>./configure --prefix=/stage1
make
make check
make install</userinput></screen></para>
<para>Prepare Make to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
<para>Compile the program:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Test the program:</para>
<para><screen><userinput>make check</userinput></screen></para>
<para>Then install it and its documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>

View File

@ -3,12 +3,31 @@
<sect2>
<title>Installation of Ncurses</title>
<para>Fix two minor things:</para>
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch
./configure --prefix=/stage1 --with-shared --without-debug \
&nbsp;&nbsp;&nbsp;&nbsp;--without-ada
make
make install
chmod 755 /stage1/lib/*.5.3</userinput></screen></para>
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para>
<para>The first patch corrects the <filename>etip.h</filename> header file, and
the second patch prevents some compiler warnings being issued on the use of
deprecated headers.</para>
<para>Now prepare Ncurses to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1 --with-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--without-debug --without-ada</userinput></screen></para>
<para>Compile the programs and libraries:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Then install them and their documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
<para>And make some of the libraries executable:</para>
<para><screen><userinput>chmod 755 /stage1/lib/*.5.3</userinput></screen></para>
</sect2>

View File

@ -3,10 +3,20 @@
<sect2>
<title>Installation of Patch</title>
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/stage1
make
make install</userinput></screen></para>
<para>Prepare Patch to be compiled:</para>
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/stage1</userinput></screen></para>
<para>The preprocessor flag <userinput>-D_GNU_SOURCE</userinput> is only needed
on the PowerPC platform. On other architectures you can leave it out.</para>
<para>Compile the program:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Then install it and its documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>

View File

@ -3,10 +3,21 @@
<sect2>
<title>Installation of Sed</title>
<para><screen><userinput>./configure --prefix=/stage1
make
make check
make install</userinput></screen></para>
<para>Prepare Sed to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
<para>Compile the program:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Test the program:</para>
<para><screen><userinput>make check</userinput></screen></para>
<para>Then install it and its documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>

View File

@ -3,10 +3,21 @@
<sect2>
<title>Installation of Tar</title>
<para><screen><userinput>./configure --prefix=/stage1
make
make check
make install</userinput></screen></para>
<para>Prepare Tar to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
<para>Compile the programs:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Check that the programs work correctly:</para>
<para><screen><userinput>make check</userinput></screen></para>
<para>Then install them and their documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>

View File

@ -3,11 +3,21 @@
<sect2>
<title>Installation of Texinfo</title>
<para><screen><userinput>./configure --prefix=/stage1
make
make check
make install</userinput></screen></para>
<para>Prepare Texinfo to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
<para>Compile the programs:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Check that the programs work correctly:</para>
<para><screen><userinput>make check</userinput></screen></para>
<para>Then install them and their documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>