mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-11 14:54:17 +01:00
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:
parent
6e3b255254
commit
323252bf26
@ -3,11 +3,22 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Gettext</title>
|
<title>Installation of Gettext</title>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/stage1
|
<para>Prepare Gettext to be compiled:</para>
|
||||||
make
|
|
||||||
make check
|
|
||||||
make install</userinput></screen></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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,12 +3,22 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Grep</title>
|
<title>Installation of Grep</title>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/stage1 \
|
<para>Prepare Grep to be compiled:</para>
|
||||||
--disable-perl-regexp --with-included-regex
|
|
||||||
make
|
|
||||||
make check
|
|
||||||
make install</userinput></screen></para>
|
|
||||||
|
|
||||||
|
<para><screen><userinput>./configure --prefix=/stage1 \
|
||||||
|
--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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,10 +3,21 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Make</title>
|
<title>Installation of Make</title>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/stage1
|
<para>Prepare Make to be compiled:</para>
|
||||||
make
|
|
||||||
make check
|
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
|
||||||
make install</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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,12 +3,31 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Ncurses</title>
|
<title>Installation of Ncurses</title>
|
||||||
|
|
||||||
|
<para>Fix two minor things:</para>
|
||||||
|
|
||||||
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
|
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
|
||||||
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch
|
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para>
|
||||||
./configure --prefix=/stage1 --with-shared --without-debug \
|
|
||||||
--without-ada
|
<para>The first patch corrects the <filename>etip.h</filename> header file, and
|
||||||
make
|
the second patch prevents some compiler warnings being issued on the use of
|
||||||
make install
|
deprecated headers.</para>
|
||||||
chmod 755 /stage1/lib/*.5.3</userinput></screen></para>
|
|
||||||
|
<para>Now prepare Ncurses to be compiled:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>./configure --prefix=/stage1 --with-shared \
|
||||||
|
--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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,10 +3,20 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Patch</title>
|
<title>Installation of Patch</title>
|
||||||
|
|
||||||
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/stage1
|
<para>Prepare Patch to be compiled:</para>
|
||||||
make
|
|
||||||
make install</userinput></screen></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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,10 +3,21 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Sed</title>
|
<title>Installation of Sed</title>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/stage1
|
<para>Prepare Sed to be compiled:</para>
|
||||||
make
|
|
||||||
make check
|
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
|
||||||
make install</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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,10 +3,21 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Tar</title>
|
<title>Installation of Tar</title>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/stage1
|
<para>Prepare Tar to be compiled:</para>
|
||||||
make
|
|
||||||
make check
|
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
|
||||||
make install</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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,11 +3,21 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Texinfo</title>
|
<title>Installation of Texinfo</title>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/stage1
|
<para>Prepare Texinfo to be compiled:</para>
|
||||||
make
|
|
||||||
make check
|
|
||||||
make install</userinput></screen></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>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user