diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/zlib.xml | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index c3c00730c..45edfe1ca 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -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"> |