In fact I did manage to get libguestfs to compile on RHEL 5, and it
does so apart from two minor issues in the configure script:
AC_STRUCT_DIRENT_D_TYPE is not supported; and the version of gettext
on RHEL 5 is too old.
However I realized as soon as I ran the tests why this is not going to
work: the versions of qemu and (more crucially) the kernel in RHEL 5
do not have support for virtio-serial. Qemu is not so bad since you
can easily upgrade it, but the kernel is quite a different matter.
Therefore this is not going to work without forward-porting all the
old user-network vmchannel code, and for the same reason updating
libguestfs in EPEL 5 is not going to be possible.
I strongly suggest using Fedora 13+ or RHEL 6.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora