2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Sh-utils</title>
|
|
|
|
|
2001-09-05 23:35:33 +01:00
|
|
|
<para>Install Sh-utils by running the following commands:</para>
|
2001-10-27 23:21:44 +01:00
|
|
|
|
|
|
|
<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &&
|
|
|
|
make LDFLAGS=-static &&
|
|
|
|
make install &&
|
|
|
|
cd $LFS/usr/bin &&
|
2002-02-10 15:36:19 +00:00
|
|
|
mv basename date echo false hostname $LFS/bin &&
|
2002-02-17 20:15:05 +00:00
|
|
|
mv pwd sleep stty test true uname $LFS/bin &&
|
|
|
|
mv chroot ../sbin</userinput></screen></para>
|
2002-02-20 01:10:39 +00:00
|
|
|
|
|
|
|
<para>During the make install stage you will see the following warning:</para>
|
|
|
|
|
|
|
|
<blockquote><screen>WARNING: insufficient access; not installing su
|
|
|
|
NOTE: to install su, run 'make install-root' as root</screen></blockquote>
|
|
|
|
|
|
|
|
<para>You can safely ignore that warning. You need to be logged in as root
|
|
|
|
in order to install su the way sh-utils wants to install it, that being
|
|
|
|
suid root. Because we don't need su during chapter 6, and su will be properly
|
|
|
|
installed when we re-install sh-utils in chapter 6 anyways, you can just
|
|
|
|
pretend you didn't see it.</para>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|