source: chapter04/chapter04.xml@ c84ddd9

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since c84ddd9 was c84ddd9, checked in by Alex Gronenwoud <alex@…>, 21 years ago

Some more adjustments.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2923 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 12.6 KB
RevLine 
[14245db]1<chapter id="chapter04">
[b0dbf738]2<title>The materials: packages and patches</title>
[14245db]3<?dbhtml filename="chapter04.html" dir="chapter04"?>
[6370fa6]4
[b0dbf738]5
6<sect1 id="ch04-introduction">
7<title>Introduction</title>
8<?dbhtml filename="introduction.html" dir="chapter04"?>
9
[2c55c716]10<para>Below is a list of packages you need to download for building a basic
11Linux system. The listed version numbers correspond to versions of the
12software that are <emphasis>known</emphasis> to work, and this book is
13based upon them. Unless you are an experienced LFS builder, we highly
14recommend not to try out newer versions, as the build commands for one
15version may not work with a newer version. Also, there is often a good
16reason for not using the latest version due to known problems that haven't
17been worked around yet.</para>
[b0dbf738]18
19<para>All the URLs, when possible, refer to the project's page at
[c84ddd9]20<ulink url="http://www.freshmeat.net/"/>. The Freshmeat
[b0dbf738]21pages will give you easy access to the official download sites as well as
22project websites, mailinglists, FAQs, Changelogs and more.</para>
23
[c94dd38]24<para>We can't guarantee that these download locations are always available
25to you. In case a download location has changed since this book was
26published, please try to google for the package. Should you remain
[c84ddd9]27unsuccessful with this, you can consult the book's errata page at
28<ulink url="http://linuxfromscratch.org/lfs/print/"/> or try
29the alternative means of downloading given at
[c94dd38]30<ulink url="http://linuxfromscratch.org/lfs/packages.html"/></para>
31
[72b845e6]32<para>You'll need to store all the downloaded packages and patches somewhere
33that is conveniently available throughout the entire build. You'll also need a
34working directory in which to unpack the sources and build them. A scheme that
[c84ddd9]35works well is to use <filename>$LFS/tools/src/packages</filename> for all the
36downloaded files and <filename>$LFS/tools/src</filename> for the working
37directory. In this way, everything will be on the LFS partition and always
38available.</para>
39
40<para>Ater each package installation you should normally delete the source and
41build directories (for cleanness sake and to save space),
42<emphasis>unless</emphasis> instructed to do otherwise.</para>
[72b845e6]43
[b0dbf738]44<!--
45<para>For your convenience the top of the list contains a link to a file
46you can use with the <ulink url="http://wget.sunsite.dk">wget</ulink>
47program. Using this file and the <userinput>wget</userinput> program will
48make it easy to download all the files at once, rather than downloading each
49and every individual file manually.</para>
50-->
51
52</sect1>
53
54
55<sect1 id="ch04-packages">
56<title>All the packages</title>
57<?dbhtml filename="packages.html" dir="chapter04"?>
58
59<para>Download or otherwise obtain the following packages:</para>
60
61<literallayout>
62Autoconf (&autoconf-version;) - &autoconf-size;:
63<ulink url="http://freshmeat.net/projects/autoconf/"/>
64
65Automake (&automake-version;) - &automake-size;:
66<ulink url="http://freshmeat.net/projects/automake/"/>
67
68Bash (&bash-version;) - &bash-size;:
69<ulink url="http://freshmeat.net/projects/gnubash/"/>
70
71Binutils (&binutils-version;) - &binutils-size;:
72<ulink url="http://freshmeat.net/projects/binutils/"/>
73
74Bison (&bison-version;) - &bison-size;:
75<ulink url="http://freshmeat.net/projects/bison/"/>
76
77Bzip2 (&bzip2-version;) - &bzip2-size;:
78<ulink url="http://freshmeat.net/projects/bzip2/"/>
79
80Coreutils (&coreutils-version;) - &coreutils-size;:
81<ulink url="http://freshmeat.net/projects/coreutils/"/>
82
[2ea93a3]83DejaGnu (&dejagnu-version;) - &dejagnu-size;:
[b0dbf738]84<ulink url="http://freshmeat.net/projects/dejagnu/"/>
85
86Diffutils (&diffutils-version;) - &diffutils-size;:
87<ulink url="http://freshmeat.net/projects/diffutils/"/>
88
89E2fsprogs (&e2fsprogs-version;) - &e2fsprogs-size;:
90<ulink url="http://freshmeat.net/projects/e2fsprogs/"/>
91
92Ed (&ed-version;) - &ed-size;:
93<ulink url="http://freshmeat.net/projects/ed/"/>
94
95Expect (&expect-version;) - &expect-size;:
96<ulink url="http://freshmeat.net/projects/expect/"/>
97
98File (&file-version;) - &file-size;:
99<ulink url="http://freshmeat.net/projects/file/"/>
100
101Findutils (&findutils-version;) - &findutils-size;:
[eb70a73]102<ulink url="http://freshmeat.net/projects/findutils/"/>
[b0dbf738]103
104Flex (&flex-version;) - &flex-size;:
[bace8ea]105<ulink url="ftp://ftp.gnu.org/gnu/non-gnu/flex/"/>
[b0dbf738]106
107Gawk (&gawk-version;) - &gawk-size;:
108<ulink url="http://freshmeat.net/projects/gnuawk/"/>
109
110GCC (&gcc-2953-version;) - &gcc-2953-size;:
111<ulink url="http://freshmeat.net/projects/gcc/"/>
[00d3878]112
[b0dbf738]113GCC-core (&gcc-version;) - &gcc-core-size;:
114<ulink url="http://freshmeat.net/projects/gcc/"/>
[00d3878]115
[b0dbf738]116GCC-g++ (&gcc-version;) - &gcc-gpp-size;:
117<ulink url="http://freshmeat.net/projects/gcc/"/>
[eb70a73]118
[b0dbf738]119GCC-testsuite (&gcc-version;) - &gcc-testsuite-size;:
120<ulink url="http://freshmeat.net/projects/gcc/"/>
121
122Gettext (&gettext-version;) - &gettext-size;:
123<ulink url="http://freshmeat.net/projects/gettext/"/>
124
125Glibc (&glibc-version;) - &glibc-size;:
126<ulink url="http://freshmeat.net/projects/glibc/"/>
[00d3878]127
[b0dbf738]128Glibc-linuxthreads (&glibc-version;) - &glibc-threads-size;:
129<ulink url="http://freshmeat.net/projects/glibc/"/>
130
131Grep (&grep-version;) - &grep-size;:
132<ulink url="http://freshmeat.net/projects/grep/"/>
133
134Groff (&groff-version;) - &groff-size;:
135<ulink url="http://freshmeat.net/projects/groff/"/>
136
[955533b]137Grub (&grub-version;) - &grub-size;:
138<ulink url="ftp://alpha.gnu.org/pub/gnu/grub/"/>
139
[b0dbf738]140Gzip (&gzip-version;) - &gzip-size;:
141<ulink url="ftp://alpha.gnu.org/gnu/gzip/"/>
142
143Inetutils (&inetutils-version;) - &inetutils-size;:
144<ulink url="http://freshmeat.net/projects/inetutils/"/>
145
146Kbd (&kbd-version;) - &kbd-size;:
147<ulink url="http://freshmeat.net/projects/kbd/"/>
148
149Less (&less-version;) - &less-size;:
150<ulink url="http://freshmeat.net/projects/less/"/>
151
152LFS-Bootscripts (&bootscripts-version;) - &bootscripts-size;:
153<ulink url="&http;/lfs-bootscripts-&bootscripts-version;.tar.bz2"/>
154
155Lfs-Utils (&lfs-utils-version;) - &lfs-utils-size;:
156<ulink url="http://www.linuxfromscratch.org/~winkie/downloads/lfs-utils/"/>
157
158Libtool (&libtool-version;) - &libtool-size;:
159<ulink url="http://freshmeat.net/projects/libtool/"/>
160
[dc7ba45]161Linux (&kernel-version;) - &kernel-size;:
162<ulink url="http://freshmeat.net/projects/linux/"/>
163
[b0dbf738]164M4 (&m4-version;) - &m4-size;:
165<ulink url="http://freshmeat.net/projects/gnum4/"/>
166
167Make (&make-version;) - &make-size;:
168<ulink url="http://freshmeat.net/projects/gnumake"/>
169
170MAKEDEV (&makedev-version;) - &makedev-size;:
171<ulink url="&http;/MAKEDEV-&makedev-version;.bz2"/>
172
173Man (&man-version;) - &man-size;:
174<ulink url="http://freshmeat.net/projects/man/"/>
175
176Man-pages (&man-pages-version;) - &man-pages-size;:
177<ulink url="http://freshmeat.net/projects/man-pages/"/>
178
179Modutils (&modutils-version;) - &modutils-size;:
180<ulink url="http://freshmeat.net/projects/modutils/"/>
181
182Ncurses (&ncurses-version;) - &ncurses-size;:
183<ulink url="http://freshmeat.net/projects/ncurses/"/>
184
185Net-tools (&net-tools-version;) - &net-tools-size;:
186<ulink url="http://freshmeat.net/projects/net-tools/"/>
187
188Patch (&patch-version;) - &patch-size;:
189<ulink url="http://freshmeat.net/projects/patch/"/>
190
191Perl (&perl-version;) - &perl-size;:
192<ulink url="http://freshmeat.net/projects/perl/"/>
193
194Procinfo (&procinfo-version;) - &procinfo-size;:
195<ulink url="http://freshmeat.net/projects/procinfo/"/>
196
197Procps (&procps-version;) - &procps-size;:
198<ulink url="http://freshmeat.net/projects/procps/"/>
199
200Psmisc (&psmisc-version;) - &psmisc-size;:
201<ulink url="http://freshmeat.net/projects/psmisc/"/>
202
203Sed (&sed-version;) - &sed-size;:
204<ulink url="http://freshmeat.net/projects/sed/"/>
205
206Shadow (&shadow-version;) - &shadow-size;:
207<ulink url="http://freshmeat.net/projects/shadow/"/>
208
209Sysklogd (&sysklogd-version;) - &sysklogd-size;:
210<ulink url="http://freshmeat.net/projects/sysklogd/"/>
211
212Sysvinit (&sysvinit-version;) - &sysvinit-size;:
213<ulink url="http://freshmeat.net/projects/sysvinit/"/>
214
215Tar (&tar-version;) - &tar-size;:
216<ulink url="ftp://alpha.gnu.org/gnu/tar/"/>
217
[2ea93a3]218Tcl (&tcl-version;) - &tcl-size;:
[b0dbf738]219<ulink url="http://freshmeat.net/projects/tcltk/"/>
220
221Texinfo (&texinfo-version;) - &texinfo-size;:
222<ulink url="http://freshmeat.net/projects/texinfo/"/>
223
224Util-linux (&util-linux-version;) - &util-linux-size;:
[fbb00ac]225<ulink url="http://freshmeat.net/projects/util-linux/"/>
[b0dbf738]226
227Vim (&vim-version;) - &vim-size;:
228<ulink url="http://freshmeat.net/projects/vim/"/>
229
230Zlib (&zlib-version;) - &zlib-size;:
231<ulink url="http://freshmeat.net/projects/zlib/"/>
232
233Total size of these packages: &all-size-mb;
234</literallayout>
235
236</sect1>
237
238
239<sect1 id="ch04-patches">
240<title>Needed patches</title>
241<?dbhtml filename="patches.html" dir="chapter04"?>
242
243<para>Besides all those packages, you'll also need several patches. These
244correct tiny mistakes in the packages that should be fixed by the maintainer,
245or just make some small modifications to bend things our way. You'll need the
246following:</para>
247
248<literallayout>
249Bash Patch (&bash-patch-version;) - &bash-patch-size;:
[1f5b8ac6]250<ulink url="&patches-root;bash-&bash-patch-version;.patch"/>
[b0dbf738]251
[1f5b8ac6]252Bison Attribute Patch (&bison-patch-version;) - &bison-patch-size;:
253<ulink url="&patches-root;bison-&bison-patch-version;.patch"/>
[54df5b44]254
[b0dbf738]255Coreutils Hostname Patch (&coreutils-hostname-patch-version;) - &coreutils-hostname-patch-size;:
[1f5b8ac6]256<ulink url="&patches-root;coreutils-&coreutils-hostname-patch-version;.patch"/>
[3985670]257
[b0dbf738]258Coreutils Uname Patch (&coreutils-uname-patch-version;) - &coreutils-uname-patch-size;:
[1f5b8ac6]259<ulink url="&patches-root;coreutils-&coreutils-uname-patch-version;.patch"/>
[b0dbf738]260
261Ed Patch (&ed-patch-version;) - &ed-patch-size;:
[1f5b8ac6]262<ulink url="&patches-root;ed-&ed-patch-version;.patch"/>
[b0dbf738]263
264Expect Patch (&expect-patch-version;) - &expect-patch-size;:
[1f5b8ac6]265<ulink url="&patches-root;expect-&expect-patch-version;.patch"/>
[b0dbf738]266
267Gawk Patch (&gawk-patch-version;) - &gawk-patch-size;:
[1f5b8ac6]268<ulink url="&patches-root;gawk-&gawk-patch-version;.patch"/>
[b0dbf738]269
[3985670]270GCC No Fixincludes Patch: (&gcc-nofixincludes-patch-version;) - &gcc-nofixincludes-patch-size;:
[1f5b8ac6]271<ulink url="&patches-root;gcc-&gcc-nofixincludes-patch-version;.patch"/>
[3985670]272
273GCC Specs Patch: (&gcc-specs-patch-version;) - &gcc-specs-patch-size;:
[1f5b8ac6]274<ulink url="&patches-root;gcc-&gcc-specs-patch-version;.patch"/>
[3985670]275
276GCC Suppress Libiberty Patch: (&gcc-suppress-libiberty-patch-version;) - &gcc-suppress-libiberty-patch-size;:
[1f5b8ac6]277<ulink url="&patches-root;gcc-&gcc-suppress-libiberty-patch-version;.patch"/>
[3985670]278
[677aef3]279GCC-2 Patch (&gcc-2953-patch-version;) - &gcc-2953-patch-size;:
[1f5b8ac6]280<ulink url="&patches-root;gcc-&gcc-2953-patch-version;.patch"/>
[3985670]281
[677aef3]282GCC-2 No Fixincludes Patch (&gcc-2953-no-fixinc-patch-version;) - &gcc-2953-no-fixinc-patch-size;:
[1f5b8ac6]283<ulink url="&patches-root;gcc-&gcc-2953-no-fixinc-patch-version;.patch"/>
[3985670]284
[677aef3]285GCC-2 Return Type Patch (&gcc-2953-returntype-fix-patch-version;) - &gcc-2953-returntype-fix-patch-size;:
[1f5b8ac6]286<ulink url="&patches-root;gcc-&gcc-2953-returntype-fix-patch-version;.patch"/>
[008e758]287
[1f5b8ac6]288Glibc Sscanf Patch: (&glibc-sscanf-patch-version;) - &glibc-sscanf-patch-size;:
289<ulink url="&patches-root;glibc-&glibc-sscanf-patch-version;.patch"/>
[79b94bd]290
[a6ab2e7]291Grub Gcc33 Patch (&grub-patch-version;) - &grub-patch-size;:
[1f5b8ac6]292<ulink url="&patches-root;grub-&grub-patch-version;.patch"/>
[955533b]293
[b0dbf738]294Kbd Patch (&kbd-patch-version;) - &kbd-patch-size;:
[1f5b8ac6]295<ulink url="&patches-root;kbd-&kbd-patch-version;.patch"/>
[b0dbf738]296
297Man 80Cols Patch (&man-80cols-patch-version;) - &man-80cols-patch-size;:
[1f5b8ac6]298<ulink url="&patches-root;man-&man-80cols-patch-version;.patch"/>
[3985670]299
[b0dbf738]300Man Manpath Patch (&man-manpath-patch-version;) - &man-manpath-patch-size;:
[1f5b8ac6]301<ulink url="&patches-root;man-&man-manpath-patch-version;.patch"/>
[3985670]302
[b0dbf738]303Man Pager Patch (&man-pager-patch-version;) - &man-pager-patch-size;:
[1f5b8ac6]304<ulink url="&patches-root;man-&man-pager-patch-version;.patch"/>
[b0dbf738]305
306Ncurses Etip Patch (&ncurses-etip-patch-version;) - &ncurses-etip-patch-size;:
[1f5b8ac6]307<ulink url="&patches-root;ncurses-&ncurses-etip-patch-version;.patch"/>
[3985670]308
[b0dbf738]309Ncurses Vsscanf Patch (&ncurses-vsscanf-patch-version;) - &ncurses-vsscanf-patch-size;:
[1f5b8ac6]310<ulink url="&patches-root;ncurses-&ncurses-vsscanf-patch-version;.patch"/>
[b0dbf738]311
[a6ab2e7]312Net-tools Mii-Tool Gcc33 Patch (&net-tools-mii-patch-version;) - &net-tools-mii-patch-size;:
[1f5b8ac6]313<ulink url="&patches-root;net-tools-&net-tools-mii-patch-version;.patch"/>
[94cb9c22]314
[b0dbf738]315Perl Libc Patch (&perl-libc-patch-version;) - &perl-libc-patch-size;:
[1f5b8ac6]316<ulink url="&patches-root;perl-&perl-libc-patch-version;.patch"/>
[b0dbf738]317
318Procps Patch (&procps-patch-version;) - &procps-patch-size;:
[1f5b8ac6]319<ulink url="&patches-root;procps-&procps-patch-version;.patch"/>
[b0dbf738]320
[a6ab2e7]321Shadow Newgrp Patch (&shadow-patch-version;) - &shadow-patch-size;:
[1f5b8ac6]322<ulink url="&patches-root;shadow-&shadow-patch-version;.patch"/>
[0c84f8a]323
[a6ab2e7]324Zlib Vsnprintf Patch (&zlib-patch-version;) - &zlib-patch-size;:
[1f5b8ac6]325<ulink url="&patches-root;zlib-&zlib-patch-version;.patch"/>
[b0dbf738]326</literallayout>
327
[2b18510]328<para>In addition, there are a number of optional patches that have been
329created by the LFS community. Most of these solve slight problems, or enable
330some functionality that's not enabled by default. Please feel free to examine
[c84ddd9]331the patches database, located at
332<ulink url="http://www.linuxfromscratch.org/patches/"/>, and choose any
333additional patches you might wish to use.</para>
[2b18510]334
[b0dbf738]335</sect1>
[6370fa6]336
337</chapter>
[0e328c8]338
Note: See TracBrowser for help on using the repository browser.