[blfs-book] r12607 - in trunk/BOOK: introduction/welcome postlfs/virtualization

fernando at higgs.linuxfromscratch.org fernando at higgs.linuxfromscratch.org
Sun Jan 19 13:04:14 PST 2014


Author: fernando
Date: Sun Jan 19 13:04:14 2014
New Revision: 12607

Log:
Fix qemu-1.7.0 to build with libcap-2.24.

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/virtualization/qemu.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Sun Jan 19 12:34:51 2014	(r12606)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Sun Jan 19 13:04:14 2014	(r12607)
@@ -47,6 +47,10 @@
       <para>January 19th, 2014</para>
       <itemizedlist>
         <listitem>
+          <para>[fernando] - Fix qemu-1.7.0 to build with libcap-2.24. Fixes
+          <ulink url="&blfs-ticket-root;4553">#4553</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[fernando] - Remove Perl Module Glib. Fixes
           <ulink url="&blfs-ticket-root;4550">#4550</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/postlfs/virtualization/qemu.xml
==============================================================================
--- trunk/BOOK/postlfs/virtualization/qemu.xml	Sun Jan 19 12:34:51 2014	(r12606)
+++ trunk/BOOK/postlfs/virtualization/qemu.xml	Sun Jan 19 13:04:14 2014	(r12607)
@@ -146,7 +146,10 @@
     <para>Install <application>qemu</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr \
+<screen><userinput>sed -e '/#include <sys\/capability.h>/ d' \
+    -e '/#include "virtio-9p-marshal.h"/ i#include <sys\/capability.h>' \
+    -i fsdev/virtfs-proxy-helper.c &&
+./configure --prefix=/usr \
             --sysconfdir=/etc \
             --libexecdir=/usr/lib/qemu \
             --docdir=/usr/share/doc/qemu-&qemu-version; \
@@ -199,6 +202,10 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>sed -e '/#include ... fsdev/virtfs-proxy-helper.c</command>:
+    Fixes <application>qemu-&qemu-version;</application> to build with
+    <application>libcap-&libcap-version;</application>.</para>
+
     <para><parameter>--target-list=x86_64-softmmu</parameter>: This switch
     limits the build target to the x86_64 architecture.  For other 
     hardware emulation see the --target-list list in <command>configure</command>'s



More information about the blfs-book mailing list