Re: Configure error - Could not find libxml2 anywhere

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

 



Thanks a lot Daniel, that was my problem.

Now, after running configure and make, I see the following error
during compilation -

xen_internal.c: In function `xenHypervisorGetVcpus':
xen_internal.c:1793: error: invalid application of `sizeof' to an
incomplete type

xen_internal.c: At top level:
/usr/include/xen/dom0_ops.h:399: error: storage size of `schedctl' isn't known
/usr/include/xen/dom0_ops.h:400: error: storage size of `adjustdom' isn't known
make[2]: *** [xen_internal.lo] Error 1

Any ideas to fix it?



On 11/7/06, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
On Tue, Nov 07, 2006 at 08:32:51AM -0500, Karthik V wrote:
> Hi All,
>
> I'm new to libvirt, and am having trouble running configure script.
> This is the error -
>
> checking for library containing xs_read... -lxenstore
> checking libxml2   no  ... checking for libxml2 libraries >= 2.5.0...
> checking libxml2   xml2-config  ... configure: error: Could not find
> libxml2 anywhere (see config.log for details).
>
> I've verified that I have libxml2 installed -
>
> debian:~/libvirt-0.1.8# dpkg -l | grep libxml
> ii  libxml2        2.6.16-7       GNOME XML library

This is only the runtime library - you need the development header files
and libraries installed to be able to compile against it.ie libxml2-dev

Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496
-=|
|=-           Perl modules: http://search.cpan.org/~danberr/
-=|
|=-               Projects: http://freshmeat.net/~danielpb/
-=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505
-=|



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]