diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-05-11 17:03:47 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-05-11 17:03:47 +0000 |
commit | 972014586e742e763dda2347d614d38e0f82223b (patch) | |
tree | c67493a508e701ad5ac8e417d559391a461900df /chapter06/zlib-inst.xml | |
parent | b8770e4e2a585520ed33b9e26214e1b62129e4d8 (diff) |
Added the rest of Zack's patches. Totally missed them before.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2561 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/zlib-inst.xml')
-rw-r--r-- | chapter06/zlib-inst.xml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml index 1de4994c3..268b7c66c 100644 --- a/chapter06/zlib-inst.xml +++ b/chapter06/zlib-inst.xml @@ -14,18 +14,23 @@ so by applying this patch:</para> <para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \ ./configure --prefix=/usr --shared</userinput></screen></para> + make clean + ./configure --prefix=/usr + make + make install + <para>The <emphasis>-fPIC</emphasis> flag helps to assure quality in the dynamic zlib library.</para> -<para>Some packages expect a static zlib library to be present -on the system. To satisfy those programs, compile both the -shared and static libraries:</para> - -<para><screen><userinput>make LIBS="libz.so.1.1.4 libz.a"</userinput></screen></para> +<para><screen><userinput>make</userinput></screen></para> <para>Install the libraries:</para> -<para><screen><userinput>make LIBS="libz.so.1.1.4 libz.a" install</userinput></screen></para> +<para><screen><userinput>make install && +make clean && +./configure --prefix=/usr && +make && +make install</userinput></screen></para> <para>The shared zlib library should be installed in the <filename>/lib</filename> directory. That way, in the event |