shellutils-inst.xml 865 B

1234567891011121314151617181920212223
  1. <sect2>
  2. <title>Installation of Sh-utils</title>
  3. <para>Install Sh-utils by running the following commands:</para>
  4. <para><screen><userinput>./configure --prefix=$LFS/static \
  5. &nbsp;&nbsp;&nbsp;&nbsp;--disable-nls &amp;&amp;
  6. make LDFLAGS=-static &amp;&amp;
  7. make install</userinput></screen></para>
  8. <para>During the make install stage you will see the following warning:</para>
  9. <blockquote><screen>WARNING: insufficient access; not installing su
  10. NOTE: to install su, run 'make install-root' as root</screen></blockquote>
  11. <para>You can safely ignore that warning. You need to be logged in as root
  12. in order to install su the way sh-utils wants to install it, that being
  13. suid root. Because we don't need su during chapter 6, and su will be properly
  14. installed when we re-install sh-utils in chapter 6 anyways, you can just
  15. pretend you didn't see it.</para>
  16. </sect2>