Changeset 0d9018b for chapter06


Ignore:
Timestamp:
03/18/2010 07:56:39 PM (14 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
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.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, 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
Children:
bdb539b
Parents:
00f95f0
Message:

Upgrade to Zlib-1.2.4. Fixes #2606.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/zlib.xml

    r00f95f0 r0d9018b  
    4242    <title>Installation of Zlib</title>
    4343
    44     <note>
    45       <para>Zlib is known to build its shared library incorrectly if
    46       <envar>CFLAGS</envar> is specified in the environment. If using
    47       a specified <envar>CFLAGS</envar> variable, be sure to add the
    48       <parameter>-fPIC</parameter> directive to the <envar>CFLAGS</envar>
    49       variable for the duration of the configure command below, then
    50       remove it when building the static library.</para>
    51     </note>
    52 
    5344    <para>Prepare Zlib for building the dynamic library:</para>
    5445
    55 <screen><userinput remap="configure">./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>
     46<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen>
    5647
    5748    <para>Compile the package:</para>
     
    7465<screen><userinput remap="install">rm -v /lib/libz.so
    7566ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
    76 
    77     <para>Build the static library:</para>
    78 
    79 <screen><userinput remap="make">make clean
    80 ./configure --prefix=/usr
    81 make</userinput></screen>
    82 
    83     <para>To test the results again, issue:</para>
    84 
    85 <screen><userinput remap="test">make check</userinput></screen>
    86 
    87     <para>Install the static library:</para>
    88 
    89 <screen><userinput remap="install">make install</userinput></screen>
    90 
    91     <para>Fix the permissions on the static library:</para>
    92 
    93 <screen><userinput remap="install">chmod -v 644 /usr/lib/libz.a</userinput></screen>
    9467
    9568  </sect2>
Note: See TracChangeset for help on using the changeset viewer.