I built ok, but it seemed that I couldn`t install the virt-tools correctly. Maybe I`ll use the virt-tools without needing to install, using the "run" script in the top directory. But what big differences between stable branch and development branch ? Is there any chance that I can get troubles for using development branch instead of stable branch? ________________________________ From: Richard W.M. Jones <rjones@redhat.com> To: THO HUYNH <feeliwood@yahoo.com> Cc: "libguestfs@redhat.com" <libguestfs@redhat.com> Sent: Monday, 26 March 2012, 1:38 Subject: Re: [Libguestfs] trouble compiling libguestfs 1.17.21 On Sun, Mar 25, 2012 at 07:20:16AM -0700, THO HUYNH wrote:
here is the two results I got from three commands:
$ grep for_each src/libguestfs.syms
guestfs___for_each_disk;
$ nm -D src/.libs/libguestfs.so | grep for_each no result returned
This is the problem. I understand the bug too: it's because you don't have the libxml2-devel package installed. From your configure output: checking for PCRE... yes checking for magic_file in -lmagic... no checking for LIBVIRT... yes checking for LIBXML2... no <----- checking for LIBCONFIG... no checking for HIVEX... yes checking for FUSE... no It should be possible to build libguestfs without libxml2, so I have pushed the following patch which should fix the problem: https://github.com/libguestfs/libguestfs/commit/f1d10672c7da94f8983b3b5d434e... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top