libguestfs-1.6 on RHEL5.5 Server
I need to install libguestfs 1.6 on Red Hat 5.5 Server. I have tried to download libguestfs-1.6.0-1.fc13.1.x86_64.rpm and install it, but there is plenty of unresolved dependencies, which I am not able to satisfy with the repositories I am connected to. The same issue blocks me when I try to compile the source code. So I tried to add fedora repository into the system: download *fedora-release-14-1.noarch.rpm * and run *yum install fedora-release-14-1.noarch.rpm* I'm getting *ERROR with rpm_check_debug vs depsolve: rpmlib(FileDigests) is needed by fedora-release-14-1.noarch rpmlib(PayloadIsXz) is needed by fedora-release-14-1.noarch * if I run *rpm -Uvh fedora-release-14-1.noarch.rpm* I'm getting *error: Failed dependencies: rpmlib(FileDigests) <= 4.6.0-1 is needed by fedora-release-14-1.noarch rpmlib(PayloadIsXz) <= 5.2-1 is needed by fedora-release-14-1.noarch * I'm out of any ideas of how to get libguestfs working on my Red Hat. Is it really possible only by compiling it and all the very long list of dependencies? Any help would be appreciate!! thanx m.
On Sat, Nov 06, 2010 at 03:00:59AM +0000, mk wrote:
I need to install libguestfs 1.6 on Red Hat 5.5 Server.
I have tried to download libguestfs-1.6.0-1.fc13.1.x86_64.rpm and install it, but there is plenty of unresolved dependencies, which I am not able to satisfy with the repositories I am connected to. The same issue blocks me when I try to compile the source code.
So I tried to add fedora repository into the system:
Adding a Fedora repository like this is not possibly going to work. To get libguestfs 1.6 to compile, I would start with installing the dependencies from all the 'BuildRequires' lines in this file: http://pkgs.fedoraproject.org/gitweb/?p=libguestfs.git;a=blob;f=libguestfs.s... (The basic ones at least, don't bother with the language bindings). Once you've got a good proportion of the basic BRs added, you can try compiling using that spec file and rpmbuild. This is definitely not a simple task since we haven't been concerned with RHEL 5 compatibility for the latest libguestfs (only version 1.2) for many months, so undoubtedly parts of the code have changed to be incompatible with RHEL 5's gcc, autotools etc. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
BTW you will definitely need EPEL and to update febootstrap to version 2.10 first. http://fedoraproject.org/wiki/EPEL http://people.redhat.com/~rjones/febootstrap/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
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
participants (2)
-
mk -
Richard W.M. Jones