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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20101106/e0c3bb4a/attachment.htm>
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.spec;hb=HEAD (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
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
On Thu, Nov 11, 2010 at 04:55:30PM +0000, mk wrote:> Currently, I use > > - v.1.6 on Fedora 13 (no prob., have support for all groups of > functionality) > > - v.1.2.14 on RHEL 5.5, installed from EPEL > (libguestfs-1.2.14-1.el5.x86_64.rpm). However, when I test it, > $h->available (\@groups) fails for every available group.Little bit surprising ... What does this command say: guestfish -a /dev/null run : available "lvm2" && echo this is available On my CentOS 5.5 x86-64 host it says that lvm2 is available, which it should be under every circumstance on a Linux host.> Is anywhere a build with support for all of them?It's not possible to build libguestfs on RHEL 5 with support for everything. Some external programs simply don't exist. Might be better to start with the question: what features do you need that are missing? [Please send replies to the list] 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