diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-17 04:31:55 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2003-01-17 04:31:55 +0000 |
commit | bc91669a6a1915ee37d9e0938556187af26a00de (patch) | |
tree | 37af38273a87799fbcbaa4cb5dfd4a9b2b8fe1ce /chapter06 | |
parent | 6052e11bdba3bcb807d538e85da3ecdfb3b0f1cd (diff) |
Billy's e2fsprogs conversion.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2381 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/e2fsprogs-inst.xml | 46 | ||||
-rw-r--r-- | chapter06/e2fsprogs.xml | 5 |
2 files changed, 43 insertions, 8 deletions
diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml index 0abaafa20..2f42e27e7 100644 --- a/chapter06/e2fsprogs-inst.xml +++ b/chapter06/e2fsprogs-inst.xml @@ -1,16 +1,52 @@ +<sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of E2fsprogs</title> -<para>Install E2fsprogs by running the following commands:</para> +<para>Prepare E2fsprogs to be compiled:</para> -<para><screen><userinput>mkdir ../e2fsprogs-build && +<para><screen><userinput> +mkdir ../e2fsprogs-build && cd ../e2fsprogs-build && ../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \ - --enable-elf-shlibs && -make && + --enable-elf-shlibs +</userinput></screen></para> + +<para>Continue with compiling the package:</para> + +<para><screen><userinput>make</userinput></screen></para> + +<para>And finish off installing the package:</para> + +<para><screen><userinput> make install && make install-libs && -install-info /usr/share/info/libext2fs.info /usr/share/info/dir</userinput></screen></para> +install-info /usr/share/info/libext2fs.info /usr/share/info/dir +</userinput></screen></para> + +</sect2> + +<sect2> +<title>Command explanations</title> + +<para><userinput>--with-root-prefix="":</userinput> The +reason for supplying this option is because of the setup of the +e2fsprogs Makefile. Some programs are essential for system use when, +for example, /usr isn't mounted (like the e2fsck program). These +programs and libraries, therefore, belong in directories like /lib and +/sbin. If this option isn't passed to E2fsprogs's configure, it places +these programs in /usr, which is not what we want.</para> + +<para><userinput>--enable-elf-shlibs:</userinput> This creates shared +libraries that some programs in this package can make use of.</para> + +<para><userinput>make install-libs:</userinput> This installs the shared +libraries that are built.</para> + +<para><userinput>install-info...:</userinput> This updates the +<filename>/usr/share/info/dir</filename> file to include this package's +info pages to the index.</para> </sect2> + diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index e0ae9c7e5..412e99fe6 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -5,9 +5,8 @@ <screen>Estimated build time: &e2fsprogs-time; Estimated required disk space: &e2fsprogs-compsize;</screen> -&c6-e2fsprogs-inst; -&c6-e2fsprogs-exp; -&aa-e2fsprogs-desc; +&aa-e2fsprogs-shortdesc; &aa-e2fsprogs-dep; +&c6-e2fsprogs-inst; </sect1> |