fileutils-exp.xml 1.1 KB

123456789101112131415161718192021222324
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>cp lib/Makefile.in lib/Makefile.in.backup :</userinput> We
  4. run this command in order to keep a backup of the file we are about to
  5. change.</para>
  6. <para><screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup &amp;&amp;</userinput>
  7. <userinput>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
  8. <userinput>&nbsp;&nbsp;&nbsp;-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
  9. <userinput>&nbsp;&nbsp;&nbsp;lib/Makefile.in &gt; lib/Makefile.in~ &amp;&amp;</userinput>
  10. <userinput>mv lib/Makefile.in~ lib/Makefile.in:</userinput></screen>
  11. This is used to fix a problem with building fileutils statically on glibc 2.2.3
  12. systems. If this isn't done, then there is the possibility of all of the
  13. fileutils programs causing segmentation faults once chroot is entered
  14. in chapter 6.</para>
  15. <para><userinput>--libexecdir=$LFS/bin:</userinput> This configure option will
  16. set the program executable directory to $LFS/bin. This is normally set
  17. to /usr/libexec, but nothing is placed in it. Changing it just prevents
  18. that directory from being created.</para>
  19. </sect2>