aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-08-26 23:43:23 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-08-26 23:43:23 +0000
commit6f9d1a9f8e1a372153081cadf0180675474b1e44 (patch)
treecf8288b41af4cb6ceffc99ec01c9eaa61e730b57 /chapter06
parentd40a646fd9491d7da0a470684c8726919cd4d817 (diff)
updated to automake-1.6.3, gcc-3.2, groff-1.18, makedev-1.7, perl-5.8.0, util-linux-2.11u | added gcc-3.2.patch glibc-2.2.5-2.patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc-inst.xml5
-rw-r--r--chapter06/glibc-exp.xml4
-rw-r--r--chapter06/groff-exp.xml4
-rw-r--r--chapter06/groff-inst.xml4
-rw-r--r--chapter06/makedev-inst.xml6
-rw-r--r--chapter06/perl-exp.xml8
-rw-r--r--chapter06/perl-inst.xml3
-rw-r--r--chapter06/perl.xml1
8 files changed, 18 insertions, 17 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index ae56e55c7..60a486886 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -18,11 +18,12 @@ are available.</para>
<para>Note: the build of other compilers is not tested by the people
who actively work on LFS.</para>
-<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
+mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib --enable-_cxa-atexit &amp;&amp;
make bootstrap &amp;&amp;
make install &amp;&amp;
ln -s ../usr/bin/cpp /lib &amp;&amp;
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml
index 0ff5dd789..3eb7b17b0 100644
--- a/chapter06/glibc-exp.xml
+++ b/chapter06/glibc-exp.xml
@@ -13,6 +13,10 @@ username to userid resolving isn't working yet, so a <userinput>chown root
file</userinput> will fail, however it'll work fine if you use straight
IDs.</para>
+<para>The patch also contains a few bug fixes and security fixes. More
+details can be found on
+<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/></para>
+
<para><userinput>touch /etc/ld.so.conf:</userinput> One of the final steps
of the Glibc installation is running ldconfig to update the dynamic loader
cache. If this file doesn't exist, the installation will abort with an error
diff --git a/chapter06/groff-exp.xml b/chapter06/groff-exp.xml
index 99a7c8281..2db6716bc 100644
--- a/chapter06/groff-exp.xml
+++ b/chapter06/groff-exp.xml
@@ -1,6 +1,10 @@
<sect2>
<title>Command explanations</title>
+<para><userinput>make PROCESSEDEXAMPLEFILES="":</userinput> Groff has a few
+extra dependencies that we don't install with LFS. This option disable the
+need for those tools.</para>
+
<para><userinput>ln -s ...</userinput>: These symlinks are needed for some
<userinput>xman</userinput> and other groff/man document programs to work
properly.</para>
diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml
index bb995fa75..562f20090 100644
--- a/chapter06/groff-inst.xml
+++ b/chapter06/groff-inst.xml
@@ -4,8 +4,8 @@
<para>Install Groff by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
-make &amp;&amp;
-make install &amp;&amp;
+make PROCESSEDEXAMPLEFILES="" &amp;&amp;
+make PROCESSEDEXAMPLEFILES="" install &amp;&amp;
ln -s soelim /usr/bin/zsoelim &amp;&amp;
ln -s eqn /usr/bin/geqn &amp;&amp;
ln -s tbl /usr/bin/gtbl</userinput></screen></para>
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml
index ccc148595..a4d56ff7b 100644
--- a/chapter06/makedev-inst.xml
+++ b/chapter06/makedev-inst.xml
@@ -6,9 +6,11 @@ won't create a directory for you to cd into.</para>
<para>Create the device files by running the following commands:</para>
-<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
+<para><screen><userinput>ln -s /static/bin/bash /bin/bash &amp;&amp;
+cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
cd /dev &amp;&amp;
-chmod 754 MAKEDEV</userinput></screen></para>
+chmod 754 MAKEDEV &amp;&amp;
+rm /bin/bash</userinput></screen></para>
<para>Now, depending on whether you are going to use devpts or not, you
can run one of two commands:</para>
diff --git a/chapter06/perl-exp.xml b/chapter06/perl-exp.xml
deleted file mode 100644
index c41ccb921..000000000
--- a/chapter06/perl-exp.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<sect2>
-<title>Command explanations</title>
-
-<para><userinput>patch -Np1 -i ../perl-&perl-patch-version;.patch:</userinput> This
-patch fixes a compile problem with GCC-3.1.</para>
-
-</sect2>
-
diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml
index bac124b7c..ef3fa7bbe 100644
--- a/chapter06/perl-inst.xml
+++ b/chapter06/perl-inst.xml
@@ -7,8 +7,7 @@ commands.</para>
<para>Install Perl by running the following commands:</para>
-<para><screen><userinput>patch -Np1 -i ../perl-&perl-patch-version;.patch &amp;&amp;
-./configure.gnu --prefix=/usr &amp;&amp;
+<para><screen><userinput>./configure.gnu --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 33b87163a..5a56590ef 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -6,7 +6,6 @@
Estimated required disk space: &perl-compsize;</screen>
&c6-perl-inst;
-&c6-perl-exp;
&aa-perl-desc;
&aa-perl-dep;