[Slackbuilds-users] libvirt slackbuild

Ebben Aries earies at dscp.org
Tue May 22 05:10:40 UTC 2012


For compat w/ kvm-qemu 1.0.1, libvirt needs to be built w/ yajl support making this a new dependency

2012-05-22 04:14:58.855+0000: 2993: error : qemuCapsComputeCmdFlags:1209 : unsupported configuration: this qemu binary requires libvirt to be compiled
with yajl
2012-05-22 04:14:58.868+0000: 2993: error : qemuCapsComputeCmdFlags:1209 : unsupported configuration: this qemu binary requires libvirt to be compiled
with yajl
2012-05-22 04:14:58.879+0000: 2990: error : qemuCapsExtractVersion:1558 : internal error Cannot find suitable emulator for x86_64
2012-05-22 04:14:58.881+0000: 2991: error : qemuCapsExtractVersion:1558 : internal error Cannot find suitable emulator for x86_64

If compiled w/o yajl support, virt-manager will report 'No hypervisor options were found for this connection' when attempting to add a new vm, and any
attempt to load xml domain files through virsh will result in 'unknown os type: hvm'

Slackbuild patch below after yajl is installed

--- orig/libvirt.SlackBuild	2012-05-21 11:47:59.000000000 -0600
+++ libvirt/libvirt.SlackBuild	2012-05-21 22:20:48.265905219 -0600
@@ -58,6 +58,7 @@
   --docdir=/usr/doc/$PRGNAM-$VERSION \
   --enable-static=no \
   --enable-shared=yes \
+  --with-yajl \
   --without-xen \
   --build=$ARCH-slackware-linux

/e


More information about the SlackBuilds-users mailing list