[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] libguestfs init problem



Hi ,all :
    
        thanks for helping me !  I am using libguestfs-1.28.1 on ubuntu 12.04 to manage vm disk created by KVM. I downloaded libguestfs-1.28.1.tar.gz ,and then executed
     (1)  ./autogen.sh (2) ./configure (3) make (4) make check  .there is the error.
   
 /usr/Libvmi/libguestfs-1.28.1/run --test guest-aux/make-fedora-img.pl
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.28.1/tests/guests/guest-aux/make-fedora-img.pl line 103.
/usr/Libvmi/libguestfs-1.28.1/run: command failed with exit code 2
make[2]: *** [stamp-fedora-md.img] Error 2
make[2]: Leaving directory `/usr/Libvmi/libguestfs-1.28.1/tests/guests'

my questions are:
(1) I googled the problem. In guestfs(3) man page ,It seems like that I don't install FUSE. In fact ,I have no idea about so many     packages in libguestfs such v2v , src ,tools,tests and so on ,and I want to know where to find such kind information.
(2) I find that guestfsd is the daemon in guest, so ,do I have to modify the guest(such as run guestfsd in guest)?
(3) I just start the example  :   Inspect a disk image and display operating systems it may contain. so I copy the code under /libguestfs-1.28.1/prog.c , then I executed

 (1)
cc prog.c -o prog `pkg-config libguestfs --cflags --libs` ,
(2)./prog /var/lib/libvirt/images/vm.img



libguestfs: error: aug_init: aug_init: / (flags 48): Syntax error in lens definition: /usr/share/guestfs/guestfs_lvm_conf.aug:28.25-.40:Could not load module Quote for Quote.do_dquote
/usr/share/guestfs/guestfs_lvm_conf.aug:28.25-.40:Undefined variable Quote.do_dquote
/usr/share/guestfs/guestfs_lvm_conf.aug:29.31-.44:Could not load module Rx for Rx.relinteger
/usr/share/guestfs/guestfs_lvm_conf.aug:29.31-.44:Undefined variable Rx.relinteger
/usr/share/guestfs/guestfs_lvm_conf.aug:32.20-.23:Undefined variable int
/usr/share/guestfs/guestfs_lvm_conf.aug:40.17-.29:Undefined variable flat_literal
 
thanks for your patience,  I  Appreciate it so much .
                                                                                       sincerely

 




      
       

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]