Changeset aad85a6
- Timestamp:
- 04/20/2015 11:28:26 AM (9 years ago)
- Branches:
- 7.8-systemd, 7.9-systemd
- Children:
- a65f8ca2
- Parents:
- 9d438f4
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
appendices/dependencies.xml
r9d438f4 raad85a6 547 547 548 548 <seglistitem> 549 <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, 549 <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Gperf, 550 550 Make, and Sed</seg> 551 551 </seglistitem> -
chapter01/changelog.xml
r9d438f4 raad85a6 38 38 39 39 <listitem> 40 <para>2015-04-16</para> 41 <itemizedlist> 42 <listitem> 43 <para>[bdubbs] - Update to linux-4.0. Fixes 44 <ulink url="&lfs-ticket-root;3775">#3775</ulink>.</para> 45 </listitem> 46 <listitem> 47 <para>[bdubbs] - Update to tzdata-2015c. Fixes 48 <ulink url="&lfs-ticket-root;3776">#3776</ulink>.</para> 49 </listitem> 50 <listitem> 51 <para>[bdubbs] - Update to iproute2-4.0.0. Fixes 52 <ulink url="&lfs-ticket-root;3777">#3777</ulink>.</para> 53 </listitem> 54 </itemizedlist> 55 </listitem> 56 57 <listitem> 58 <para>2015-03-31</para> 59 <itemizedlist> 60 <listitem> 61 <para>[bdubbs] - Adjust discussion of LFS envronment variable to be 62 before first use.</para> 63 </listitem> 64 <listitem> 65 <para>[bdubbs] - Use --with-glibc-version=2.11 in gcc-pass1.</para> 66 </listitem> 67 <listitem> 68 <para>[bdubbs] - Update to dejagnu-1.5.3. Fixes 69 <ulink url="&lfs-ticket-root;3773">#3773</ulink>.</para> 70 </listitem> 71 </itemizedlist> 72 </listitem> 73 74 <listitem> 75 <para>2015-03-28</para> 76 <itemizedlist> 77 <listitem> 78 <para>[bdubbs] - Update to linux-3.19.3. Fixes 79 <ulink url="&lfs-ticket-root;3772">#3772</ulink>.</para> 80 </listitem> 81 <listitem> 82 <para>[bdubbs] - Update to tzdata2015b. Fixes 83 <ulink url="&lfs-ticket-root;3770">#3770</ulink>.</para> 84 </listitem> 85 </itemizedlist> 86 </listitem> 87 88 <listitem> 89 <para>2015-03-20</para> 90 <itemizedlist> 91 <listitem> 92 <para>[bdubbs] - Update to linux-3.19.2. Fixes 93 <ulink url="&lfs-ticket-root;3768">#3768</ulink>.</para> 94 </listitem> 95 </itemizedlist> 96 </listitem> 97 98 <listitem> 99 <para>2015-03-15</para> 100 <itemizedlist> 101 <listitem> 102 <para>[bdubbs] - Update to tcl-core-8.6.4. Fixes 103 <ulink url="&lfs-ticket-root;3766">#3766</ulink>.</para> 104 </listitem> 105 <listitem> 106 <para>[bdubbs] - Update to util-linux-2.26.1. Fixes 107 <ulink url="&lfs-ticket-root;3767">#3767</ulink>.</para> 108 </listitem> 109 <listitem> 110 <para>[bdubbs] - Remove non-essential static libraries 111 from the installation. Added a new section in Chapter 6 112 Introduction, suppressed many static libraries in different 113 packages, and removed the remaining in the Cleaning Up section. 114 Fixes 115 <ulink url="&lfs-ticket-root;3751">#3751</ulink>.</para> 116 </listitem> 117 </itemizedlist> 118 </listitem> 119 120 <listitem> 121 <para>2015-03-11</para> 122 <itemizedlist> 123 <listitem> 124 <para>[bdubbs] - Update to intltool-0.51.0. Fixes 125 <ulink url="&lfs-ticket-root;3764">#3764</ulink>.</para> 126 </listitem> 127 </itemizedlist> 128 </listitem> 129 130 <listitem> 131 <para>2015-03-08</para> 132 <itemizedlist> 133 <listitem> 134 <para>[bdubbs] - Update to linux-3.19.1. Fixes 135 <ulink url="&lfs-ticket-root;3763">#3763</ulink>.</para> 136 </listitem> 137 <listitem> 138 <para>[bdubbs] - Update to patch-2.7.5. Fixes 139 <ulink url="&lfs-ticket-root;3762">#3762</ulink>.</para> 140 </listitem> 141 <listitem> 142 <para>[bdubbs] - Change tcl to minimal tcl-core package. Fixes 143 <ulink url="&lfs-ticket-root;3752">#3752</ulink>.</para> 144 </listitem> 145 </itemizedlist> 146 </listitem> 147 148 <listitem> 149 <para>2015-03-07</para> 150 <itemizedlist> 151 <listitem> 152 <para>[bdubbs] - Update to mpc-1.0.3. Fixes 153 <ulink url="&lfs-ticket-root;3753">#3753</ulink>.</para> 154 </listitem> 155 <listitem> 156 <para>[bdubbs] - Update to man-pages-3.8.1. Fixes 157 <ulink url="&lfs-ticket-root;3754">#3754</ulink>.</para> 158 </listitem> 159 <listitem> 160 <para>[bdubbs] - Update to xz-5.2.1. Fixes 161 <ulink url="&lfs-ticket-root;3757">#3757</ulink>.</para> 162 </listitem> 163 <listitem> 164 <para>[bdubbs] - Update to kmod-20. Fixes 165 <ulink url="&lfs-ticket-root;3758">#3758</ulink>.</para> 166 </listitem> 167 </itemizedlist> 168 </listitem> 169 170 <listitem> 40 171 <para>2015-03-06</para> 41 172 <itemizedlist> -
chapter01/whatsnew.xml
r9d438f4 raad85a6 25 25 <!--<listitem> 26 26 <para>None</para> 27 </listitem> 27 </listitem>--> 28 28 <!--<listitem> 29 29 <para>Acl-&acl-version;</para> … … 59 59 <para>D-Bus-&dbus-version;</para> 60 60 </listitem>--> 61 < !--<listitem>61 <listitem> 62 62 <para>DejaGNU &dejagnu-version;</para> 63 </listitem> -->63 </listitem> 64 64 <!--<listitem> 65 65 <para>Diffutils &diffutils-version;</para> 66 66 </listitem>--> 67 67 <!--<listitem> 68 <listitem>69 68 <para>E2fsprogs &e2fsprogs-version;</para> 70 69 </listitem>--> … … 123 122 <para>Inetutils &inetutils-version;</para> 124 123 </listitem>--> 125 < !--<listitem>124 <listitem> 126 125 <para>Intltool-&intltool-version;</para> 127 </listitem> -->128 < !--<listitem>126 </listitem> 127 <listitem> 129 128 <para>IPRoute2 &iproute2-version;</para> 130 </listitem> -->129 </listitem> 131 130 <!--<listitem> 132 131 <para>Kbd &kbd-version;</para> 133 132 </listitem>--> 134 < !--<listitem>133 <listitem> 135 134 <para>Kmod &kmod-version;</para> 136 </listitem> -->135 </listitem> 137 136 <!--<listitem> 138 137 <para>Less &less-version;</para> … … 147 146 <para>Libtool &libtool-version;</para> 148 147 </listitem>--> 149 < !--<listitem>148 <listitem> 150 149 <para>Linux &linux-version;</para> 151 </listitem> -->150 </listitem> 152 151 <!--<listitem> 153 152 <para>M4 &m4-version;</para> … … 159 158 <para>Man-DB &man-db-version;</para> 160 159 </listitem>--> 161 < !--<listitem>160 <listitem> 162 161 <para>Man-pages &man-pages-version;</para> 163 </listitem> -->164 < !--<listitem>162 </listitem> 163 <listitem> 165 164 <para>MPC &mpc-version;</para> 166 </listitem> -->165 </listitem> 167 166 <!--<listitem> 168 167 <para>MPFR &mpfr-version;</para> … … 171 170 <para>Ncurses &ncurses-version;</para> 172 171 </listitem>--> 173 < !--<listitem>172 <listitem> 174 173 <para>Patch &patch-version;</para> 175 </listitem> -->174 </listitem> 176 175 <!--<listitem> 177 176 <para>Perl &perl-version;</para> … … 202 201 </listitem>--> 203 202 <!--<listitem> 204 <para>T CL&tcl-version;</para>203 <para>Tcl-core-&tcl-version;</para> 205 204 </listitem>--> 206 205 <!--<listitem> 207 206 <para>Texinfo &texinfo-version;</para> 208 207 </listitem>--> 209 < !--<listitem>208 <listitem> 210 209 <para>Tzdata &tzdata-version;</para> 211 </listitem> -->212 < !--<listitem>210 </listitem> 211 <listitem> 213 212 <para>Util-Linux &util-linux-version;</para> 214 </listitem> -->213 </listitem> 215 214 <!--<listitem> 216 215 <para>Vim &vim-version;</para> … … 219 218 <para>XML-Parser-&xml-parser-version;</para> 220 219 </listitem>--> 221 < !--<listitem>220 <listitem> 222 221 <para>XZ-Utils &xz-version;</para> 223 </listitem> -->222 </listitem> 224 223 <!--<listitem> 225 224 <para>Zlib &zlib-version;</para> … … 240 239 <listitem><para></para></listitem> <!-- satisfy build --> 241 240 241 <listitem> 242 <para>Tcl-core-&tcl-version;</para> 243 </listitem> 244 242 245 <!--<listitem> 243 246 <para>&bash-fixes-patch;</para> … … 262 265 <listitem><para></para></listitem> <!-- satisfy build --> 263 266 264 < !--<listitem>265 <para> binutils-2.24-load_gcc_lto_plugin_by_default-1.patch</para>266 </listitem> -->267 <listitem> 268 <para>Tcl-8.6.3</para> 269 </listitem> 267 270 268 271 <!--<listitem> -
chapter02/chapter02.xml
r9d438f4 raad85a6 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingpartition.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingfilesystem.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutlfs.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mounting.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutlfs.xml"/>19 19 20 20 </chapter> -
chapter02/mounting.xml
r9d438f4 raad85a6 14 14 be made accessible. In order to do this, the partition needs to be 15 15 mounted at a chosen mount point. For the purposes of this book, it is 16 assumed that the file system is mounted under <filename17 class="directory">/mnt/lfs</filename>, but the directory choice is up18 to you.</para>16 assumed that the file system is mounted under the directory specified by the 17 <envar>LFS</envar> envronment varibale as described in the previous section. 18 </para> 19 19 20 <para>Choose a mount point and assign it to the <envar>LFS</envar> 21 environment variable by running:</para> 22 23 <screen role="nodump"><userinput>export LFS=/mnt/lfs</userinput></screen> 24 25 <para>Next, create the mount point and mount the LFS file system by 26 running:</para> 20 <para>Create the mount point and mount the LFS file system by running:</para> 27 21 28 22 <screen role="nodump"><userinput>mkdir -pv $LFS -
chapter05/gcc-pass1.xml
r9d438f4 raad85a6 99 99 prevents unexpected changes to the original files in case the commands are 100 100 inadvertently run twice. </para> 101 101 <!-- 102 102 <para>GCC doesn't detect stack protection correctly, which causes problems 103 103 for the build of Glibc-&glibc-version;, so fix that by issuing the following … … 105 105 106 106 <screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen> 107 --> 108 107 109 <!-- 108 110 <para>Also fix a problem identified upstream:</para> … … 121 123 --target=$LFS_TGT \ 122 124 --prefix=/tools \ 125 --with-glibc-version=2.11 \ 123 126 --with-sysroot=$LFS \ 124 127 --with-newlib \ -
chapter05/libstdc++.xml
r9d438f4 raad85a6 80 80 <term><parameter>--disable-libstdcxx-threads</parameter></term> 81 81 <listitem> 82 <para>Since we have not built the thread Clibrary, the C++83 one cannot be built as well.</para>82 <para>Since we have not yet built the C threads library, the C++ 83 one cannot be built either.</para> 84 84 </listitem> 85 85 </varlistentry> -
chapter05/linux-headers.xml
r9d438f4 raad85a6 49 49 kernel source tarball.</para> 50 50 51 <para>Make sure there are no stale files and dependencies lying around 52 from previous activity:</para> 51 <para>Make sure there are no stale files embedded in the package:</para> 53 52 54 53 <screen><userinput remap="pre">make mrproper</userinput></screen> -
chapter05/tcl.xml
r9d438f4 raad85a6 10 10 11 11 <sect1info condition="script"> 12 <productname>tcl </productname>12 <productname>tcl-core</productname> 13 13 <productnumber>&tcl-version;</productnumber> 14 14 <address>&tcl-url;</address> 15 15 </sect1info> 16 16 17 <title>Tcl- &tcl-version;</title>17 <title>Tcl-core-&tcl-version;</title> 18 18 19 19 <indexterm zone="ch-tools-tcl"> 20 <primary sortas="a-Tcl">Tcl </primary>20 <primary sortas="a-Tcl">Tcl-core</primary> 21 21 </indexterm> 22 22 … … 39 39 40 40 <sect2 role="installation"> 41 <title>Installation of Tcl </title>41 <title>Installation of Tcl-core</title> 42 42 43 43 <para>This package and the next three (Expect, DejaGNU, and Check) are … … 48 48 run in this chapter (they are not mandatory), these packages are required 49 49 to run the test suites in <xref linkend="chapter-building-system"/>.</para> 50 51 <para>Note that the Tcl package used here is a minimal version needed 52 to run the LFS tests. For the full package, see the 53 <ulink url='&blfs-book;general/tcl.html'>BLFS Tcl procedures</ulink>.</para> 50 54 51 55 <para>Prepare Tcl for compilation:</para> … … 94 98 95 99 <sect2 id="contents-tcl" role="content"> 96 <title>Contents of Tcl </title>100 <title>Contents of Tcl-core</title> 97 101 98 102 <segmentedlist> -
chapter06/acl.xml
r9d438f4 raad85a6 60 60 <para>Prepare Acl for compilation:</para> 61 61 62 <screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> 62 <screen><userinput remap="configure">./configure --prefix=/usr \ 63 --disable-static \ 64 --libexecdir=/usr/lib</userinput></screen> 63 65 64 66 <para>Compile the package:</para> -
chapter06/attr.xml
r9d438f4 raad85a6 54 54 <para>Prepare Attr for compilation:</para> 55 55 56 <screen><userinput remap="configure">./configure --prefix=/usr </userinput></screen>56 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen> 57 57 58 58 <para>Compile the package:</para> -
chapter06/bison.xml
r9d438f4 raad85a6 40 40 <sect2 role="installation"> 41 41 <title>Installation of Bison</title> 42 <!-- bison only installs a static library 43 <para>Inhibit static library installation:</para> 42 44 45 <screen><userinput remap="pre">sed -i '/lib_LIBRARIES =/d' Makefile.in</userinput></screen> 46 --> 43 47 <para>Prepare Bison for compilation:</para> 44 48 45 49 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/bison-&bison-version;</userinput></screen> 46 <!--47 <para>The configure system causes Bison to be built without support for48 internationalization of error messages if a <command>bison</command>49 program is not already in $PATH. The following addition will correct50 this:</para>51 50 52 <screen><userinput remap="configure">echo '#define YYENABLE_NLS 1' >> lib/config.h</userinput></screen>53 -->54 51 <para>Compile the package:</para> 55 52 -
chapter06/dbus.xml
r9d438f4 raad85a6 53 53 --localstatedir=/var \ 54 54 --docdir=/usr/share/doc/dbus-&dbus-version; \ 55 --disable-static \ 55 56 --with-console-auth-dir=/run/console</userinput></screen> 56 57 -
chapter06/expat.xml
r9d438f4 raad85a6 44 44 <para>Prepare Expat for compilation:</para> 45 45 46 <screen><userinput remap="configure">./configure --prefix=/usr </userinput></screen>46 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen> 47 47 48 48 <para>Compile the package:</para> -
chapter06/flex.xml
r9d438f4 raad85a6 48 48 <para>Prepare Flex for compilation:</para> 49 49 50 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen> 50 <screen><userinput remap="configure">./configure --prefix=/usr \ 51 --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen> 51 52 52 53 <para>Compile the package:</para> -
chapter06/gdbm.xml
r9d438f4 raad85a6 47 47 <para>Prepare GDBM for compilation:</para> 48 48 49 <screen><userinput remap="configure">./configure --prefix=/usr --enable-libgdbm-compat</userinput></screen> 49 <screen><userinput remap="configure">./configure --prefix=/usr \ 50 --disable-static \ 51 --enable-libgdbm-compat</userinput></screen> 50 52 51 53 <variablelist> -
chapter06/gettext.xml
r9d438f4 raad85a6 46 46 <para>Prepare Gettext for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/gettext-&gettext-version;</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --disable-static \ 50 --docdir=/usr/share/doc/gettext-&gettext-version;</userinput></screen> 49 51 50 52 <para>Compile the package:</para> -
chapter06/glibc.xml
r9d438f4 raad85a6 249 249 </indexterm> 250 250 251 <sect3> 252 <title>Adding nsswitch.conf</title> 253 251 254 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created 252 because, although Glibc provides defaults when this file is missing or corrupt, 253 the Glibc defaults do not work well in a networked environment. The time zone 254 also needs to be configured.</para> 255 because the Glibc defaults do not work well in a networked environment. 256 </para> 255 257 256 258 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the … … 275 277 EOF</userinput></screen> 276 278 277 <para>Install timezone data:</para> 279 </sect3> 280 281 <sect3> 282 <title>Adding time zone data</title> 283 284 <para>Install and set up the timezone data with the following:</para> 278 285 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 279 286 … … 353 360 time zone selected (e.g., Canada/Eastern).</para> 354 361 355 </sect 2>356 357 <sect 2id="conf-ld" role="configuration">362 </sect3> 363 364 <sect3 id="conf-ld" role="configuration"> 358 365 <title>Configuring the Dynamic Loader</title> 359 366 … … 398 405 mkdir -pv /etc/ld.so.conf.d</userinput></screen> 399 406 407 </sect3> 400 408 </sect2> 401 409 -
chapter06/gmp.xml
r9d438f4 raad85a6 53 53 <para>Prepare GMP for compilation:</para> 54 54 55 <screen><userinput remap="configure">./configure --prefix=/usr \ 56 --enable-cxx \ 55 <screen><userinput remap="configure">./configure --prefix=/usr \ 56 --enable-cxx \ 57 --disable-static \ 57 58 --docdir=/usr/share/doc/gmp-&gmp-version;</userinput></screen> 58 59 -
chapter06/introduction.xml
r9d438f4 raad85a6 56 56 test suite data for all applicable packages in Chapter 6.</para></note> 57 57 58 <sect2> 59 <title>About libraries</title> 60 61 <para>In general, the LFS editors discourage building and installing static 62 libraries. The original purpose for most static libraries has been made 63 obsolete in a modern Linux system. In addition linking a static library 64 into a program can be detrimental. If an update to the library is needed 65 to remove a security problem, all programs that use the static library will 66 need to be relinked to the new library. Since the use of static libraries 67 is not always obvious, deciding which programs (and the procedures needed to 68 do the linking) may not even be known.</para> 69 70 <para>In the prcedures in Chapter 6, we remove or disable installation of 71 most static libraries. In a few cases, especially glibc and gcc, the use 72 of static libraries remains essential to the general package building 73 process. Usually this is done by passing a 74 <option>--disable-static</option> option to <command>configure</command>. 75 In other cases, alternate means are needed.</para> 76 77 <para>For a more complete discussion of libraries, see the discussion 78 <ulink url="&blfs-root;/view/&short-version;/introduction/libraries.html"> 79 Libraries: Static or shared?</ulink> in the BLFS book.</para> 80 81 </sect2> 82 58 83 </sect1> -
chapter06/kmod.xml
r9d438f4 raad85a6 75 75 <screen><userinput remap="make">make</userinput></screen> 76 76 77 <para>This package does not come with a test suite that can be run in the 78 LFS chroot environment. At a minimum the git program is required and 79 several tests will not run outside of a git repository. </para> 80 81 <!-- 77 82 <para>To test the results, issue:</para> 78 83 79 84 <screen><userinput remap="test">make check</userinput></screen> 80 85 --> 81 86 <para>Install the package, and create symlinks for 82 87 compatibility with Module-Init-Tools (the package that previously handled -
chapter06/libcap.xml
r9d438f4 raad85a6 43 43 <sect2 role="installation"> 44 44 <title>Installation of Libcap</title> 45 46 <para>Prevent a static library from being installed:</para> 47 48 <screen><userinput remap="pre">sed -i '/install.*STALIBNAME/d' libcap/Makefile</userinput></screen> 45 49 46 50 <para>Compile the package:</para> -
chapter06/mpc.xml
r9d438f4 raad85a6 45 45 <para>Prepare MPC for compilation:</para> 46 46 47 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen> 47 <screen><userinput remap="configure">./configure --prefix=/usr \ 48 --disable-static \ 49 --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen> 48 50 49 51 <para>Compile the package and generate the HTML documentation:</para> -
chapter06/mpfr.xml
r9d438f4 raad85a6 50 50 51 51 <screen><userinput remap="configure">./configure --prefix=/usr \ 52 --disable-static \ 52 53 --enable-thread-safe \ 53 54 --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen> -
chapter06/ncurses.xml
r9d438f4 raad85a6 42 42 <title>Installation of Ncurses</title> 43 43 44 <!-- FIXME: Uncomment if using a dated ncurses release instead of a numbered 45 one. 46 47 <para>Since the release of Ncurses-&ncurses-version;, some bugs have been fixed 48 and features added. The most important news are ....... 49 To get these fixes and features, apply the rollup patch:</para> 50 51 <screen><userinput>bzcat ../&ncurses-rollup-patch; | patch -Np1</userinput></screen> 52 --> 44 <para>Don't install a static library that is not handled by configure:</para> 45 46 <screen><userinput remap="pre">sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in</userinput></screen> 53 47 54 48 <para>Prepare Ncurses for compilation:</para> … … 58 52 --with-shared \ 59 53 --without-debug \ 54 --without-normal \ 60 55 --enable-pc-files \ 61 56 --enable-widec</userinput></screen> … … 86 81 </varlistentry> 87 82 83 <varlistentry> 84 <term><parameter>--without-normal</parameter></term> 85 <listitem> 86 <para>This switch disables building and installing most static libraries. 87 </para> 88 </listitem> 89 </varlistentry> 90 88 91 </variablelist> 89 92 … … 120 123 rm -vf /usr/lib/lib${lib}.so 121 124 echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so 122 ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a123 125 ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc 124 done 125 126 ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen> 126 done</userinput></screen> 127 127 128 128 <para>Finally, make sure that old applications that look for … … 132 132 <screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so 133 133 echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so 134 ln -sfv libncurses.so /usr/lib/libcurses.so 135 ln -sfv libncursesw.a /usr/lib/libcursesw.a 136 ln -sfv libncurses.a /usr/lib/libcurses.a</userinput></screen> 134 ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> 137 135 138 136 <para>If desired, install the Ncurses documentation:</para> … … 169 167 170 168 <seglistitem> 171 <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic), 172 ncursesw5-config, reset (link to tset), tabs, tic, toe, tput, and tset</seg> 173 <seg>libcursesw.{a,so} (symlink and linker script to libncursesw.{a,so}), 174 libformw.{a,so}, libmenuw.{a,so}, libncurses++w.a, libncursesw.{a,so}, 175 libpanelw.{a,so}, and their non-wide-character counterparts without "w" 176 in the library names.</seg> 177 <seg>/usr/share/tabset, /usr/share/terminfo, and 178 /usr/share/doc/ncurses-&ncurses-version;</seg> 169 <seg> 170 captoinfo (link to tic), 171 clear, 172 infocmp, 173 infotocap (link to tic), 174 ncursesw5-config, 175 reset (link to tset), 176 tabs, 177 tic, 178 toe, 179 tput, and 180 tset 181 </seg> 182 <seg> 183 libcursesw.so (symlink and linker script to libncursesw.so), 184 libformw.so, 185 libmenuw.so, 186 libncursesw.so, 187 libpanelw.so, and their non-wide-character counterparts without "w" 188 in the library names.</seg> 189 <seg> 190 /usr/share/tabset, 191 /usr/share/terminfo, and 192 /usr/share/doc/ncurses-&ncurses-version; 193 </seg> 179 194 </seglistitem> 180 195 </segmentedlist> -
chapter06/readline.xml
r9d438f4 raad85a6 57 57 <para>Prepare Readline for compilation:</para> 58 58 59 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 59 <screen><userinput remap="configure">./configure --prefix=/usr \ 60 --disable-static \ 61 --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen> 60 62 61 63 <para>Compile the package:</para> -
chapter06/revisedchroot.xml
r9d438f4 raad85a6 36 36 </note> 37 37 38 <screen role="nodump"><userinput>rm -rf /tools</userinput></screen>39 40 38 <para>If the virtual kernel file systems have been unmounted, either manually 41 39 or through a reboot, ensure that the virtual kernel file systems are mounted … … 44 42 linkend="ch-system-kernfsmount"/>.</para> 45 43 44 <para>Finally, thre were several static libraries that were not supressed earlier 45 in the chapter in order to satisfy the regression tests in several packages. These 46 libraries are from binutils, bzip2, e2fsprogs, <!--flex,--> libtool, and zlib. If desired, 47 remove them now:</para> 48 49 <screen><userinput>rm /usr/lib/lib{bfd,opcodes}.a 50 rm /usr/lib/libbz2.a 51 rm /usr/lib/lib{com_err,e2p,ext2fs,ss}.a 52 <!--rm /usr/lib/lib{fl,fl_pic}.a 53 -->rm /usr/lib/libltdl.a 54 rm /usr/lib/libz.a</userinput></screen> 55 56 <!-- Flex shared library is broken. Keep static until next flex release. --> 57 46 58 </sect1> -
chapter06/util-linux.xml
r9d438f4 raad85a6 63 63 <para>Prepare Util-linux for compilation:</para> 64 64 65 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \65 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 66 66 --docdir=/usr/share/doc/util-linux-&util-linux-version; \ 67 67 --disable-chfn-chsh \ … … 72 72 --disable-runuser \ 73 73 --disable-pylibmount \ 74 --disable-static \ 74 75 --without-python</userinput></screen> 75 76 -
chapter06/xz.xml
r9d438f4 raad85a6 47 47 <para>Prepare Xz for compilation with:</para> 48 48 49 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen> 49 <screen><userinput remap="configure"> 50 ./configure --prefix=/usr \ 51 --disable-static \ 52 --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen> 50 53 51 54 <para>Compile the package:</para> … … 76 79 77 80 <seglistitem> 78 <seg>lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to 79 xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), 80 lzgrep (link to xzgrep), lzless (link to xzless), lzma (link to xz), 81 lzmadec, lzmainfo, lzmore (link to xzmore), 82 unlzma (link to xz), unxz, (link to xz), xz, xzcat (link to xz), 83 xzcmp (link to xzdiff), xzdec, xzdiff, xzegrep (link to xzgrep), 84 xzfgrep (link to xzgrep), xzgrep, xzless, and xzmore</seg> 85 <seg>liblzma.{a,so}</seg> 86 <seg>/usr/include/lzma and /usr/share/doc/xz-&xz-version;</seg> 81 <seg> 82 lzcat (link to xz), 83 lzcmp (link to xzdiff), 84 lzdiff (link to xzdiff), 85 lzegrep (link to xzgrep), 86 lzfgrep (link to xzgrep), 87 lzgrep (link to xzgrep), 88 lzless (link to xzless), 89 lzma (link to xz), 90 lzmadec, 91 lzmainfo, 92 lzmore (link to xzmore), 93 unlzma (link to xz), 94 unxz (link to xz), 95 xz, 96 xzcat (link to xz), 97 xzcmp (link to xzdiff), 98 xzdec, 99 xzdiff, 100 xzegrep (link to xzgrep), 101 xzfgrep (link to xzgrep), 102 xzgrep, 103 xzless, and 104 xzmore</seg> 105 <seg> 106 liblzma.so 107 </seg> 108 <seg> 109 /usr/include/lzma and 110 /usr/share/doc/xz-&xz-version; 111 </seg> 87 112 </seglistitem> 88 113 </segmentedlist> -
chapter08/kernel.xml
r9d438f4 raad85a6 217 217 source.</para> 218 218 219 <para>If the kernel source tree is going to be retained, run 220 <command>chown -R 0:0</command> on the <filename 221 class="directory">linux-&linux-version;</filename> directory to ensure 222 all files are owned by user <emphasis>root</emphasis>.</para> 219 <note> 220 <para>In many cases, the configuration of the kernel will need to be 221 updated for packages that will be installed later in BLFS. Unlike 222 other packages, it is not necessary to remove the kernel source tree 223 after the newly built kernel is installed.</para> 224 225 <para>If the kernel source tree is going to be retained, run 226 <command>chown -R 0:0</command> on the <filename 227 class="directory">linux-&linux-version;</filename> directory to ensure 228 all files are owned by user <emphasis>root</emphasis>.</para> 229 </note> 223 230 224 231 <warning> -
general.ent
r9d438f4 raad85a6 1 <!ENTITY version "20150 219-systemd">1 <!ENTITY version "20150420-systemd"> 2 2 <!ENTITY short-version "systemd"> <!-- Used in dbus chapter, change to x.y for release --> 3 <!ENTITY releasedate " February 19, 2015">3 <!ENTITY releasedate "April 20, 2015"> 4 4 <!ENTITY copyrightdate "1999-2015"><!-- jhalfs needs a literal dash, not – --> 5 <!ENTITY milestone "7. 7">5 <!ENTITY milestone "7.8"> 6 6 <!ENTITY generic-version "systemd"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> 7 7 -
packages.ent
r9d438f4 raad85a6 114 114 <!ENTITY dbus-ch6-sbu "0.4 SBU"> 115 115 116 <!ENTITY dejagnu-version "1.5. 2">117 <!ENTITY dejagnu-size "58 3KB">116 <!ENTITY dejagnu-version "1.5.3"> 117 <!ENTITY dejagnu-size "584 KB"> 118 118 <!ENTITY dejagnu-url "&gnu;dejagnu/dejagnu-&dejagnu-version;.tar.gz"> 119 <!ENTITY dejagnu-md5 " 97a86a21c92ac456641a97f712ea40ac">119 <!ENTITY dejagnu-md5 "5bda2cdb1af51a80aecce58d6e42bd2f"> 120 120 <!ENTITY dejagnu-home "&gnu-software;dejagnu/"> 121 121 <!ENTITY dejagnu-ch5-du "4.6 MB"> … … 310 310 <!ENTITY inetutils-ch6-sbu "0.4 SBU"> 311 311 312 <!ENTITY intltool-version "0.5 0.2">313 <!ENTITY intltool-size "1 85KB">312 <!ENTITY intltool-version "0.51.0"> 313 <!ENTITY intltool-size "159 KB"> 314 314 <!ENTITY intltool-url "http://launchpad.net/intltool/trunk/&intltool-version;/+download/intltool-&intltool-version;.tar.gz"> 315 <!ENTITY intltool-md5 " 23fbd879118253cb99aeac067da5f591">315 <!ENTITY intltool-md5 "12e517cac2b57a0121cda351570f1e63"> 316 316 <!ENTITY intltool-home "http://freedesktop.org/wiki/Software/intltool"> 317 317 <!ENTITY intltool-ch6-du "1.3 MB"> 318 318 <!ENTITY intltool-ch6-sbu "less than 0.1 SBU"> 319 319 320 <!ENTITY iproute2-version " 3.19.0">321 <!ENTITY iproute2-size "44 5KB">320 <!ENTITY iproute2-version "4.0.0"> 321 <!ENTITY iproute2-size "449 KB"> 322 322 <!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz"> 323 <!ENTITY iproute2-md5 " 237083a1e3c388cde7a115a5724dc72a">323 <!ENTITY iproute2-md5 "3adc263ade4ee76c35032e8f50b54108"> 324 324 <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/"> 325 325 <!ENTITY iproute2-ch6-du "10.6 MB"> … … 334 334 <!ENTITY kbd-ch6-sbu "0.1 SBU"> 335 335 336 <!ENTITY kmod-version " 19">337 <!ENTITY kmod-size " 1,440KB">336 <!ENTITY kmod-version "20"> 337 <!ENTITY kmod-size "428 KB"> 338 338 <!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz"> 339 <!ENTITY kmod-md5 " a08643f814aa4efc12211c6e5909f4d9">339 <!ENTITY kmod-md5 "d6f4fef718a50bd88080de6a43bc64d8"> 340 340 <!ENTITY kmod-home " "> 341 341 <!ENTITY kmod-ch6-du "37 MB"> … … 374 374 <!ENTITY libtool-ch6-sbu "2.0 SBU"> 375 375 376 <!ENTITY linux-major-version " 3">377 <!ENTITY linux-minor-version " 19">376 <!ENTITY linux-major-version "4"> 377 <!ENTITY linux-minor-version "0"> 378 378 <!ENTITY linux-patch-version "0"> 379 379 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">--> 380 380 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> 381 <!ENTITY linux-size " 79,775KB">381 <!ENTITY linux-size "80,384 KB"> 382 382 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 383 <!ENTITY linux-md5 " d3fc8316d4d4d04b65cbc2d70799e763">383 <!ENTITY linux-md5 "a86916bd12798220da9eb4a1eec3616d"> 384 384 <!ENTITY linux-home "http://www.kernel.org/"> 385 385 <!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is … … 422 422 <!ENTITY man-db-ch6-sbu "0.4 SBU"> 423 423 424 <!ENTITY man-pages-version "3. 79">425 <!ENTITY man-pages-size "1, 290KB">424 <!ENTITY man-pages-version "3.82"> 425 <!ENTITY man-pages-size "1,326 KB"> 426 426 <!ENTITY man-pages-url "&kernel;linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz"> 427 <!ENTITY man-pages-md5 " 938950106f4483383dd367fe9e8aab9f">427 <!ENTITY man-pages-md5 "b3d4d949530d0ce13971040b53cf7a39"> 428 428 <!ENTITY man-pages-home "http://www.kernel.org/doc/man-pages/"> 429 429 <!ENTITY man-pages-ch6-du "35 MB"> 430 430 <!ENTITY man-pages-ch6-sbu "less than 0.1 SBU"> 431 431 432 <!ENTITY mpc-version "1.0. 2">433 <!ENTITY mpc-size "6 19KB">432 <!ENTITY mpc-version "1.0.3"> 433 <!ENTITY mpc-size "655 KB"> 434 434 <!ENTITY mpc-url "http://www.multiprecision.org/mpc/download/mpc-&mpc-version;.tar.gz"> 435 <!ENTITY mpc-md5 " 68fadff3358fb3e7976c7a398a0af4c3">435 <!ENTITY mpc-md5 "d6a1d5f8ddea3abd2cc3e98f58352d26"> 436 436 <!ENTITY mpc-home "http://www.multiprecision.org/"> 437 437 <!ENTITY mpc-ch6-du "11.2 MB"> … … 456 456 <!ENTITY ncurses-ch6-sbu "0.5 SBU"> 457 457 458 <!ENTITY patch-version "2.7. 4">459 <!ENTITY patch-size " 698KB">458 <!ENTITY patch-version "2.7.5"> 459 <!ENTITY patch-size "711 KB"> 460 460 <!ENTITY patch-url "&gnu;patch/patch-&patch-version;.tar.xz"> 461 <!ENTITY patch-md5 " abc59498fcdddd44e0d07764aa105fd2">461 <!ENTITY patch-md5 "e3da7940431633fb65a01b91d3b7a27a"> 462 462 <!ENTITY patch-home "http://savannah.gnu.org/projects/patch/"> 463 463 <!ENTITY patch-ch5-du "11.3 MB"> … … 544 544 <!ENTITY tar-ch6-sbu "2.3 SBU"> 545 545 546 <!ENTITY tcl-version "8.6. 3">546 <!ENTITY tcl-version "8.6.4"> 547 547 <!ENTITY tcl-major-version "8.6"> 548 <!ENTITY tcl-size " 8,693KB">549 <!ENTITY tcl-url "http:// downloads.sourceforge.net/project/tcl/Tcl/&tcl-version;/tcl&tcl-version;-src.tar.gz">550 <!ENTITY tcl-md5 " db382feca91754b7f93da16dc4cdad1f">548 <!ENTITY tcl-size "5,677 KB"> 549 <!ENTITY tcl-url "http://sourceforge.net/projects/tcl/files/Tcl/&tcl-version;/tcl-core&tcl-version;-src.tar.gz"> 550 <!ENTITY tcl-md5 "8b8c9d85469d8dbe32e51117b8ef11e3"> 551 551 <!ENTITY tcl-home "http://tcl.sourceforge.net/"> 552 552 <!ENTITY tcl-ch5-du "67 MB"> … … 563 563 <!ENTITY texinfo-ch6-sbu "0.5 SBU"> 564 564 565 <!ENTITY tzdata-version "2015 a">566 <!ENTITY tzdata-size "28 6KB">565 <!ENTITY tzdata-version "2015c"> 566 <!ENTITY tzdata-size "288 KB"> 567 567 <!ENTITY tzdata-url "http://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz"> 568 <!ENTITY tzdata-md5 "4 ed11c894a74a5ea64201b1c6dbb8831">568 <!ENTITY tzdata-md5 "4b4a3e344786198c46909e5afde08788"> 569 569 <!ENTITY tzdata-home "http://www.iana.org/time-zones"> 570 570 571 <!ENTITY util-linux-version "2.26 ">572 <!ENTITY util-linux-size "3,7 58KB">571 <!ENTITY util-linux-version "2.26.1"> 572 <!ENTITY util-linux-size "3,740 KB"> 573 573 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v2.26/util-linux-&util-linux-version;.tar.xz"> 574 <!ENTITY util-linux-md5 " 912c550a4e5c47c0ce9abd0733fa9a64">574 <!ENTITY util-linux-md5 "2308850946766677f3fabe0685e85de8"> 575 575 <!ENTITY util-linux-home "http://freecode.com/projects/util-linux"> 576 576 <!ENTITY util-linux-ch5-du "139 MB"> … … 596 596 <!ENTITY xml-parser-ch6-sbu "less than 0.1 SBU"> 597 597 598 <!ENTITY xz-version "5.2. 0">599 <!ENTITY xz-size "98 4KB">598 <!ENTITY xz-version "5.2.1"> 599 <!ENTITY xz-size "987 KB"> 600 600 <!ENTITY xz-url "http://tukaani.org/xz/xz-&xz-version;.tar.xz"> 601 <!ENTITY xz-md5 " d87c242778fcf5ce4598de80a55ded28">601 <!ENTITY xz-md5 "b5e2dd95dc8498cea5354377ed89aa65"> 602 602 <!ENTITY xz-home "http://tukaani.org/xz"> 603 603 <!ENTITY xz-ch5-du "21 MB"> -
prologue/hostreqs.xml
r9d438f4 raad85a6 78 78 79 79 <listitem> 80 <para><emphasis role="strong">Glibc-2. 5.1</emphasis> (Versions80 <para><emphasis role="strong">Glibc-2.11</emphasis> (Versions 81 81 greater than &glibc-version; are not recommended as they have 82 82 not been tested)</para> … … 162 162 <literal>#!/bin/bash 163 163 # Simple script to list version numbers of critical development tools 164 165 164 export LC_ALL=C 166 165 bash --version | head -n1 | cut -d" " -f2-4
Note:
See TracChangeset
for help on using the changeset viewer.