diff options
Diffstat (limited to 'chapter06/zlib-inst.xml')
-rw-r--r-- | chapter06/zlib-inst.xml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml index 97885db8c..dfdec277c 100644 --- a/chapter06/zlib-inst.xml +++ b/chapter06/zlib-inst.xml @@ -9,26 +9,30 @@ so by applying this patch:</para> <para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;.patch</userinput></screen></para> -<para>Prepare Zlib to be compiled:</para> +<para>Now prepare Zlib for compilation:</para> <para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \ ./configure --prefix=/usr --shared</userinput></screen></para> <para>The <emphasis>-fPIC</emphasis> flag helps to assure -quality in the dynamic zlib library.</para> +quality in the dynamic Zlib library.</para> + +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Install the libraries:</para> +<para>Install the shared libraries:</para> + +<para><screen><userinput>make install</userinput></screen></para> -<para><screen><userinput>make install -make clean +<para>Now also build and install the non-shared libraries:</para> +<para><screen><userinput>make clean ./configure --prefix=/usr make make test make install</userinput></screen></para> -<para>The shared zlib library should be installed in the +<para>The shared Zlib library should be installed in the <filename>/lib</filename> directory. That way, in the event that you must boot without the <filename>/usr</filename> directory, vital system programs will still have access to |