diff options
Diffstat (limited to 'chapter06/zlib-inst.xml')
-rw-r--r-- | chapter06/zlib-inst.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml index bef73c94c..c142e51eb 100644 --- a/chapter06/zlib-inst.xml +++ b/chapter06/zlib-inst.xml @@ -7,11 +7,11 @@ <emphasis>gzprintf()</emphasis> function, that, though difficult to take advantage of, should be taken care of by applying this patch:</para> -<para><screen><userinput>patch -Np1 -i ../&zlib-patch;</userinput></screen></para> +<screen><userinput>patch -Np1 -i ../&zlib-patch;</userinput></screen> <para>Now prepare Zlib for compilation:</para> -<para><screen><userinput>./configure --prefix=/usr --shared</userinput></screen></para> +<screen><userinput>./configure --prefix=/usr --shared</userinput></screen> <para>Note: Zlib is known to build its shared library incorrectly if a CFLAGS is specified in the environment. If you are using your own CFLAGS variables, @@ -20,26 +20,26 @@ this stage, and remove it afterwards.</para> <para>Compile the package:</para> -<para><screen><userinput>make</userinput></screen></para> +<screen><userinput>make</userinput></screen> <para>Install the shared libraries:</para> -<para><screen><userinput>make install</userinput></screen></para> +<screen><userinput>make install</userinput></screen> <para>Now also build the non-shared libraries:</para> -<para><screen><userinput>make clean +<screen><userinput>make clean ./configure --prefix=/usr -make</userinput></screen></para> +make</userinput></screen> <para>This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:</para> -<para><screen><userinput>make test</userinput></screen></para> +<screen><userinput>make test</userinput></screen> <para>And install the package:</para> -<para><screen><userinput>make install</userinput></screen></para> +<screen><userinput>make install</userinput></screen> <para>The shared Zlib library should be installed in the <filename>/lib</filename> directory. That way, in the event @@ -47,18 +47,18 @@ that you must boot without the <filename>/usr</filename> directory, vital system programs will still have access to the library:</para> -<para><screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen></para> +<screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen> <para>The <filename>/usr/lib/libz.so</filename> symlink is linked to a file which no longer exists, because we moved it. Create a symbolic link to the new location of the library:</para> -<para><screen><userinput>ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen></para> +<screen><userinput>ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen> <para>Zlib does not install its manual page. Issue the following command to install this documentation:</para> -<para><screen><userinput>cp zlib.3 /usr/share/man/man3</userinput></screen></para> +<screen><userinput>cp zlib.3 /usr/share/man/man3</userinput></screen> </sect2> |