[Libguestfs] compile guestfsd

Olaf Hering olaf at aepfle.de
Wed Sep 12 13:21:44 UTC 2012


On Wed, Sep 12, Richard Huang wrote:

> yes, this is what i was asking for..
> 
> but I got the below message while compiling guestfsd daemon:
> 
>   configure: error: qemu must be installed
> 
> Since I am compiling on a virtual machine (CentOS 6.3), there is no qemu in it.
> How can I compile without qemu? P.S., I've tried --without-qemu, didn't work.

Until there is a --disable-kvm-check use this:

# disable qemu test.
# If the package is built within kvm the configure test will fail
# because it starts kvm within kvm
# With QEMU in environment qemu and kvm packages are not needed at build time.
export vmchannel_test=no
export QEMU=/usr/bin/qemu-kvm
./configure --with-qemu=$QEMU [options]

Olaf




More information about the Libguestfs mailing list