[blfs-book] r11128 - trunk/BOOK/general/prog

krejzi at higgs.linuxfromscratch.org krejzi at higgs.linuxfromscratch.org
Mon Mar 25 04:15:03 PDT 2013


Author: krejzi
Date: Mon Mar 25 04:15:03 2013
New Revision: 11128

Log:
Fix gc 7.2 for Automake 1.13

Modified:
   trunk/BOOK/general/prog/gc.xml

Modified: trunk/BOOK/general/prog/gc.xml
==============================================================================
--- trunk/BOOK/general/prog/gc.xml	Mon Mar 25 03:55:37 2013	(r11127)
+++ trunk/BOOK/general/prog/gc.xml	Mon Mar 25 04:15:03 2013	(r11128)
@@ -49,22 +49,34 @@
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
-        <para>Download (HTTP): <ulink url="&gc-download-http;"/></para>
+        <para>
+          Download (HTTP): <ulink url="&gc-download-http;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download (FTP): <ulink url="&gc-download-ftp;"/></para>
+        <para>
+          Download (FTP): <ulink url="&gc-download-ftp;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download MD5 sum: &gc-md5sum;</para>
+        <para>
+          Download MD5 sum: &gc-md5sum;
+        </para>
       </listitem>
       <listitem>
-        <para>Download size: &gc-size;</para>
+        <para>
+          Download size: &gc-size;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated disk space required: &gc-buildsize;</para>
+        <para>
+          Estimated disk space required: &gc-buildsize;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated build time: &gc-time;</para>
+        <para>
+          Estimated build time: &gc-time;
+        </para>
       </listitem>
     </itemizedlist>
 
@@ -72,7 +84,7 @@
     <para role="optional">
       <xref linkend="libatomic_ops"/> (Gc contains a copy of
       Libatomic_ops-&gc-version; which it will compile and statically link if
-      configure doesn't find Libatomic_ops installed on your system).
+      configure doesn't find Libatomic_ops installed on your system)
     </para>
 
     <para condition="html" role="usernotes">
@@ -87,14 +99,19 @@
       Install <application>GC</application> by running the following commands:
     </para>
 
-<screen><userinput>sed -i 's#pkgdata#doc#' doc/doc.am && autoreconf  &&
+<screen><userinput>sed -i 's#AM_CONFIG_HEADER#AC_CONFIG_HEADERS#' configure.ac &&
+sed -i 's#AM_CONFIG_HEADER#AC_CONFIG_HEADERS#' libatomic_ops/configure.ac &&
+sed -i 's#pkgdata#doc#' doc/doc.am &&
+autoreconf -fi  &&
 ./configure --prefix=/usr      \
             --enable-cplusplus \
             --disable-static   \
             --docdir=/usr/share/doc/gc-&gc-version; &&
 make</userinput></screen>
 
-    <para>To test the results, issue: <command>make check</command>.</para>
+    <para>
+      To test the results, issue: <command>make check</command>.
+    </para>
 
     <para>
       Now, as the <systemitem class="username">root</systemitem> user:
@@ -109,10 +126,22 @@
     <title>Command Explanations</title>
 
     <para>
-      <command>sed -i 's#pkgdata#doc#' doc/doc.am</command>,
-      <command>autoreconf</command> and
-      <option>--docdir=/usr/share/doc/gc-&gc-version;</option>: These commands
-      allow us to install the documentation in a versioned directory.
+      <command>sed -i 's#AM_CONFIG_HEADER ...</command>: This
+      <command>sed</command> fixes building with
+      <application>Automake</application> 1.13.
+    </para>
+
+    <para>
+      <command>sed -i 's#pkgdata#doc#' doc/doc.am</command> and
+      <option>--docdir=/usr/share/doc/gc-&gc-version;</option>:
+      These commands are used so the package will install the
+      documentation in a versioned directory.
+    </para>
+
+    <para>
+      <command>autoreconf -fi</command>: This regenerates the
+      <command>configure</command> script and the
+      <filename>Makefile.in</filename> files.
     </para>
 
     <para>
@@ -154,7 +183,7 @@
       <?dbhtml list-presentation="table"?>
 
       <varlistentry id="libgc">
-        <term><filename class='libraryfile'>libgc.so</filename></term>
+        <term><filename class="libraryfile">libgc.so</filename></term>
         <listitem>
           <para>
             contains a C interface to the conservative garbage collector,
@@ -167,7 +196,7 @@
       </varlistentry>
 
       <varlistentry id="libgccpp">
-        <term><filename class='libraryfile'>libgccpp.so</filename></term>
+        <term><filename class="libraryfile">libgccpp.so</filename></term>
         <listitem>
           <para>
             contains a C++ interface to the conservative garbage collector.



More information about the blfs-book mailing list