diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-08-29 23:20:23 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-08-29 23:20:23 +0000 |
commit | 89fcc345410a3b858b6c23ba219e828bc21e4de4 (patch) | |
tree | b61d1a1c8d27b862f59ae006f7246911126286e6 /chapter06/zlib-inst.xml | |
parent | b1d68a49b23d66b1d084a3873a6facef4756dc6a (diff) |
Putting text before the 'make check's, and smoothing the other lines.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2695 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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 |