Upgraded to: automake-1.6.1, bin86-0.16.3, file-3.38, gawk-3.1.1, gcc-3.1, gettext-0.11.2, modutils-2.4.16, psmisc-21 and util-linux-2.11r. Added gcc-3.1 compile fix patches for ncurses, perl and vim

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1917 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2002-05-27 03:17:49 +00:00
parent 69b8ba44aa
commit f6810d47a9
37 changed files with 108 additions and 80 deletions

View File

@ -2,9 +2,5 @@
<title>Official Download Location</title>
<para><literallayout>GCC (&gcc-version;):
<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/>
GCC Patch (&gcc-patch-version;):
<ulink url="&ftp;/"/>
<ulink url="&http;/"/></literallayout></para>
<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/></literallayout></para>
</sect2>

View File

@ -2,5 +2,9 @@
<title>Official Download Location</title>
<para><literallayout>Ncurses (&ncurses-version;):
<ulink url="ftp://ftp.gnu.org/gnu/ncurses/"/></literallayout></para>
<ulink url="ftp://ftp.gnu.org/gnu/ncurses/"/>
Ncurses Patch (&ncurses-version;):
<ulink url="&ftp;/"/>
<ulink url="&http;/"/></literallayout></para>
</sect2>

View File

@ -2,5 +2,9 @@
<title>Official Download Location</title>
<para><literallayout>Perl (&perl-version;):
<ulink url="http://www.perl.com/"/></literallayout></para>
<ulink url="http://www.perl.com/"/>
Perl Patch (&perl-version;):
<ulink url="&ftp;/"/>
<ulink url="&http;/"/></literallayout></para>
</sect2>

View File

@ -2,5 +2,9 @@
<title>Official Download Location</title>
<para><literallayout>Vim (&vim-version;):
<ulink url="ftp://ftp.vim.org/pub/editors/vim/unix/"/></literallayout></para>
<ulink url="ftp://ftp.vim.org/pub/editors/vim/unix/"/>
Vim Patch (&vim-version;):
<ulink url="&ftp;/"/>
<ulink url="&http;/"/></literallayout></para>
</sect2>

View File

@ -7,26 +7,43 @@
<itemizedlist>
<listitem><para>Updated to:
<itemizedlist>
<listitem><para>automake-1.6.1</para></listitem>
<listitem><para>bin86-0.16.3</para></listitem>
<listitem><para>bison-1.35</para></listitem>
<listitem><para>diffutils-2.8.1</para></listitem>
<listitem><para>file-3.38</para></listitem>
<listitem><para>gawk-3.1.1</para></listitem>
<listitem><para>gcc-3.1</para></listitem>
<listitem><para>gettext-0.11.2</para></listitem>
<listitem><para>MAKEDEV-1.5</para></listitem>
<listitem><para>modutils-2.4.16</para></listitem>
<listitem><para>psmisc-21</para></listitem>
<listitem><para>texinfo-4.2</para></listitem>
<listitem><para>util-linux-2.11q</para></listitem>
<listitem><para>util-linux-2.11r</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>Added:
<itemizedlist>
<listitem><para>ncurses-5.2.patch</para></listitem>
<listitem><para>perl-5.6.1.patch</para></listitem>
<listitem><para>vim-6.1.patch</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>Removed:
<itemizedlist>
<listitem><para>gzip-1.2.4a-patch</para></listitem>
<listitem><para>sh-utils-2.0-patch</para></listitem>
<listitem><para>gzip-1.2.4a.patch</para></listitem>
<listitem><para>sh-utils-2.0.patch</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>May 26th, 2002 [gerard]: Upgraded to: automake-1.6.1,
bin86-0.16.3, file-3.38, gawk-3.1.1, gcc-3.1, gettext-0.11.2,
modutils-2.4.16, psmisc-21 and util-linux-2.11r. Added gcc-3.1 compile fix
patches for ncurses, perl and vim.</para></listitem>
<listitem><para>May 26th, 2002 [gerard]: Chapter 05+06 - Binutils: Removed
the tooldir setting from chapter 05-binutils, moved its description to
chapter 06-binutils.</para></listitem>

View File

