aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc.xml3
-rw-r--r--chapter06/perl.xml4
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index ff6a76116..229c56398 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -83,7 +83,8 @@ cd ../gcc-build</userinput></screen>
<screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
--libexecdir=/usr/lib --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
- --enable-clocale=gnu --enable-languages=c,c++</userinput></screen>
+ --enable-clocale=gnu --enable-languages=c,c++ \
+ --disable-bootstrap</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 591e90ba8..77d027b89 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -47,6 +47,10 @@
<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
+ <para>Fix an incompatibility with gcc-&gcc-version;:</para>
+
+<screen><userinput>sed -i 's/command /command[ -]/' makedepend.SH</userinput></screen>
+
<para>To have full control over the way Perl is set up, you can run the
interactive <command>Configure</command> script and hand-pick the way this
package is built. If you prefer, you can use the defaults that Perl