source: chapter04/chapter04.xml@ 1f5b8ac6

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 1f5b8ac6 was 1f5b8ac6, checked in by Greg Schafer <greg@…>, 21 years ago

More patch related cleanups.

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

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