findutils-inst.xml 901 B

1234567891011121314151617181920212223242526
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installing Findutils</title>
  4. <para>The Findutils package is quite old and it has problems compiling
  5. against newer Glibc versions (Glibc-2.0.x and up). You need to apply the
  6. patch that fixes some variable conflicts you'd otherwise end up
  7. with:</para>
  8. <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch</userinput></screen></para>
  9. <para>Prepare Findutils to be compiled:</para>
  10. <para><screen><userinput>CPPFLAGS="-Dre_max_failures=re_max_failures2" \
  11. &nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static</userinput></screen></para>
  12. <para>Continue with compiling the package:</para>
  13. <para><screen><userinput>make</userinput></screen></para>
  14. <para>And finish off installing the package:</para>
  15. <para><screen><userinput>make install</userinput></screen></para>
  16. </sect2>