From 0c2106b74782f5c9f2731dd8e30b38e32b698810 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 22 Nov 2009 22:11:22 +0000 Subject: Added a section to each package's dependencies in the Appendix to list external (non-LFS) dependencies for LFS packages. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9115 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendices/dependencies.xml | 488 ++++++++++++++++++++++++++++++++++++++++++-- chapter01/changelog.xml | 6 + general.ent | 1 + 3 files changed, 474 insertions(+), 21 deletions(-) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 6a76d3f5e..bbdf00569 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -11,24 +11,31 @@ Dependencies - Every package built in LFS relies on one or more other packages - in order to build and install properly. Some packages even participate - in circular dependencies, that is, the first package depends on the second - which in turn depends on the first. Because of these dependencies, the - order in which packages are built in LFS is very important. The purpose - of this page is to document the dependencies of each package built in LFS. - - For each package we build, we have listed three types of dependencies. - The first lists what other packages need to be available in order to compile - and install the package in question. The second lists what packages, in - addition to those on the first list, need to be available in order to run the - testsuites. The last list of dependencies are packages that require this - package to be built and installed in its final location before they are built - and installed. In most cases, this is because these packages will hardcode - paths to binaries within their scripts. If not built in a certain order, - this could result in paths of /tools/bin/[binary] being placed inside - scripts installed to the final system. This is obviously not desirable. - + Every package built in LFS relies on one or more other packages in + order to build and install properly. Some packages even participate in + circular dependencies, that is, the first package depends on the second which + in turn depends on the first. Because of these dependencies, the order in + which packages are built in LFS is very important. The purpose of this page + is to document the dependencies of each package built in LFS. + + For each package we build, we have listed three, and sometimes four, + types of dependencies. The first lists what other packages need to be + available in order to compile and install the package in question. The second + lists what packages, in addition to those on the first list, need to be + available in order to run the testsuites. The third list of dependencies are + packages that require this package to be built and installed in its final + location before they are built and installed. In most cases, this is because + these packages will hardcode paths to binaries within their scripts. If not + built in a certain order, this could result in paths of /tools/bin/[binary] + being placed inside scripts installed to the final system. This is obviously + not desirable. + + The last list of dependencies are optional packages that are not + addressed in LFS, but could be useful to the user. These packages may have + additional mandatory or optional dependencies of their own. For these + dependencies, the recommeded practice is to install them after completion of + the LFS book and then go back an rebuild the LFS package. In several cases, + reinstallation is addressed in BLFS. Autoconf @@ -57,6 +64,14 @@ + + &external; + + + Emacs + + + Automake @@ -74,8 +89,7 @@ Binutils, Bison, Bzip2, DejaGNU, Diffutils, Expect, Findutils, - Flex, GCC, Gettext, Gzip, Libtool, and Tar. Can also use several - other packages that are not installed in LFS. + Flex, GCC, Gettext, Gzip, Libtool, and Tar. @@ -87,6 +101,14 @@ + + &external; + + + None + + + Bash @@ -115,6 +137,14 @@ + + &external; + + + Xorg + + + Binutils @@ -143,6 +173,14 @@ + + &external; + + + None + + + Bison @@ -171,6 +209,14 @@ + + &external; + + + Doxygen (testsuite) + + + Bzip2 @@ -199,6 +245,14 @@ + + &external; + + + None + + + Coreutils @@ -227,6 +281,14 @@ + + &external; + + + Perl Expect and IO:Tty modules (for testsuite) + + + DejaGNU @@ -254,6 +316,14 @@ + + &external; + + + None + + + Diffutils @@ -282,6 +352,14 @@ + + &external; + + + None + + + Expect @@ -310,6 +388,14 @@ + + &external; + + + None + + + E2fsprogs @@ -338,6 +424,14 @@ + + &external; + + + None + + + File @@ -366,6 +460,14 @@ + + &external; + + + None + + + Findutils @@ -394,6 +496,14 @@ + + &external; + + + None + + + Flex @@ -422,6 +532,14 @@ + + &external; + + + None + + + Gawk @@ -450,6 +568,14 @@ + + &external; + + + None + + + Gcc @@ -479,6 +605,14 @@ + + &external; + + + GNAT + + + GDBM @@ -506,6 +640,14 @@ + + &external; + + + None + + + Gettext @@ -534,6 +676,14 @@ + + &external; + + + None + + + Glibc @@ -562,6 +712,14 @@ + + &external; + + + None + + + GMP @@ -590,6 +748,14 @@ + + &external; + + + None + + + Grep @@ -618,6 +784,14 @@ + + &external; + + + Pcre, Xorg, and CUPS + + + Groff @@ -646,6 +820,14 @@ + + &external; + + + GPL Ghostscript + + + GRUB @@ -674,6 +856,14 @@ + + &external; + + + None + + + Gzip @@ -702,6 +892,14 @@ + + &external; + + + None + + + Iana-Etc @@ -729,6 +927,14 @@ + + &external; + + + None + + + Inetutils @@ -737,7 +943,7 @@ Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses, - Patch, Sed, and Texinfo + Patch, Sed, Texinfo, and Zlib @@ -757,6 +963,14 @@ + + &external; + + + None + + + IProute2 @@ -785,6 +999,14 @@ + + &external; + + + None + + + Kbd @@ -813,6 +1035,14 @@ + + &external; + + + None + + + Less @@ -841,6 +1071,14 @@ + + &external; + + + Pcre + + + Libtool @@ -869,6 +1107,14 @@ + + &external; + + + None + + + Linux Kernel @@ -897,6 +1143,14 @@ + + &external; + + + None + + + M4 @@ -925,6 +1179,14 @@ + + &external; + + + None + + + Make @@ -953,6 +1215,14 @@ + + &external; + + + None + + + Man-DB @@ -981,6 +1251,14 @@ + + &external; + + + None + + + Man-Pages @@ -1008,6 +1286,14 @@ + + &external; + + + None + + + Module-Init-Tools @@ -1036,6 +1322,14 @@ + + &external; + + + None + + + MPFR @@ -1064,6 +1358,14 @@ + + &external; + + + None + + + Ncurses @@ -1093,6 +1395,14 @@ + + &external; + + + None + + + Patch @@ -1120,6 +1430,14 @@ + + &external; + + + None + + + Perl @@ -1148,6 +1466,14 @@ + + &external; + + + None + + + Pkg-config @@ -1176,6 +1502,14 @@ + + &external; + + + None + + + Procps @@ -1203,6 +1537,14 @@ + + &external; + + + None + + + Psmisc @@ -1231,6 +1573,14 @@ + + &external; + + + None + + + Readline @@ -1259,6 +1609,14 @@ + + &external; + + + None + + + Sed @@ -1287,6 +1645,14 @@ + + &external; + + + Cracklib + + + Shadow @@ -1315,6 +1681,14 @@ + + &external; + + + None + + + Sysklogd @@ -1342,6 +1716,14 @@ + + &external; + + + None + + + Sysvinit @@ -1369,6 +1751,14 @@ + + &external; + + + None + + + Tar @@ -1397,6 +1787,14 @@ + + &external; + + + None + + + Tcl @@ -1425,6 +1823,14 @@ + + &external; + + + None + + + Texinfo @@ -1453,6 +1859,14 @@ + + &external; + + + None + + + Udev @@ -1481,6 +1895,14 @@ + + &external; + + + None + + + Util-linux-ng @@ -1509,6 +1931,14 @@ + + &external; + + + None + + + Vim @@ -1537,6 +1967,14 @@ + + &external; + + + Xorg, GTK+2, LessTif, Python, Tcl, Ruby, and GPM + + + Zlib @@ -1564,4 +2002,12 @@ + + &external; + + + None + + + diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 35b4596ae..d654af3e3 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -45,6 +45,12 @@ print a comment that makeinfo is used to identify the Texinfo package version. + + [bdubbs] Added a section to each package's dependencies + in the Appendix to list external (non-LFS) dependencies for + LFS packages. Fixes + #1682. + diff --git a/general.ent b/general.ent index f2d82ebeb..a7c16c732 100644 --- a/general.ent +++ b/general.ent @@ -22,6 +22,7 @@ + -- cgit v1.2.3-54-g00ecf