e2fsprogs-inst.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of E2fsprogs</title>
  4. <para>Prepare E2fsprogs to be compiled:</para>
  5. <para><screen><userinput>
  6. mkdir ../e2fsprogs-build &amp;&amp;
  7. cd ../e2fsprogs-build &amp;&amp;
  8. ../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
  9. &nbsp;&nbsp;&nbsp;&nbsp;--enable-elf-shlibs
  10. </userinput></screen></para>
  11. <para>Continue with compiling the package:</para>
  12. <para><screen><userinput>make</userinput></screen></para>
  13. <para>And finish off installing the package:</para>
  14. <para><screen><userinput>
  15. make install &amp;&amp;
  16. make install-libs &amp;&amp;
  17. install-info /usr/share/info/libext2fs.info /usr/share/info/dir
  18. </userinput></screen></para>
  19. </sect2>
  20. <sect2>
  21. <title>Command explanations</title>
  22. <para><userinput>--with-root-prefix="":</userinput> The
  23. reason for supplying this option is because of the setup of the
  24. e2fsprogs Makefile. Some programs are essential for system use when,
  25. for example, /usr isn't mounted (like the e2fsck program). These
  26. programs and libraries, therefore, belong in directories like /lib and
  27. /sbin. If this option isn't passed to E2fsprogs's configure, it places
  28. these programs in /usr, which is not what we want.</para>
  29. <para><userinput>--enable-elf-shlibs:</userinput> This creates shared
  30. libraries that some programs in this package can make use of.</para>
  31. <para><userinput>make install-libs:</userinput> This installs the shared
  32. libraries that are built.</para>
  33. <para><userinput>install-info...:</userinput> This updates the
  34. <filename>/usr/share/info/dir</filename> file to include this package's
  35. info pages to the index.</para>
  36. </sect2>