Author: pierre
Date: Sun Feb 22 03:06:35 2015
New Revision: 15546

Log:
Valgrind: patch configure so that it can use glibc-2.21

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/valgrind.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Sat Feb 21 20:09:10 2015        (r15545)
+++ trunk/BOOK/general.ent      Sun Feb 22 03:06:35 2015        (r15546)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "21">                   <!-- Always 2 digits -->
+<!ENTITY day          "22">                   <!-- Always 2 digits -->
 <!ENTITY month        "02">                   <!-- Always 2 digits -->
 <!ENTITY year         "2015">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "February 21st, &year;">
+<!ENTITY releasedate  "February 21nd, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development] -->

Modified: trunk/BOOK/general/prog/valgrind.xml
==============================================================================
--- trunk/BOOK/general/prog/valgrind.xml        Sat Feb 21 20:09:10 2015        
(r15545)
+++ trunk/BOOK/general/prog/valgrind.xml        Sun Feb 22 03:06:35 2015        
(r15546)
@@ -73,6 +73,17 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch:
+          <ulink
+            url="&patch-root;/valgrind-&valgrind-version;-glibc_2.21-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Valgrind Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
@@ -97,8 +108,18 @@
   <sect2 role="installation">
     <title>Installation of Valgrind</title>
 
-    <para>Install <application>Valgrind</application> by running the following
-    commands:</para>
+<!-- check this is needed for versions greater than 3.10.1 -->
+    <para>
+      First apply the following patch for allowing the
+      <command>configure</command> script to use glibc-2.21:
+    </para>
+
+<screen><userinput>patch -Np1 -i 
../valgrind-&valgrind-version;-glibc_2.21-1.patch</userinput></screen>
+
+    <para>
+      Install <application>Valgrind</application> by running the following
+      commands:
+    </para>
 
 <screen><userinput>sed -i 's/-mt//g' configure &amp;&amp;
 sed -i 's|/doc/valgrind||' docs/Makefile.in &amp;&amp;
@@ -108,16 +129,15 @@
 make</userinput></screen>
 
     <para>
-      To test the results, issue: <command>make regtest</command>.
+      To test the results, issue: <command>make regtest</command>. The tests
+      may hang forever if <xref linkend="gdb"/> is not installed.
     </para>
 <!--  Note to maintainer: Recheck when next texlive (2015) is released.
     <para>
       If you wish to regenerate the documentation, run:
     </para>
 
-<screen><userinput>pushd docs         &amp;&amp;
-make download-docs &amp;&amp;
-popd</userinput></screen>
+<screen><userinput>make -C docs download-docs</userinput></screen>
 -->
     <para>
       Now, as the <systemitem class="username">root</systemitem> user:
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to