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] XCP xen-api build error

To: Mike McClurg <mike.mcclurg@xxxxxxxxxx>
Subject: Re: [Xen-API] XCP xen-api build error
From: Matthias Blankenhaus <matthiasblankenhaus@xxxxxxxxx>
Date: Thu, 21 Jul 2011 11:44:10 -0700 (PDT)
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 21 Jul 2011 11:44:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1311273850; bh=hmVZRfpJXTfSkzmeD0c4O1VJRB2a8g7QR3xs/g7Rbpg=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=OC9WI1CmdAQ7AAPvyKc5qLO7mAhREO3X8dLf1cDu5gKFj4m6YGBqG63qOfwv3PoDjAHHRHGO0c7cd8YhvqzK5PrC1fcWwYMLUERR8HwUHTerG4WScBOYOvpwX2IWeNf5ZJ+N9JYuNm7pcTGqerdcvG4iT3EIPkBWty9oosll2GQ=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=F6JL7dDGGb0BgQr4wtMTbbhV10iMbkbuP5Fa+kEuO0FXuUzGTpnKhsXNVLWjt3Y4pe2DiS0dzXcDhDlv7ajxCJhgNeFISTRO56bDzu+GK8c1GyppiKXk5fRnDtxh6R1XEeJcuBg5J4J2/40SmC4LuZP4J31eoJ9UneipsfUM6MI=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E26D364.1020907@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/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Mike,

thank you for the info.  In the meantime I had to revert back to xend, 'cause I simply
was unable to build xapi from github.  I am going to the Xen Summit in the beginning of August here in Santa Clara and I hope that I will be able to acquire enough information from attendees to build xapi. In addition, I will keep experimenting with the build process. I will post my findings on this list, once I've been able to build xapi.

In the meantime, it would be really nice if someone who has already build xapi, maybe you ?, could post the spec for the build env on the Xen Wiki or xapi Wiki.  Interesting to know are: distro, OS version, OCaml & OCaml lib versions, versions of required system libs, in general where to get all the modules from.

I want to use xapi, because it has support for pooling.

Thank you,
Matthias

--- On Wed, 7/20/11, Mike McClurg <mike.mcclurg@xxxxxxxxxx> wrote:

From: Mike McClurg <mike.mcclurg@xxxxxxxxxx>
Subject: Re: [Xen-API] XCP xen-api build error
To: "Matthias Blankenhaus" <matthiasblankenhaus@xxxxxxxxx>
Cc: "Sergei Lebedev" <superbobry@xxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Date: Wednesday, July 20, 2011, 6:08 AM

On 15/07/11 15:46, Matthias Blankenhaus wrote:
Hi Sergei,

I am indeed using Ocaml 3.11 as it comes with CentOS5.5 / 32bit.  I have tried building before with Ocaml 3.12, but then I ran into type-conv lib problems.  I have posted my findings on this list about that recently.
Going the CentOS5.5 / 32 bit route got me much farther then before, thus I'd like to continue on that path. 

Which OCaml pkgs, besides ocaml itself,  do I need to update to move to 3.12 ?

Here is what I currently have installed:

# rpm -qa |grep ocaml
ocaml-type-conv-1.6.8-unknown
ocaml-findlib-1.1.2pl1-unknown
ocaml-xmlm-devel-1.0.2-unknown
ocaml-getopt-20040811-unknown
ocaml-xmlm-1.0.2-unknown
ocaml-3.11.0-unknown
 

Here is what I get from ocamlfind in my build environment (this is for building xen-api/master and xen-api-libs/master on the xen-org github repo):

type-conv           (version: 2.0.1)
xmlm                (version: 1.0.2)
findlib             (version: 1.2.6)
getopt              (version: 20040420)

We are also using OCaml 3.12, but I don't believe that we're taking advantage of any new features, so it might be possible to still use 3.11 to build. Having said that, I would highly recommend using OCaml 3.12.0.

If you want to build xapi on Debian Sid, then you'll need to use Jon Ludlam's 'debian' branches on his github repos for xen-api[-libs]: https://github.com/jonludlam

Mike
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>