diff options
Diffstat (limited to 'chapter03')
-rw-r--r-- | chapter03/chapter03.xml | 326 | ||||
-rw-r--r-- | chapter03/introduction.xml | 57 | ||||
-rw-r--r-- | chapter03/packages.xml | 216 | ||||
-rw-r--r-- | chapter03/patches.xml | 74 |
4 files changed, 357 insertions, 316 deletions
diff --git a/chapter03/chapter03.xml b/chapter03/chapter03.xml index da14e970a..574d2db16 100644 --- a/chapter03/chapter03.xml +++ b/chapter03/chapter03.xml @@ -1,326 +1,20 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> <chapter id="chapter-getting-materials" xreflabel="Chapter 3"> +<?dbhtml dir="chapter03"?> <title>The materials: packages and patches</title> -<?dbhtml filename="chapter03.html" dir="chapter03"?> +<?dbhtml filename="chapter03.html"?> -<sect1 id="materials-introduction"> -<title>Introduction</title> -<?dbhtml filename="introduction.html" dir="chapter03"?> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/> -<para>Below is a list of packages you need to download for building a basic -Linux system. The listed version numbers correspond to versions of the -software that are <emphasis>known</emphasis> to work, and this book is -based upon them. Unless you are an experienced LFS builder, we highly -recommend not to try out newer versions, as the build commands for one -version may not work with a newer version. Also, there is often a good -reason for not using the latest version due to known problems that haven't -been worked around yet.</para> -<para>All the URLs, when possible, refer to the project's page at -<ulink url="http://www.freshmeat.net/"/>. The Freshmeat -pages will give you easy access to the official download sites as well as -project websites, mailing lists, FAQs, changelogs and more.</para> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="packages.xml"/> -<para>We can't guarantee that these download locations are always available. -In case a download location has changed since this book was published, please -try to google for the package. Should you remain unsuccessful with this, you -can consult the book's errata page at <ulink url="&lfs-root;lfs/print/"/> -or, better yet, try one of the alternative means of downloading listed on -<ulink url="&lfs-root;lfs/packages.html"/>.</para> -<para>You'll need to store all the downloaded packages and patches somewhere -that is conveniently available throughout the entire build. You'll also need a -working directory in which to unpack the sources and build them. A scheme that -works well is to use <filename>$LFS/sources</filename> as the place to store -the tarballs and patches, <emphasis>and</emphasis> as a working directory. -This way everything you need will be located on the LFS partition and available -during all stages of the building process.</para> - -<para>So you may want to execute, as <emphasis>root</emphasis>, the following -command before starting your download session:</para> - -<screen><userinput>mkdir $LFS/sources</userinput></screen> - -<para>And make this directory writable (and sticky) for your normal user -- as -you won't do the downloading as <emphasis>root</emphasis>, we guess:</para> - -<screen><userinput>chmod a+wt $LFS/sources</userinput></screen> - -<!-- -<para>For your convenience the top of the list contains a link to a file -you can use with the <ulink url="http://wget.sunsite.dk">wget</ulink> -program. Using this file and the <command>wget</command> program will -make it easy to download all the files at once, rather than downloading each -and every individual file manually.</para> ---> - -</sect1> - - -<sect1 id="materials-packages"> -<title>All the packages</title> -<?dbhtml filename="packages.html" dir="chapter03"?> - -<para>Download or otherwise obtain the following packages:</para> - -<literallayout> -Autoconf (&autoconf-version;) - &autoconf-size;: -<ulink url="http://freshmeat.net/projects/autoconf/"/> - -Automake (&automake-version;) - &automake-size;: -<ulink url="http://freshmeat.net/projects/automake/"/> - -Bash (&bash-version;) - &bash-size;: -<ulink url="http://freshmeat.net/projects/gnubash/"/> - -Binutils (&binutils-version;) - &binutils-size;: -<ulink url="http://freshmeat.net/projects/binutils/"/> - -Bison (&bison-version;) - &bison-size;: -<ulink url="http://freshmeat.net/projects/bison/"/> - -Bzip2 (&bzip2-version;) - &bzip2-size;: -<ulink url="http://freshmeat.net/projects/bzip2/"/> - -Coreutils (&coreutils-version;) - &coreutils-size;: -<ulink url="http://freshmeat.net/projects/coreutils/"/> - -DejaGnu (&dejagnu-version;) - &dejagnu-size;: -<ulink url="http://freshmeat.net/projects/dejagnu/"/> - -Diffutils (&diffutils-version;) - &diffutils-size;: -<ulink url="http://freshmeat.net/projects/diffutils/"/> - -E2fsprogs (&e2fsprogs-version;) - &e2fsprogs-size;: -<ulink url="http://freshmeat.net/projects/e2fsprogs/"/> - -Ed (&ed-version;) - &ed-size;: -<ulink url="http://freshmeat.net/projects/ed/"/> - -Expect (&expect-version;) - &expect-size;: -<ulink url="http://freshmeat.net/projects/expect/"/> - -File (&file-version;) - &file-size;: -- <emphasis>(see Note 1 below)</emphasis> -<ulink url="http://freshmeat.net/projects/file/"/> - -Findutils (&findutils-version;) - &findutils-size;: -<ulink url="http://freshmeat.net/projects/findutils/"/> - -Flex (&flex-version;) - &flex-size;: -<ulink url="ftp://ftp.gnu.org/gnu/non-gnu/flex/"/> - -Gawk (&gawk-version;) - &gawk-size;: -<ulink url="http://freshmeat.net/projects/gnuawk/"/> - -GCC-core (&gcc-version;) - &gcc-core-size;: -<ulink url="http://freshmeat.net/projects/gcc/"/> -GCC-g++ (&gcc-version;) - &gcc-gpp-size;: -<ulink url="http://freshmeat.net/projects/gcc/"/> -GCC-testsuite (&gcc-version;) - &gcc-testsuite-size;: -<ulink url="http://freshmeat.net/projects/gcc/"/> - -GCC-2 (&gcc-2953-version;) - &gcc-2953-size;: -<ulink url="http://freshmeat.net/projects/gcc/"/> - -Gettext (&gettext-version;) - &gettext-size;: -<ulink url="http://freshmeat.net/projects/gettext/"/> - -Glibc (&glibc-version;) - &glibc-size;: -- <emphasis>(see Note 2 below)</emphasis> -<ulink url="http://freshmeat.net/projects/glibc/"/> - -Grep (&grep-version;) - &grep-size;: -<ulink url="http://freshmeat.net/projects/grep/"/> - -Groff (&groff-version;) - &groff-size;: -<ulink url="http://freshmeat.net/projects/groff/"/> - -Grub (&grub-version;) - &grub-size;: -<ulink url="ftp://alpha.gnu.org/pub/gnu/grub/"/> - -Gzip (&gzip-version;) - &gzip-size;: -<ulink url="ftp://alpha.gnu.org/gnu/gzip/"/> - -Inetutils (&inetutils-version;) - &inetutils-size;: -<ulink url="http://freshmeat.net/projects/inetutils/"/> - -Kbd (&kbd-version;) - &kbd-size;: -<ulink url="http://freshmeat.net/projects/kbd/"/> - -Less (&less-version;) - &less-size;: -<ulink url="http://freshmeat.net/projects/less/"/> - -LFS-Bootscripts (&bootscripts-version;) - &bootscripts-size;: -<ulink url="&http-down;lfs-bootscripts-&bootscripts-version;.tar.bz2"/> - -Lfs-Utils (&lfs-utils-version;) - &lfs-utils-size;: -<ulink url="&lfs-root;~winkie/downloads/lfs-utils/"/> - -Libtool (&libtool-version;) - &libtool-size;: -<ulink url="http://freshmeat.net/projects/libtool/"/> - -Linux (&kernel-version;) - &kernel-size;: -<ulink url="http://freshmeat.net/projects/linux/"/> - -M4 (&m4-version;) - &m4-size;: -<ulink url="http://freshmeat.net/projects/gnum4/"/> - -Make (&make-version;) - &make-size;: -<ulink url="http://freshmeat.net/projects/gnumake/"/> - -Make_devices (&makedev-version;) - &makedev-size;: -<ulink url="&lfs-root;~alex/make_devices-&makedev-version;.bz2"/> - -Man (&man-version;) - &man-size;: -<ulink url="http://freshmeat.net/projects/man/"/> - -Man-pages (&man-pages-version;) - &man-pages-size;: -<ulink url="http://freshmeat.net/projects/man-pages/"/> - -Modutils (&modutils-version;) - &modutils-size;: -<ulink url="http://freshmeat.net/projects/modutils/"/> - -Ncurses (&ncurses-version;) - &ncurses-size;: -<ulink url="http://freshmeat.net/projects/ncurses/"/> - -Net-tools (&net-tools-version;) - &net-tools-size;: -<ulink url="http://freshmeat.net/projects/net-tools/"/> - -Patch (&patch-version;) - &patch-size;: -<ulink url="http://freshmeat.net/projects/patch/"/> - -Perl (&perl-version;) - &perl-size;: -<ulink url="http://freshmeat.net/projects/perl/"/> - -Procinfo (&procinfo-version;) - &procinfo-size;: -<ulink url="http://freshmeat.net/projects/procinfo/"/> - -Procps (&procps-version;) - &procps-size;: -<ulink url="http://freshmeat.net/projects/procps/"/> - -Psmisc (&psmisc-version;) - &psmisc-size;: -<ulink url="http://freshmeat.net/projects/psmisc/"/> - -Sed (&sed-version;) - &sed-size;: -<ulink url="http://freshmeat.net/projects/sed/"/> - -Shadow (&shadow-version;) - &shadow-size;: -<ulink url="http://freshmeat.net/projects/shadow/"/> - -Sysklogd (&sysklogd-version;) - &sysklogd-size;: -<ulink url="http://freshmeat.net/projects/sysklogd/"/> - -Sysvinit (&sysvinit-version;) - &sysvinit-size;: -<ulink url="http://freshmeat.net/projects/sysvinit/"/> - -Tar (&tar-version;) - &tar-size;: -<ulink url="ftp://alpha.gnu.org/gnu/tar/"/> - -Tcl (&tcl-version;) - &tcl-size;: -<ulink url="http://freshmeat.net/projects/tcltk/"/> - -Texinfo (&texinfo-version;) - &texinfo-size;: -<ulink url="http://freshmeat.net/projects/texinfo/"/> - -Util-linux (&util-linux-version;) - &util-linux-size;: -<ulink url="http://freshmeat.net/projects/util-linux/"/> - -Vim (&vim-version;) - &vim-size;: -<ulink url="http://freshmeat.net/projects/vim/"/> - -Zlib (&zlib-version;) - &zlib-size;: -<ulink url="http://freshmeat.net/projects/zlib/"/> - -Total size of these packages: &all-size-mb; -</literallayout> - -<note><para>1) File (&file-version;) may not be available by the time you read -this. The site admins of the master download location are known to occasionally -remove old versions when new ones are released. Please refer to the -<xref linkend="ch-system-file"/> section for an alternate download -location.</para></note> - -<note><para>2) As of this writing, the Glibc maintainers have decided in their -wisdom not to make available new release tarballs for download. The only way to -obtain the current Glibc release from pristine upstream sources is to pull it -from the Glibc CVS repository. The following commands will download the current -release and make a tarball from it:</para> - -<screen><userinput>cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc \ - export -d &glibc-dir; -D "2003-12-02 UTC" libc -tar jcvf &glibc-package; &glibc-dir;</userinput></screen> - -<para>Alternatively, we've made our own tarball available which you can -download courtesy of the generous LFS mirror sites. Please refer to the -<xref linkend="ch-tools-glibc"/> section for the download links.</para></note> - -</sect1> - - -<sect1 id="materials-patches"> -<title>Needed patches</title> -<?dbhtml filename="patches.html" dir="chapter03"?> - -<para>Besides all those packages, you'll also need several patches. These -correct tiny mistakes in the packages that should be fixed by the maintainer, -or just make some small modifications to bend things our way. You'll need the -following:</para> - -<literallayout> -Bash Patch - &bash-patch-size;: -<ulink url="&patches-root;&bash-patch;"/> - -Bison Attribute Patch - &bison-patch-size;: -<ulink url="&patches-root;&bison-patch;"/> - -Coreutils Hostname Patch - &coreutils-hostname-patch-size;: -<ulink url="&patches-root;&coreutils-hostname-patch;"/> -Coreutils Posixver Patch - &coreutils-posixver-patch-size;: -<ulink url="&patches-root;&coreutils-posixver-patch;"/> -Coreutils Uname Patch - &coreutils-uname-patch-size;: -<ulink url="&patches-root;&coreutils-uname-patch;"/> - -Ed Mkstemp Patch - &ed-patch-size;: -<ulink url="&patches-root;&ed-patch;"/> - -Expect Spawn Patch - &expect-patch-size;: -<ulink url="&patches-root;&expect-patch;"/> - -GCC No-Fixincludes Patch - &gcc-nofixincludes-patch-size;: -<ulink url="&patches-root;&gcc-nofixincludes-patch;"/> -GCC Specs Patch - &gcc-specs-patch-size;: -<ulink url="&patches-root;&gcc-specs-patch;"/> - -GCC-2 Patch - &gcc-2953-patch-size;: -<ulink url="&patches-root;&gcc-2953-patch;"/> -GCC-2 No-Fixincludes Patch - &gcc-2953-no-fixinc-patch-size;: -<ulink url="&patches-root;&gcc-2953-no-fixinc-patch;"/> -GCC-2 Return-Type Patch - &gcc-2953-returntype-fix-patch-size;: -<ulink url="&patches-root;&gcc-2953-returntype-fix-patch;"/> - -Inetutils No-Server-Man-Pages Patch - &inetutils-no-server-man-pages-patch-size;: -<ulink url="&patches-root;&inetutils-no-server-man-pages-patch;"/> - -Kbd More-Programs Patch - &kbd-patch-size;: -<ulink url="&patches-root;&kbd-patch;"/> - -Man 80-Columns Patch - &man-80cols-patch-size;: -<ulink url="&patches-root;&man-80cols-patch;"/> - -Net-tools Mii-Tool-Gcc33 Patch - &net-tools-mii-patch-size;: -<ulink url="&patches-root;&net-tools-mii-patch;"/> - -Perl Libc Patch - &perl-libc-patch-size;: -<ulink url="&patches-root;&perl-libc-patch;"/> -</literallayout> - -<para>In addition to the above required patches, there exist a number of -optional ones created by the LFS community. Most of these solve slight -problems, or enable some functionality that's not enabled by default. -Feel free to examine the patches database, located at <ulink -url="&lfs-root;patches/"/>, and pick any additional patches you wish to -use.</para> - -</sect1> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patches.xml"/> </chapter> - diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml new file mode 100644 index 000000000..031d05c6e --- /dev/null +++ b/chapter03/introduction.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> +<sect1 id="materials-introduction"> +<title>Introduction</title> +<?dbhtml filename="introduction.html"?> + +<para>Below is a list of packages you need to download for building a basic +Linux system. The listed version numbers correspond to versions of the +software that are <emphasis>known</emphasis> to work, and this book is +based upon them. Unless you are an experienced LFS builder, we highly +recommend not to try out newer versions, as the build commands for one +version may not work with a newer version. Also, there is often a good +reason for not using the latest version due to known problems that haven't +been worked around yet.</para> + +<para>All the URLs, when possible, refer to the project's page at +<ulink url="http://www.freshmeat.net/"/>. The Freshmeat +pages will give you easy access to the official download sites as well as +project websites, mailing lists, FAQs, changelogs and more.</para> + +<para>We can't guarantee that these download locations are always available. +In case a download location has changed since this book was published, please +try to google for the package. Should you remain unsuccessful with this, you +can consult the book's errata page at <ulink url="&lfs-root;lfs/print/"/> +or, better yet, try one of the alternative means of downloading listed on +<ulink url="&lfs-root;lfs/packages.html"/>.</para> + +<para>You'll need to store all the downloaded packages and patches somewhere +that is conveniently available throughout the entire build. You'll also need a +working directory in which to unpack the sources and build them. A scheme that +works well is to use <filename>$LFS/sources</filename> as the place to store +the tarballs and patches, <emphasis>and</emphasis> as a working directory. +This way everything you need will be located on the LFS partition and available +during all stages of the building process.</para> + +<para>So you may want to execute, as <emphasis>root</emphasis>, the following +command before starting your download session:</para> + +<screen><userinput>mkdir $LFS/sources</userinput></screen> + +<para>And make this directory writable (and sticky) for your normal user -- as +you won't do the downloading as <emphasis>root</emphasis>, we guess:</para> + +<screen><userinput>chmod a+wt $LFS/sources</userinput></screen> + +<!-- +<para>For your convenience the top of the list contains a link to a file +you can use with the <ulink url="http://wget.sunsite.dk">wget</ulink> +program. Using this file and the <command>wget</command> program will +make it easy to download all the files at once, rather than downloading each +and every individual file manually.</para> +--> + +</sect1> diff --git a/chapter03/packages.xml b/chapter03/packages.xml new file mode 100644 index 000000000..aa11f6fcb --- /dev/null +++ b/chapter03/packages.xml @@ -0,0 +1,216 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> +<sect1 id="materials-packages"> +<title>All the packages</title> +<?dbhtml filename="packages.html"?> + +<para>Download or otherwise obtain the following packages:</para> + +<literallayout> +Autoconf (&autoconf-version;) - 903 KB: +<ulink url="&freshmeat;autoconf/"/> + +Automake (&automake-version;) - 644 KB: +<ulink url="&freshmeat;automake/"/> + +Bash (&bash-version;) - 1,910 KB: +<ulink url="&freshmeat;gnubash/"/> + +Binutils (&binutils-version;) - 10,666 KB: +<ulink url="&freshmeat;binutils/"/> + +Bison (&bison-version;) - 796 KB: +<ulink url="&freshmeat;bison/"/> + +Bzip2 (&bzip2-version;) - 650 KB: +<ulink url="&freshmeat;bzip2/"/> + +Coreutils (&coreutils-version;) - 3,860 KB: +<ulink url="&freshmeat;coreutils/"/> + +DejaGnu (&dejagnu-version;) - 1,055 KB: +<ulink url="&freshmeat;dejagnu/"/> + +Diffutils (&diffutils-version;) - 762 KB: +<ulink url="&freshmeat;diffutils/"/> + +E2fsprogs (&e2fsprogs-version;) - 3,003 KB: +<ulink url="&freshmeat;e2fsprogs/"/> + +Ed (&ed-version;) - 182 KB: +<ulink url="&freshmeat;ed/"/> + +Expect (&expect-version;) - 510 KB: +<ulink url="&freshmeat;expect/"/> + +File (&file-version;) - 356 KB: -- <emphasis>(see Note 1 below)</emphasis> +<ulink url="&freshmeat;file/"/> + +Findutils (&findutils-version;) - 760 KB: +<ulink url="&freshmeat;findutils/"/> + +Flex (&flex-version;) - 372 KB: +<ulink url="ftp://ftp.gnu.org/gnu/non-gnu/flex/"/> + +Gawk (&gawk-version;) - 1,596 KB: +<ulink url="&freshmeat;gnuawk/"/> + +GCC (&gcc-2953-version;) - 9,618 KB: +<ulink url="&freshmeat;gcc/"/> + +GCC-core (&gcc-version;) - 11,283KB: +<ulink url="&freshmeat;gcc/"/> + +GCC-g++ (&gcc-version;) - 2,026 KB: +<ulink url="&freshmeat;gcc/"/> + +GCC-testsuite (&gcc-version;) - 1,051 KB: +<ulink url="&freshmeat;gcc/"/> + +Gettext (&gettext-version;) - 6,397 KB: +<ulink url="&freshmeat;gettext/"/> + +Glibc (&glibc-version;) - 13,101 KB: -- <emphasis>(see Note 2 below)</emphasis> +<ulink url="&freshmeat;glibc/"/> + +Grep (&grep-version;) - 545 KB: +<ulink url="&freshmeat;grep/"/> + +Groff (&groff-version;) - 2,360 KB: +<ulink url="&freshmeat;groff/"/> + +Grub (&grub-version;) - 902 KB: +<ulink url="ftp://alpha.gnu.org/pub/gnu/grub/"/> + +Gzip (&gzip-version;) - 324 KB: +<ulink url="ftp://alpha.gnu.org/gnu/gzip/"/> + +Iana-Etc (&iana-etc-version;) - 161 KB: +<ulink url="&freshmeat;iana-etc/"/> + +Inetutils (&inetutils-version;) - 1,019 KB: +<ulink url="&freshmeat;inetutils/"/> + +Kbd (&kbd-version;) - 617 KB: +<ulink url="&freshmeat;kbd/"/> + +Less (&less-version;) - 259 KB: +<ulink url="&freshmeat;less/"/> + +LFS-Bootscripts (&bootscripts-version;) - 32 KB: +<ulink url="&http-down;"/> + +Libtool (&libtool-version;) - 2,602 KB: +<ulink url="&freshmeat;libtool/"/> + +Linux (&linux-version;) - 30,051 KB: +<ulink url="&freshmeat;linux/"/> + +M4 (&m4-version;) - 310 KB: +<ulink url="&freshmeat;gnum4/"/> + +Make (&make-version;) - 899 KB: +<ulink url="&freshmeat;gnumake/"/> + +Make_devices (&makedev-version;) - 20 KB: +<ulink url="&lfs-root;~alex/make_devices-1.2.bz2"/> + +Man (&man-version;) - 196 KB: +<ulink url="&freshmeat;man/"/> + +Man-pages (&man-pages-version;) - 1,582 KB: +<ulink url="&freshmeat;man-pages/"/> + +Mktemp (&mktemp-version;) - 69 KB: +<ulink url="&freshmeat;mktemp/"/> + +Modutils (&modutils-version;) - 229 KB: +<ulink url="&freshmeat;modutils/"/> + +Ncurses (&ncurses-version;) - 2,019 KB: +<ulink url="&freshmeat;ncurses/"/> + +Net-tools (&net-tools-version;) - 194 KB: +<ulink url="&freshmeat;net-tools/"/> + +Patch (&patch-version;) - 182 KB: +<ulink url="&freshmeat;patch/"/> + +Perl (&perl-version;) - 9,373 KB: +<ulink url="&freshmeat;perl/"/> + +Procinfo (&procinfo-version;) - 24 KB: +<ulink url="&freshmeat;procinfo/"/> + +Procps (&procps-version;) - 260 KB: +<ulink url="&freshmeat;procps/"/> + +Psmisc (&psmisc-version;) - 375 KB: +<ulink url="&freshmeat;psmisc/"/> + +Sed (&sed-version;) - 751 KB: +<ulink url="&freshmeat;sed/"/> + +Shadow (&shadow-version;) - 795 KB: +<ulink url="&freshmeat;shadow/"/> + +Sysklogd (&sysklogd-version;) - 80 KB: +<ulink url="&freshmeat;sysklogd/"/> + +Sysvinit (&sysvinit-version;) - 91 KB: +<ulink url="&freshmeat;sysvinit/"/> + +Tar (&tar-version;) - 1,025 KB: +<ulink url="ftp://alpha.gnu.org/gnu/tar/"/> + +Tcl (&tcl-version;) - 3,363 KB: +<ulink url="&freshmeat;tcltk/"/> + +Texinfo (&texinfo-version;) - 1,385 KB: +<ulink url="&freshmeat;texinfo/"/> + +Util-linux (&util-linux-version;) - 1,814 KB: +<ulink url="&freshmeat;util-linux/"/> + +Vim (&vim-version;) - 3,193 KB: +<ulink url="&freshmeat;vim/"/> + +Zlib (&zlib-version;) - 277 KB: +<ulink url="&freshmeat;zlib/"/> + +Total size of these packages: 134 MB +</literallayout> + +<note><para>1) File (&file-version;) may not be available by the time you read +this. The site administrators of the master download location are known to occasionally +remove old versions when new ones are released. An alternative download location +that may have older versions available is <ulink +url="ftp://gaosu.rave.org/pub/linux/lfs/"/>.</para></note> + +<note><para>2) As of this writing, the Glibc maintainers have decided in their +wisdom not to make available new release tarballs for download. The only way to +obtain the current Glibc release from pristine upstream sources is to pull it +from the Glibc CVS (Concurrent Versioning System) repository. The following commands will download the current +release and make a tarball from it:</para> + +<screen><userinput>cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc \ + export -d glibc-2.3.3-20031202 -D "2003-12-02 UTC" libc +tar jcvf glibc-2.3.3-20031202.tar.bz2 glibc-2.3.3-20031202</userinput></screen> + +<para>Alternatively, we've made our own tarball available which you can +download courtesy of the generous LFS mirror sites.</para> + +<literallayout><ulink url="ftp://gaosu.rave.org/pub/linux/lfs/packages/conglomeration/&glibc-version;.tar.bz2"/> +<ulink url="http://lfs.mirror.intermedia.com.sg/packages/glibc/&glibc-version;.tar.bz2"/> +<ulink url="ftp://lfs.mirror.intermedia.com.sg/pub/lfs/glibc/&glibc-version;.tar.bz2"/> +<ulink url="http://dl.lfs.fredan.org/&glibc-version;.tar.bz2"/> +<ulink url="http://packages.lfs-es.org/&glibc-version;.tar.bz2"/> +<ulink url="http://mirror.averse.net/lfs-packages/&glibc-version;.tar.bz2"/> +<ulink url="ftp://mirror.averse.net/pub/lfs-packages/&glibc-version;.tar.bz2"/> +<ulink url="ftp://ftp.lfs-matrix.de/lfs/packages/conglomeration/&glibc-version;.tar.bz2"/></literallayout> +</note> + +</sect1> diff --git a/chapter03/patches.xml b/chapter03/patches.xml new file mode 100644 index 000000000..2c72ca029 --- /dev/null +++ b/chapter03/patches.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> +<sect1 id="materials-patches"> +<title>Needed patches</title> +<?dbhtml filename="patches.html"?> + +<para>Besides all those packages, you'll also need several patches. These +correct tiny mistakes in the packages that should be fixed by the maintainer, +or just make some small modifications to bend things our way. You'll need the +following:</para> + +<literallayout> +Bash Patch - 7 KB: +<ulink url="&patches-root;bash-&bash-version;-2.patch"/> + +Bison Attribute Patch - 2 KB: +<ulink url="&patches-root;bison-&bison-version;-attribute.patch"/> + +Coreutils Hostname Patch - 1 KB: +<ulink url="&patches-root;coreutils-&coreutils-version;-hostname-1.patch"/> + +Coreutils Uname Patch - 1 KB: +<ulink url="&patches-root;coreutils-&coreutils-version;-uname-1.patch"/> + +Ed Mkstemp Patch - 1 KB: +<ulink url="&patches-root;ed-&ed-version;-mkstemp.patch"/> + +Expect Spawn Patch - 6 KB: +<ulink url="&patches-root;expect-&expect-version;-spawn-1.patch"/> + +GCC No-Fixincludes Patch - 1 KB: +<ulink url="&patches-root;gcc-&gcc-version;-no_fixincludes-1.patch"/> + +GCC Specs Patch - 11 KB: +<ulink url="&patches-root;gcc-&gcc-version;-specs-1.patch"/> + +GCC-2 Patch - 16 KB: +<ulink url="&patches-root;gcc-&gcc-2953-version;-2.patch"/> + +GCC-2 No-Fixincludes Patch - 1 KB: +<ulink url="&patches-root;gcc-&gcc-2953-version;-no-fixinc.patch"/> + +GCC-2 Return-Type Patch - 1 KB: +<ulink url="&patches-root;gcc-&gcc-2953-version;-returntype-fix.patch"/> + +Inetutils No-Server-Man-Pages Patch - 4 KB: +<ulink url="&patches-root;inetutils-&inetutils-version;-no_server_man_pages-1.patch"/> + +Kbd More-Programs Patch - 1 KB: +<ulink url="&patches-root;kbd-&kbd-version;-more-programs-1.patch"/> + +Man 80-Columns Patch - 1 KB: +<ulink url="&patches-root;man-&man-version;-80cols.patch"/> + +Mktemp Tempfile Patch - 3 KB: +<ulink url="&patches-root;mktemp-&mktemp-version;-add-tempfile.patch"/> + +Net-tools Mii-Tool-Gcc33 Patch - 2 KB: +<ulink url="&patches-root;net-tools-&net-tools-version;-miitool-gcc33-1.patch"/> + +Perl Libc Patch - 1 KB: +<ulink url="&patches-root;perl-&perl-version;-libc-1.patch"/> +</literallayout> + +<para>In addition to the above required patches, there exist a number of +optional ones created by the LFS community. Most of these solve slight +problems, or enable some functionality that's not enabled by default. +Feel free to examine the patches database, located at <ulink url="&lfs-root;patches/"/>, +and pick any additional patches you wish to use.</para> + +</sect1> |