[Libguestfs] Notes on compiling libguestfs 1.24 on RHEL 6.4

Richard W.M. Jones rjones at redhat.com
Wed Oct 23 09:35:45 UTC 2013


(Actually, libguestfs from git, but 1.24 and git are pretty close now)

First install augeas 1.0.0 from here:
http://oirase.annexia.org/tmp/libguestfs-RHEL-6.5/

Check out libguestfs from git.

You'll need to create two files in the libguestfs source directory:

"localconfigure" containing:

----------------------------------------------------------------------
source localenv

# qemu is too old (< 1.0) so the qemu test will fail.
export vmchannel_test=no

./autogen.sh \
  --prefix /usr \
  --disable-ruby \
  -C \
  "$@"
----------------------------------------------------------------------

"localenv" containing:

----------------------------------------------------------------------
export SUPERMIN=/usr/bin/febootstrap3
export SKIP_TEST_LAUNCH_RACE_PL=1
----------------------------------------------------------------------

Then run:

chmod +x localconfigure
./localconfigure && make clean
make -j4 && make quickcheck

Note to run virt-builder you will have to create a $HOME/.cache
directory (RHBZ#1022431) since this directory is missing on RHEL 6.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list