WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] Building libxen

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] Building libxen
From: "Ryan Burke" <burke@xxxxxxxxxxxxxxxxx>
Date: Fri, 21 Mar 2008 09:36:00 -0500 (CDT)
Cc: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 21 Mar 2008 07:36:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <OF074B128C.3439DE30-ON85257413.003F0056-85257413.003F3B95@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <OF074B128C.3439DE30-ON85257413.003F0056-85257413.003F3B95@xxxxxxxxxx>
Reply-to: burke@xxxxxxxxxxxxxxxxx
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.13
> xen-api-bounces@xxxxxxxxxxxxxxxxxxx wrote on 03/20/2008 10:18:44 AM:
>
>> I'm looking at playing around with libxen, which I understand to be the
> C
>> bindings of Xen-API. I have built xen3.2 but have not installed it yet.
> It
>> looks like I should still be able to build libxen even though Xen itself
>> hasn't been installed. Obviously I can't use it but I'm just looking to
>> get access to start playing around with the code.
>>
>> Anyway I'm running CentOS 4.4 and I installed both libxml2-devel and
>> curl-devel. However when I CD in tools/libxen and run "make" I get the
>> following output/error:
>>
>> gcc  -Iinclude -I/usr/include/libxml2  -W -Wall -Wmissing-prototypes
>> -Werror -std=c99 -O2 -fPIC -c -o src/xen_common.o src/xen_common.c
>> src/xen_common.c: In function `make_body':
>> src/xen_common.c:1384: warning: implicit declaration of function
>> `xmlSaveToBuffer'
>> src/xen_common.c:1384: error: `XML_SAVE_NO_XHTML' undeclared (first use
> in
>> this function)
>> src/xen_common.c:1384: error: (Each undeclared identifier is reported
> only
>> once
>> src/xen_common.c:1384: error: for each function it appears in.)
>> src/xen_common.c:1384: warning: initialization makes pointer from
> integer
>> without a cast
>> make: *** [src/xen_common.o] Error 1
>>
>
> The XML_SAVE_NO_XHTML is defined in /usr/include/libxml2/libxml/xmlsave.h
> . I have version 2.6.31 of llibxml2-devel installed on FedoraCore8. It
> compiles fine.
>
>    Stefan
>
>>
>> Has anyone ran into this before? Does libxen build on xen 3.2.0? Is
> there
>> a specific version of libxml that I need?
>>
>> Thanks to all those who are willing to take a second and help me out.
>>
>> Ryan
>>

Well I started working my way up through the libxml2 versions and the
winner is....

libxml2-2.6.23-1 is the minimum version needed to build libxen.

It would be nice if that was documented somewhere, but at least it is not
in the mail-list archives :).

Thanks for the help Stefan.

Ryan


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>