mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
2424a66ecc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2341 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
30 lines
1015 B
XML
30 lines
1015 B
XML
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Make</title>
|
|
|
|
<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>chgrp root /usr/bin/make &&
|
|
chmod 755 /usr/bin/make</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|