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

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:



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.

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