Hi all: I installed libguestfs-1.29.40 on both ubuntu 12.04 and ubuntu 14.04. Both of them have the same problems,It is about the 'AVAILABILITY' . I build libguestfs by tarball , everything is ok except the commond : make check . on ubuntu 12.04 the error is md_create: feature 'mdadm' is not available in this build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for how to check for the availability of features. at /usr/Libvmi/libguestfs-1.29.40/tests/guests/guest-aux/make-fedora-img.pl line 103. /usr/Libvmi/libguestfs-1.29.40/run: command failed with exit code 2 make[2]: *** [stamp-fedora-md.img] Error 2 make[2]: Leaving directory `/usr/ /libguestfs-1.29.40/tests/guests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/usr/Libvmi/libguestfs-1.29.40/tests/guests' on ubuntu 14.04 the error is feature 'lvm2' is not available in this build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for how to check for the availability of features. then I execute :libguestfs-test-tool there is something wrong I execute make quickcheck there is something wrong too! I just I have no idea about the 'AVAILABILITY' problems . I will be very excited if the problem can be solved. thanks again ! hope you have a good day! sincerely
On Wed, May 13, 2015 at 03:22:26PM +0800, fu lirong wrote:> Hi all: > I installed libguestfs-1.29.40 on both ubuntu 12.04 and ubuntu > 14.04. Both of them have the same problems,It is about the 'AVAILABILITY' > . I build libguestfs by tarball , everything is ok except the commond : > make check . > > on ubuntu 12.04 the error is > > md_create: feature 'mdadm' is not available in this > build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for > how to check for the availability of features. atThis happens because the program 'mdadm' is not installed. Probably you just need to install it with apt-get, and everything should work. You might need to rebuild libguestfs, or not, depending on how you build the appliance.> feature 'lvm2' is not available in this > build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for > how to check for the availability of features.This is caused because the program 'lvm' is not installed. As above, install it with apt-get and things should work. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com 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
On Thu, May 14, 2015 at 11:07:17AM +0800, fu lirong wrote:> yes , I installed mdadm by tarball mdadm-3.3.tar.gz , It just > doesn't work . after that I install mdadm by apt-get install mdadm > and It doesn't work too. the problem is still there.supermin only recognizes programs which are installed by the package manager, ie. installed through apt-get on Debian/Ubuntu. While it's possible to add arbitrary files to the appliance (see the supermin manual page[1] for details), since Debian has mdadm already packaged it's better to get it from there. Rich. [1] http://libguestfs.org/supermin.1.html#SUPERMIN-APPLIANCES -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html