aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/chapter06.xml1
-rw-r--r--chapter06/zlib-inst.xml12
-rw-r--r--chapter06/zlib.xml13
3 files changed, 26 insertions, 0 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index e073adfaf..89486d4d6 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -15,6 +15,7 @@
&c6-glibc;
&c6-makedev;
&c6-gcc;
+&c6-zlib;
&c6-manpages;
&c6-findutils;
&c6-gawk;
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml
new file mode 100644
index 000000000..257c24084
--- /dev/null
+++ b/chapter06/zlib-inst.xml
@@ -0,0 +1,12 @@
+<sect2>
+<title>Installation of Zlib</title>
+
+<para>Install Zlib by running the following commands:</para>
+
+<para><screen><userinput>./configure --prefix=/usr --shared &amp;&amp;
+make LIBS="libz.so.1.1.4 libz.a" &amp;&amp;
+make LIBS="libz.so.1.1.4 libz.a" install &amp;&amp;
+cp zlib.3 /usr/share/man/man3</userinput></screen></para>
+
+</sect2>
+
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml
new file mode 100644
index 000000000..db8233941
--- /dev/null
+++ b/chapter06/zlib.xml
@@ -0,0 +1,13 @@
+<sect1 id="ch06-zlib">
+<title>Installing Zlib-&zlib-version;</title>
+<?dbhtml filename="zlib.html" dir="chapter06"?>
+
+<screen>Estimated build time: &zlib-time;
+Estimated required disk space: &zlib-compsize;</screen>
+
+&c6-zlib-inst;
+&aa-zlib-desc;
+&aa-zlib-dep;
+
+</sect1>
+