diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 20:39:10 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 20:39:10 +0000 |
commit | 3cf582bf179f7e258da43fd27a37748d8915ea32 (patch) | |
tree | 08d6f5985120ea8a30ea63b9780dfffef298bf8d /chapter05 | |
parent | 97ed0918f45301ea6bc390c0e830d73cd550ae26 (diff) |
removed fileutils, sh-utils and textutils
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2493 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/fileutils-inst.xml | 47 | ||||
-rw-r--r-- | chapter05/fileutils.xml | 13 | ||||
-rw-r--r-- | chapter05/shellutils-inst.xml | 38 | ||||
-rw-r--r-- | chapter05/shellutils.xml | 13 | ||||
-rw-r--r-- | chapter05/textutils-inst.xml | 21 | ||||
-rw-r--r-- | chapter05/textutils.xml | 13 |
6 files changed, 0 insertions, 145 deletions
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml deleted file mode 100644 index 6103a1e62..000000000 --- a/chapter05/fileutils-inst.xml +++ /dev/null @@ -1,47 +0,0 @@ -<sect2><title> </title><para> </para></sect2> - -<sect2> -<title>Installation of Fileutils</title> - -<para>There is a documented bug with the atexit() function in glibc-2.2.3 -when it is compiled with gcc-2.95.3. This bug only occurs on some systems -(primarily AMD, but not exclusively). This bug causes segmentation faults -in fileutils-4.1 when it is compiled statically. This patch causes -on_exit() to be called instead of atexit().</para> - -<para>Note that in some cases using this patch will result in not being -able to compile this package at all, even when your system has an AMD CPU -and has Glibc-2.2.3 (or higher) installed. If that's the case, you'll need -to remove the fileutils-&fileutils-version; directory and unpack it again -from the tarball before continuing. We believe this may be the case when -your distribution has altered Glibc-2.2.3 somehow, but the exact details -are unknown.</para> - -<para>To fix this package to compile properly on AMD/Glibc-2.2.3 -machines, run the following command. Do <emphasis>NOT</emphasis> -attempt this fix if you don't have Glibc-2.2.3 installed. It will more -than likely result in all kinds of compilation problems.</para> - -<para><screen><userinput>patch -Np1 -i ../fileutils-&fileutils-patch-version;.patch</userinput></screen></para> - -<para>Prepare the package to be compiled:</para> - -<para><screen><userinput>LDFLAGS="-static" \ - ./configure --disable-nls --prefix=$LFS/static</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</userinput></screen></para> - -<para>Once you have installed Fileutils, you can test whether the -segmentation fault problem has been avoided by running -<userinput>$LFS/static/bin/ls</userinput>. If this works, then you are OK. If -not, then you need to re-do the installation with the patch if you didn't -use it, or without the patch if you did use it.</para> - -</sect2> - diff --git a/chapter05/fileutils.xml b/chapter05/fileutils.xml deleted file mode 100644 index 19cbd8cd7..000000000 --- a/chapter05/fileutils.xml +++ /dev/null @@ -1,13 +0,0 @@ -<sect1 id="ch05-fileutils"> -<title>Installing Fileutils-&fileutils-version;</title> -<?dbhtml filename="fileutils.html" dir="chapter05"?> - -<screen>Estimated build time: &fileutils-time-static; -Estimated required disk space: &fileutils-compsize-static;</screen> - -&aa-fileutils-shortdesc; -&aa-fileutils-dep; -&c5-fileutils-inst; - -</sect1> - diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml deleted file mode 100644 index f760f8c6e..000000000 --- a/chapter05/shellutils-inst.xml +++ /dev/null @@ -1,38 +0,0 @@ -<sect2> -<title>Installation of Sh-utils</title> - -<para>Before Sh-utils is installed, the sh-utils patch file may need to be -applied. This patch is needed to avoid a conflict of variable names with -certain Glibc versions (usually glibc-2.1.x) when compiling sh-utils -statically. It is however safe to apply the patch even if you are running -a different glibc version. So, if you aren't sure, it's best to apply -it.</para> - -<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch</userinput></screen></para> - -<para>Prepare Sh-utils to be compiled:</para> - -<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static \ - --disable-nls</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</userinput></screen></para> - -<para>During the make install stage you will see the following warning:</para> - -<blockquote><screen>WARNING: insufficient access; not installing su -NOTE: to install su, run 'make install-root' as root</screen></blockquote> - -<para>You can safely ignore that warning. You need to be logged in as root -in order to install <filename>su</filename> the way Sh-utils wants to install -it, which is suid root. Because we don't need <filename>su</filename> during -Chapter 6, and <filename>su</filename> will be properly installed when we -re-install Sh-utils in Chapter 6.</para> - -</sect2> - diff --git a/chapter05/shellutils.xml b/chapter05/shellutils.xml deleted file mode 100644 index cd11c4ebf..000000000 --- a/chapter05/shellutils.xml +++ /dev/null @@ -1,13 +0,0 @@ -<sect1 id="ch05-shutils"> -<title>Installing Sh-utils-&sh-utils-version;</title> -<?dbhtml filename="sh-utils.html" dir="chapter05"?> - -<screen>Estimated build time: &sh-utils-time-static; -Estimated required disk space: &sh-utils-compsize-static;</screen> - -&aa-shellutils-shortdesc; -&aa-shellutils-dep; -&c5-shellutils-inst; - -</sect1> - diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml deleted file mode 100644 index 61ce1c300..000000000 --- a/chapter05/textutils-inst.xml +++ /dev/null @@ -1,21 +0,0 @@ -<sect2><title> </title><para> </para></sect2> - -<sect2> -<title>Installation of Textutils</title> - -<para>Prepare Textutils to be compiled:</para> - -<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \ - LDFLAGS="-static" ./configure --prefix=$LFS/static \ - --disable-nls</userinput></screen></para> - -<para>Continue with compiling the package:</para> - -<para><screen><userinput>make</userinput></screen></para> - -<para>Finish installing the package:</para> - -<para><screen><userinput>make install</userinput></screen></para> - -</sect2> - diff --git a/chapter05/textutils.xml b/chapter05/textutils.xml deleted file mode 100644 index af453cbc8..000000000 --- a/chapter05/textutils.xml +++ /dev/null @@ -1,13 +0,0 @@ -<sect1 id="ch05-textutils"> -<title>Installing Textutils-&textutils-version;</title> -<?dbhtml filename="textutils.html" dir="chapter05"?> - -<screen>Estimated build time: &textutils-time-static; -Estimated required disk space: &textutils-compsize-static;</screen> - -&aa-textutils-shortdesc; -&aa-textutils-dep; -&c5-textutils-inst; - -</sect1> - |