diff options
-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 | ||||
-rw-r--r-- | chapter06/fileutils-inst.xml | 26 | ||||
-rw-r--r-- | chapter06/fileutils.xml | 12 | ||||
-rw-r--r-- | chapter06/shellutils-inst.xml | 48 | ||||
-rw-r--r-- | chapter06/shellutils.xml | 12 | ||||
-rw-r--r-- | chapter06/textutils-inst.xml | 24 | ||||
-rw-r--r-- | chapter06/textutils.xml | 12 |
12 files changed, 0 insertions, 279 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> - diff --git a/chapter06/fileutils-inst.xml b/chapter06/fileutils-inst.xml deleted file mode 100644 index 4e2345135..000000000 --- a/chapter06/fileutils-inst.xml +++ /dev/null @@ -1,26 +0,0 @@ -<sect2><title> </title><para> </para></sect2> - -<sect2> -<title>Installation of Fileutils</title> - -<para>Prepare Fileutils to be compiled:</para> - -<para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para> - -<para>Continue with compiling the package:</para> - -<para><screen><userinput>make</userinput></screen></para> - -<para>Install the package:</para> - -<para><screen><userinput>make install</userinput></screen></para> - -<para>Some packages hardwire the path to the -<userinput>install</userinput> program as -<emphasis>/usr/bin/install</emphasis>. Create a symlink -to account for this:</para> - -<para><screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen></para> - -</sect2> - diff --git a/chapter06/fileutils.xml b/chapter06/fileutils.xml deleted file mode 100644 index 5b0d77af4..000000000 --- a/chapter06/fileutils.xml +++ /dev/null @@ -1,12 +0,0 @@ -<sect1 id="ch06-fileutils"> -<title>Installing Fileutils-&fileutils-version;</title> -<?dbhtml filename="fileutils.html" dir="chapter06"?> - -<screen>Estimated build time: &fileutils-time; -Estimated required disk space: &fileutils-compsize;</screen> - -&aa-fileutils-shortdesc; -&aa-fileutils-dep; -&c6-fileutils-inst; - -</sect1> diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml deleted file mode 100644 index d8060eb0a..000000000 --- a/chapter06/shellutils-inst.xml +++ /dev/null @@ -1,48 +0,0 @@ -<sect2><title> </title><para> </para></sect2> - -<sect2> -<title>Installation of Sh-utils</title> - -<para>This package requires its hostname-patch to be applied before you -can install it. This patch suppresses the build of the hostname program -which will be installed later with the net-tools package. The hostname -program from the net-tools package is a much better version (and in some -cases even required since it supports options that are needed by some -programs such as XFree86). Apply the patch:</para> - -<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch</userinput></screen></para> - -<para>Prepare Shellutils to be compiled:</para> - -<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> - -<para>Continue with compiling the package:</para> - -<para><screen><userinput>make</userinput></screen></para> - -<para>Install the package:</para> - -<para><screen><userinput>make install</userinput></screen></para> - -<para>Finally, move some of the programs to more appropriate -locations:</para> - -<para><screen><userinput>mv /usr/bin/{basename,date,echo,false,pwd} /bin && -mv /usr/bin/{sleep,stty,su,test,true,uname} /bin && -mv /usr/bin/chroot /usr/sbin</userinput></screen></para> - -</sect2> - -<sect2> -<title>FHS compliance notes</title> - -<para>There is a command installed in this package which is named test. It is -often used in shell scripts to evaluate conditions, but is more often -encountered in the form of <command>[ condition ]</command>. These brackets -are built into the bash interpreter, but the FHS dictates that there should be a -<filename>[</filename> binary. Create it by running:</para> - -<para><screen><userinput>ln -s test /bin/[</userinput></screen></para> - -</sect2> - diff --git a/chapter06/shellutils.xml b/chapter06/shellutils.xml deleted file mode 100644 index eb5d1df03..000000000 --- a/chapter06/shellutils.xml +++ /dev/null @@ -1,12 +0,0 @@ -<sect1 id="ch06-shutils"> -<title>Installing Sh-utils-&sh-utils-version;</title> -<?dbhtml filename="sh-utils.html" dir="chapter06"?> - -<screen>Estimated build time: &sh-utils-time; -Estimated required disk space: &sh-utils-compsize;</screen> - -&aa-shellutils-shortdesc; -&aa-shellutils-dep; -&c6-shellutils-inst; - -</sect1> diff --git a/chapter06/textutils-inst.xml b/chapter06/textutils-inst.xml deleted file mode 100644 index 9e88ea5ff..000000000 --- a/chapter06/textutils-inst.xml +++ /dev/null @@ -1,24 +0,0 @@ -<sect2><title> </title><para> </para></sect2> - -<sect2> -<title>Installation of Textutils</title> - -<para>Prepare Textutils to be compiled:</para> - -<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> - -<para>Continue with compiling the package:</para> - -<para><screen><userinput>make</userinput></screen></para> - -<para>Install the package:</para> - -<para><screen><userinput>make install</userinput></screen></para> - -<para>Finally, complete the installation of this package -by moving some of its programs to a more appropriate directory:</para> - -<para><screen><userinput>mv /usr/bin/{cat,head} /bin</userinput></screen></para> - -</sect2> - diff --git a/chapter06/textutils.xml b/chapter06/textutils.xml deleted file mode 100644 index 30f89194e..000000000 --- a/chapter06/textutils.xml +++ /dev/null @@ -1,12 +0,0 @@ -<sect1 id="ch06-textutils"> -<title>Installing Textutils-&textutils-version;</title> -<?dbhtml filename="textutils.html" dir="chapter06"?> - -<screen>Estimated build time: &textutils-time; -Estimated required disk space: &textutils-compsize;</screen> - -&aa-textutils-shortdesc; -&aa-textutils-dep; -&c6-textutils-inst; - -</sect1> |