diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/make-exp.xml | 13 | ||||
-rw-r--r-- | chapter06/make-inst.xml | 26 | ||||
-rw-r--r-- | chapter06/make.xml | 5 |
3 files changed, 23 insertions, 21 deletions
diff --git a/chapter06/make-exp.xml b/chapter06/make-exp.xml deleted file mode 100644 index 7bd539b7f..000000000 --- a/chapter06/make-exp.xml +++ /dev/null @@ -1,13 +0,0 @@ -<sect2> -<title>Command explanations</title> - -<para>By default <filename>/usr/bin/make</filename> is installed setgid -kmem. This is needed on some systems so it can check the load average by -using <filename>/dev/kmem</filename>. However, on Linux systems, setgid -kmem is not needed, so we remove this from our <filename>make</filename> -binary. This also fixes problems with the <filename>make</filename> -ignoring certain variables like -<emphasis>LD_LIBRARY_PATH</emphasis>.</para> - -</sect2> - diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml index 02cce215e..f80096f4d 100644 --- a/chapter06/make-inst.xml +++ b/chapter06/make-inst.xml @@ -1,12 +1,28 @@ +<sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of Make</title> -<para>Install Make by running the following commands:</para> +<para>Prepare Make to be compiled:</para> + +<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> + +<para>Continue with compiling the package:</para> + +<para><screen><userinput>make</userinput></screen></para> + +<para>And finish off installing the package:</para> + +<para><screen><userinput>make install</userinput></screen></para> + +<para>By default <filename>/usr/bin/make</filename> is installed setgid +kmem. This is needed on some systems so it can check the load average by +using <filename>/dev/kmem</filename>. However, on Linux systems, setgid +kmem is not needed, so we remove this from our <filename>make</filename> +binary. This also fixes problems with the <filename>make</filename> +ignoring certain variables like <emphasis>LD_LIBRARY_PATH</emphasis>.</para> -<para><screen><userinput>./configure --prefix=/usr && -make && -make install && -chgrp root /usr/bin/make && +<para><screen><userinput>chgrp root /usr/bin/make && chmod 755 /usr/bin/make</userinput></screen></para> </sect2> diff --git a/chapter06/make.xml b/chapter06/make.xml index 94e5f96cc..0f477d832 100644 --- a/chapter06/make.xml +++ b/chapter06/make.xml @@ -5,9 +5,8 @@ <screen>Estimated build time: &make-time; Estimated required disk space: &make-compsize;</screen> -&c6-make-inst; -&c6-make-exp; -&aa-make-desc; +&aa-make-shortdesc; &aa-make-dep; +&c6-make-inst; </sect1> |