Author: jhuntwork
Date: 2007-08-07 23:47:18 -0600 (Tue, 07 Aug 2007)
New Revision: 8291

Modified:
   branches/jh/BOOK/chapter01/changelog.xml
   branches/jh/BOOK/chapter05/perl.xml
   branches/jh/BOOK/chapter06/perl.xml
Log:
Fix Perl-5.8.8 to build with GCC-4.2.1.
Have makedepend.SH check for 'command-line' as well as 'command line'.


Modified: branches/jh/BOOK/chapter01/changelog.xml
===================================================================
--- branches/jh/BOOK/chapter01/changelog.xml    2007-08-08 05:04:07 UTC (rev 
8290)
+++ branches/jh/BOOK/chapter01/changelog.xml    2007-08-08 05:47:18 UTC (rev 
8291)
@@ -40,6 +40,10 @@
       <para>2007-08-07</para>
       <itemizedlist>
        <listitem>
+         <para>[jhuntwork] - Fix Perl-5.8.8 to build with GCC-4.2.1.
+         Have makedepend.SH check for 'command-line' as well as 'command 
line'.</para>
+       </listitem>
+       <listitem>
          <para>[jhuntwork] - Fix Coreutils-6.9 and Gzip-1.3.12 to work with 
Glibc-2.6.1.
          Rename the futimens function.</para>
        </listitem>

Modified: branches/jh/BOOK/chapter05/perl.xml
===================================================================
--- branches/jh/BOOK/chapter05/perl.xml 2007-08-08 05:04:07 UTC (rev 8290)
+++ branches/jh/BOOK/chapter05/perl.xml 2007-08-08 05:47:18 UTC (rev 8291)
@@ -42,6 +42,11 @@
 
 <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
 
+    <para>Fix an incompatibility with gcc-&gcc-version;:</para>
+
+<screen><userinput>mv -v makedepend.SH{,.orig}
+sed 's/command /command[ -]/' makedepend.SH.orig &gt; 
makedepend.SH</userinput></screen>
+
     <para>Prepare Perl for compilation (make sure to get the
     'Data/Dumper Fcntl IO POSIX' part of the command correct&mdash;they are all
     letters):</para>

Modified: branches/jh/BOOK/chapter06/perl.xml
===================================================================
--- branches/jh/BOOK/chapter06/perl.xml 2007-08-08 05:04:07 UTC (rev 8290)
+++ branches/jh/BOOK/chapter06/perl.xml 2007-08-08 05:47:18 UTC (rev 8291)
@@ -41,6 +41,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

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to