mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Upgrade to Zlib-1.2.4. Fixes #2606.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9229 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
00f95f0d71
commit
0d9018b23c
@ -40,6 +40,10 @@
|
||||
<listitem>
|
||||
<para>2010-03-18</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[matthew] Upgrade to Zlib-1.2.4. Fixes
|
||||
<ulink url="&lfs-ticket-root;2606">#2606</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[matthew] Upgrade to Tar-1.23. Fixes
|
||||
<ulink url="&lfs-ticket-root;2603">#2603</ulink>.</para>
|
||||
|
@ -193,9 +193,9 @@
|
||||
<!--<listitem>
|
||||
<para>Vim &vim-version;</para>
|
||||
</listitem>-->
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Zlib &zlib-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<!--<itemizedlist>
|
||||
|
@ -41,18 +41,9 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Zlib</title>
|
||||
|
||||
<note>
|
||||
<para>Zlib is known to build its shared library incorrectly if
|
||||
<envar>CFLAGS</envar> is specified in the environment. If using
|
||||
a specified <envar>CFLAGS</envar> variable, be sure to add the
|
||||
<parameter>-fPIC</parameter> directive to the <envar>CFLAGS</envar>
|
||||
variable for the duration of the configure command below, then
|
||||
remove it when building the static library.</para>
|
||||
</note>
|
||||
|
||||
<para>Prepare Zlib for building the dynamic library:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
@ -74,24 +65,6 @@
|
||||
<screen><userinput remap="install">rm -v /lib/libz.so
|
||||
ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
|
||||
|
||||
<para>Build the static library:</para>
|
||||
|
||||
<screen><userinput remap="make">make clean
|
||||
./configure --prefix=/usr
|
||||
make</userinput></screen>
|
||||
|
||||
<para>To test the results again, issue:</para>
|
||||
|
||||
<screen><userinput remap="test">make check</userinput></screen>
|
||||
|
||||
<para>Install the static library:</para>
|
||||
|
||||
<screen><userinput remap="install">make install</userinput></screen>
|
||||
|
||||
<para>Fix the permissions on the static library:</para>
|
||||
|
||||
<screen><userinput remap="install">chmod -v 644 /usr/lib/libz.a</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="contents-zlib" role="content">
|
||||
|
@ -539,10 +539,10 @@
|
||||
<!ENTITY vim-lang-md5 "d8884786979e0e520c112faf2e176f05">
|
||||
<!ENTITY vim-lang-home "http://www.vim.org">
|
||||
|
||||
<!ENTITY zlib-version "1.2.3">
|
||||
<!ENTITY zlib-size "415 KB">
|
||||
<!ENTITY zlib-version "1.2.4">
|
||||
<!ENTITY zlib-size "472 KB">
|
||||
<!ENTITY zlib-url "http://www.zlib.net/zlib-&zlib-version;.tar.bz2">
|
||||
<!ENTITY zlib-md5 "dee233bf288ee795ac96a98cc2e369b6">
|
||||
<!ENTITY zlib-md5 "763c6a0b4ad1cdf5549e3ab3f140f4cb">
|
||||
<!ENTITY zlib-home "http://www.zlib.net/">
|
||||
<!ENTITY zlib-ch6-du "2.8 MB">
|
||||
<!ENTITY zlib-ch6-sbu "less than 0.1 SBU">
|
||||
|
Loading…
Reference in New Issue
Block a user