@ -1,3 +0,0 @@
GCC Patch (&gcc-patch-version;) - &gcc-patch-size;:
<ulink url="&ftp;/gcc-&gcc-patch-version;.patch.bz2"/>
<ulink url="&http;/gcc-&gcc-patch-version;.patch.bz2"/>

View File

@ -0,0 +1,3 @@
Ncurses Patch (&ncurses-version;) - &ncurses-patch-size;:
<ulink url="&ftp;/ncurses-&ncurses-version;.patch.bz2"/>
<ulink url="&http;/ncurses-&ncurses-version;.patch.bz2"/>

View File

@ -11,7 +11,6 @@
&c3-diffutils;
&c3-fileutils;
&c3-gcc;
&c3-gcc-patch;
&c3-kernel;
&c3-grep;
&c3-gzip;
@ -32,12 +31,15 @@
&c3-findutils;
&c3-findutils-patch;
&c3-ncurses;
&c3-ncurses-patch;
&c3-vim;
&c3-vim-patch;
&c3-bison;
&c3-less;
&c3-groff;
&c3-man;
&c3-perl;
&c3-perl-patch;
&c3-m4;
&c3-autoconf;
&c3-automake;

3
chapter04/perl-patch.xml Normal file
View File

@ -0,0 +1,3 @@
Perl Patch (&perl-version;) - &perl-patch-size;:
<ulink url="&ftp;/perl-&perl-version;.patch.bz2"/>
<ulink url="&http;/perl-&perl-version;.patch.bz2"/>

3
chapter04/vim-patch.xml Normal file
View File

@ -0,0 +1,3 @@
Vim Patch (&vim-version;) - &vim-patch-size;:
<ulink url="&ftp;/vim-&vim-version;.patch.bz2"/>
<ulink url="&http;/vim-&vim-version;.patch.bz2"/>

View File

