On Tue, Nov 07, 2006 at 04:48:07PM +0000, Karthik V wrote:
I'm using Xen 3.0 and libvirt 0.1.8 ... Is that a supported
combination? Can
someone help me out?
Which exact version of Xen ? There has been an unfortunate tendancy for
Xen to break userspace compatability in the header files between even
minor releases such as 3.0.2 -> 3.0.3 :-( That said, libvirt is intended
to be capable of working against any Xen 3.0.1 or later, so if there's
bugs we need to fix them.
On 11/7/06, Karthik V <karthikveeramani(a)gmail.com> wrote:
>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(a)redhat.com> 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
>>
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 -=|