@ -1,11 +1,6 @@
<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput>
This patch deals with the incorrect handling of weak symbols, the
over-optimization of calls to those weak symbols, an atexit issue, and
the __dso_handle symbol required for atexit's proper function.</para>
<para><userinput>make BOOT_LDFLAGS=-static:</userinput>
This is the equivalent to make LDFLAGS=-static as we use with other
packages to compile them statically.</para>
@ -31,11 +26,5 @@ cpp in /lib.</para>
creates the $LFS/usr/lib/cpp symlink as there are packages that expect
cpp to be in /usr/lib.</para>
<para><userinput>rmdir $LFS/usr/*-gnu/include</userinput> and
<userinput>rmdir $LFS/usr/*-gnu</userinput>: These directories are created
as empty directories by GCC and serve absolutely no purpose whatsoever.
It's related to cross-compilers but that doesn't apply to us and it's
considered a bug in GCC that you can't turn that off, especially since they
end up being empty directories. So we remove them manually.</para>
</sect2>

View File

@ -14,16 +14,13 @@ been warned.</para>
<para>Install GCC by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
mkdir ../gcc-build &amp;&amp;
<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c,c++ \
&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;
make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
make prefix=$LFS/static install &amp;&amp;
ln -s gcc $LFS/static/bin/cc &amp;&amp;
rmdir $LFS/static/*-gnu/include &amp;&amp;
rmdir $LFS/static/*-gnu</userinput></screen></para>
ln -s gcc $LFS/static/bin/cc</userinput></screen></para>
</sect2>

View File

@ -1,11 +0,0 @@
<sect2>
<title>Command explanations</title>
<para><userinput>touch aclocal.m4 configure Makefile.in stamp-h.in</userinput>:
This command works around an error which occurs when compiling file with
automake-1.5 installed by changing the modification dates of some files to
the current date. Changing the date will cause make to think the files are
already up-to-date so they're not recreated.</para>
</sect2>

View File

@ -3,8 +3,7 @@
<para>Install File by running the following commands:</para>
<para><screen><userinput>touch aclocal.m4 configure Makefile.in stamp-h.in &amp;&amp;
./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;
<para><screen><userinput>./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>

View File

@ -6,7 +6,6 @@
Estimated required disk space: &file-compsize;</screen>
&c6-file-inst;
&c6-file-exp;
&aa-file-desc;
&aa-file-dep;

View File

@ -7,7 +7,7 @@ commands.</para>
<para>Install Findutils by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-version;.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make libexecdir=/usr/bin &amp;&amp;
make libexecdir=/usr/bin install</userinput></screen></para>

View File

@ -22,18 +22,16 @@ are available.</para>
<para>Note: the build of other compilers is not tested by the people
who actively work on LFS.</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
mkdir ../gcc-build &amp;&amp;
<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix \
&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib &amp;&amp;
make bootstrap &amp;&amp;
make install &amp;&amp;
ln -sf ../usr/bin/cpp /lib &amp;&amp;
ln -sf ../bin/cpp /usr/lib &amp;&amp;
ln -sf gcc /usr/bin/cc &amp;&amp;
rmdir /usr/*-gnu/include &amp;&amp;
rmdir /usr/*-gnu</userinput></screen></para>
ln -sf gcc /usr/bin/cc</userinput></screen></para>
</sect2>

View File

@ -1,6 +1,11 @@
<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i
../ncurses-&ncurses-version;-patch:</userinput> This patch fixes a compile
problem with GCC-3.1 because Ncurses uses constructions that are no longer
valid in the new C++ standard.</para>
<para><userinput>--with-shared:</userinput> This enables the build of the
shared ncurses library files.</para>

View File

@ -3,7 +3,8 @@
<para>Install Ncurses by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr --libdir=/lib \
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-patch &amp;&amp;
./configure --prefix=/usr --libdir=/lib \
&nbsp;&nbsp;&nbsp;&nbsp;--with-shared --disable-termcap &amp;&amp;
make &amp;&amp;
make install &amp;&amp;

8
chapter06/perl-exp.xml Normal file
View File

@ -0,0 +1,8 @@
<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i ../perl-&perl-version;.patch:</userinput> This
patch fixes a compile problem with GCC-3.1.</para>
</sect2>

View File

@ -3,7 +3,8 @@
<para>Install Perl by running the following commands:</para>
<para><screen><userinput>./configure.gnu --prefix=/usr &amp;&amp;
<para><screen><userinput>patch -Np1 -i ../perl-&perl-version;.patch &amp;&amp;
./configure.gnu --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>

View File

@ -6,6 +6,7 @@
Estimated required disk space: &perl-compsize;</screen>
&c6-perl-inst;
&c6-perl-exp;
&aa-perl-desc;
&aa-perl-dep;

View File

@ -1,6 +1,9 @@
<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i ../vim-&vim-version;.patch:</userinput> This
patch fixes a compile problem with GCC-3.1.</para>
<para><userinput>make
CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\":</userinput> Setting this will
cause vim to look for the <filename>/etc/vimrc</filename> file that

View File

@ -9,7 +9,8 @@ which are currently available are for Emacs, Joe and nano.</para>
<para>Install Vim by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
<para><screen><userinput>patch -Np1 -i ../vim-&vim-version;.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
make install &amp;&amp;
ln -sf vim /usr/bin/vi</userinput></screen></para>

View File

@ -8,10 +8,10 @@
<!ENTITY aa-automake-dep SYSTEM "../appendixa/automake-dep.xml">
<!ENTITY aa-automake-down SYSTEM "../appendixa/automake-down.xml">
<!ENTITY automake-version "1.6">
<!ENTITY automake-version "1.6.1">
<!ENTITY automake-depversion "1.5">
<!ENTITY automake-contversion "1.5">
<!ENTITY automake-size "451 KB">
<!ENTITY automake-size "486 KB">
<!ENTITY automake-package "automake-&automake-version;.tar.bz2">
<!ENTITY automake-dir "automake-&automake-version;">

View File

@ -8,10 +8,10 @@
<!ENTITY aa-bin86-dep SYSTEM "../appendixa/bin86-dep.xml">
<!ENTITY aa-bin86-down SYSTEM "../appendixa/bin86-down.xml">
<!ENTITY bin86-version "0.16.2">
<!ENTITY bin86-version "0.16.3">
<!ENTITY bin86-depversion "0.16.0">
<!ENTITY bin86-contversion "0.16.0">
<!ENTITY bin86-size "112 KB">
<!ENTITY bin86-size "113 KB">
<!ENTITY bin86-dir "bin86-&bin86-version;">
<!ENTITY bin86-package "bin86-&bin86-version;.tar.bz2">

View File

@ -2,17 +2,16 @@
<!ENTITY c6-file SYSTEM "../chapter06/file.xml">
<!ENTITY c6-file-inst SYSTEM "../chapter06/file-inst.xml">
<!ENTITY c6-file-exp SYSTEM "../chapter06/file-exp.xml">
<!ENTITY aa-file SYSTEM "../appendixa/file.xml">
<!ENTITY aa-file-desc SYSTEM "../appendixa/file-desc.xml">
<!ENTITY aa-file-dep SYSTEM "../appendixa/file-dep.xml">
<!ENTITY aa-file-down SYSTEM "../appendixa/file-down.xml">
<!ENTITY file-version "3.37">
<!ENTITY file-version "3.38">
<!ENTITY file-depversion "3.37">
<!ENTITY file-contversion "3.37">
<!ENTITY file-size "140 KB">
<!ENTITY file-size "149 KB">
<!ENTITY file-dir "file-&file-version;">
<!ENTITY file-package "file-&file-version;.tar.bz2">

View File

@ -11,10 +11,10 @@
<!ENTITY aa-gawk-dep SYSTEM "../appendixa/gawk-dep.xml">
<!ENTITY aa-gawk-down SYSTEM "../appendixa/gawk-down.xml">
<!ENTITY gawk-version "3.1.0">
<!ENTITY gawk-version "3.1.1">
<!ENTITY gawk-depversion "3.1.0">
<!ENTITY gawk-contversion "3.1.0">
<!ENTITY gawk-size "1,286 KB">
<!ENTITY gawk-size "1,420 KB">
<!ENTITY gawk-dir "gawk-&gawk-version;">
<!ENTITY gawk-package "gawk&gawk-version;.tar.bz2">

View File

@ -13,12 +13,10 @@
<!ENTITY aa-gcc-dep SYSTEM "../appendixa/gcc-dep.xml">
<!ENTITY aa-gcc-down SYSTEM "../appendixa/gcc-down.xml">
<!ENTITY gcc-version "2.95.3">
<!ENTITY gcc-version "3.1">
<!ENTITY gcc-depversion "2.95.3">
<!ENTITY gcc-contversion "2.95.3">
<!ENTITY gcc-size "9,618 KB">
<!ENTITY gcc-patch-version "2.95.3-2">
<!ENTITY gcc-patch-size "8 KB">
<!ENTITY gcc-size "19,966 KB">
<!ENTITY gcc-package "gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-dir "gcc-&gcc-version;">

View File

@ -8,10 +8,10 @@
<!ENTITY aa-gettext-dep SYSTEM "../appendixa/gettext-dep.xml">
<!ENTITY aa-gettext-down SYSTEM "../appendixa/gettext-down.xml">
<!ENTITY gettext-version "0.11.1">
<!ENTITY gettext-version "0.11.2">
<!ENTITY gettext-depversion "0.10.40">
<!ENTITY gettext-contversion "0.10.40">
<!ENTITY gettext-size "2,039 KB">
<!ENTITY gettext-size "2,120 KB">
<!ENTITY gettext-dir "gettext-&gettext-version;">
<!ENTITY gettext-package "gettext-&gettext-version;.tar.bz2">

View File

@ -8,7 +8,7 @@
<!ENTITY aa-modutils-dep SYSTEM "../appendixa/modutils-dep.xml">
<!ENTITY aa-modutils-down SYSTEM "../appendixa/modutils-down.xml">
<!ENTITY modutils-version "2.4.15">
<!ENTITY modutils-version "2.4.16">
<!ENTITY modutils-depversion "2.4.12">
<!ENTITY modutils-contversion "2.4.12">
<!ENTITY modutils-size "211 KB">

View File

@ -1,4 +1,5 @@
<!ENTITY c3-ncurses SYSTEM "../chapter03/ncurses.xml">
<!ENTITY c3-ncurses-patch SYSTEM "../chapter03/ncurses-patch.xml">
<!ENTITY c6-ncurses SYSTEM "../chapter06/ncurses.xml">
<!ENTITY c6-ncurses-inst SYSTEM "../chapter06/ncurses-inst.xml">
@ -13,6 +14,7 @@
<!ENTITY ncurses-depversion "5.2">
<!ENTITY ncurses-contversion "5.2">
<!ENTITY ncurses-size "1,308 KB">
<!ENTITY ncurses-patch-size "1 KB">
<!ENTITY ncurses-dir "ncurses-&ncurses-version;">
<!ENTITY ncurses-package "ncurses-&ncurses-version;.tar.bz2">

View File

@ -1,7 +1,9 @@
<!ENTITY c3-perl SYSTEM "../chapter03/perl.xml">
<!ENTITY c3-perl-patch SYSTEM "../chapter03/perl-patch.xml">
<!ENTITY c6-perl SYSTEM "../chapter06/perl.xml">
<!ENTITY c6-perl-inst SYSTEM "../chapter06/perl-inst.xml">
<!ENTITY c6-perl-exp SYSTEM "../chapter06/perl-exp.xml">
<!ENTITY aa-perl SYSTEM "../appendixa/perl.xml">
<!ENTITY aa-perl-desc SYSTEM "../appendixa/perl-desc.xml">
@ -12,6 +14,7 @@
<!ENTITY perl-depversion "5.6.1">
<!ENTITY perl-contversion "5.6.1">
<!ENTITY perl-size "4,750 KB">
<!ENTITY perl-patch-size "4 KB">
<!ENTITY perl-dir "perl-&perl-version;">
<!ENTITY perl-package "perl-&perl-version;.tar.bz2">

View File

@ -9,10 +9,10 @@
<!ENTITY aa-psmisc-dep SYSTEM "../appendixa/psmisc-dep.xml">
<!ENTITY aa-psmisc-down SYSTEM "../appendixa/psmisc-down.xml">
<!ENTITY psmisc-version "20.2">
<!ENTITY psmisc-version "21">
<!ENTITY psmisc-depversion "20.2">
<!ENTITY psmisc-contversion "20.2">
<!ENTITY psmisc-size "123 KB">
<!ENTITY psmisc-size "172 KB">
<!ENTITY psmisc-dir "psmisc-&psmisc-version;">
<!ENTITY psmisc-package "psmisc-&psmisc-version;.tar.bz2">

View File

@ -12,7 +12,7 @@
<!ENTITY aa-utillinux-dep SYSTEM "../appendixa/utillinux-dep.xml">
<!ENTITY aa-utillinux-down SYSTEM "../appendixa/utillinux-down.xml">
<!ENTITY util-linux-version "2.11q">
<!ENTITY util-linux-version "2.11r">
<!ENTITY util-linux-depversion "2.11n">
<!ENTITY util-linux-contversion "2.11n">
<!ENTITY util-linux-size "1,035 KB">

View File

@ -1,4 +1,5 @@
<!ENTITY c3-vim SYSTEM "../chapter03/vim.xml">
<!ENTITY c3-vim-patch SYSTEM "../chapter03/vim-patch.xml">
<!ENTITY c6-vim SYSTEM "../chapter06/vim.xml">
<!ENTITY c6-vim-inst SYSTEM "../chapter06/vim-inst.xml">
@ -14,6 +15,7 @@
<!ENTITY vim-depversion "6.0">
<!ENTITY vim-contversion "6.0">
<!ENTITY vim-size "2,890 KB">
<!ENTITY vim-patch-size "4 KB">
<!ENTITY vim-dir "vim&vim-version;">
<!ENTITY vim-package "vim-&vim-version;.tar.bz2">

View File

@ -13,9 +13,9 @@
<!ENTITY http "http://ftp.linuxfromscratch.org/lfs-packages/cvs">
<!ENTITY hints-root "http://hints.linuxfromscratch.org/hints/">
<!ENTITY all-version "cvs-20020501-1159">
<!ENTITY all-size-kb "87,320 KB">
<!ENTITY all-size-mb "85.27 MB">
<!ENTITY all-version "cvs-20020526-2002">
<!ENTITY all-size-kb "97,940 KB">
<!ENTITY all-size-mb "95.64 MB">
<!ENTITY % parts SYSTEM "entities/parts.ent">
<!ENTITY % bookinfo SYSTEM "entities/bookinfo.ent">