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: Matthias Blankenhaus <matthiasblankenhaus@xxxxxxxxx>
Subject: Re: [Xen-API] XCP xen-api build error
From: Sergei Lebedev <superbobry@xxxxxxxxx>
Date: Fri, 15 Jul 2011 10:17:23 +0400
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Jul 2011 23:18:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8zjb7dALYIDHt/Qzg+f+GR2AfZLqImksA2OjJb1r6/Y=; b=sNoGaGDvNJwt1ZPA9yH0ORKtzAe70R10PriDgO4i6LqVm+5lDrYrAZ9oTBcb7iAGPP mNdCGwL/rf2okN4MMOMsa6Bmngp2f6Mxjlggu9RubS5wjAIU3aEfuEtpoEMgfR0qLeAB EGXI+oaGphTUWm1DT9ave4FJFPOSueOHH/7cE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1310706227.5489.YahooMailClassic@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <1310706227.5489.YahooMailClassic@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hello Matthias,

I remember having a similar error message, with Ocaml3.11 -- make sure you build with Ocaml3.12, which I belive is the only one available xen-api unstable repository `http://downloads.xen.org/XCP/xcp-unstable-repo`.

--Sergei

On Fri, Jul 15, 2011 at 9:03 AM, Matthias Blankenhaus <matthiasblankenhaus@xxxxxxxxx> wrote:
Howdy  !

I am now trying to compile the xen-api proj from XCP.  I have followed the instructions from the Xen Web page and I am thus building xen-api on a CentoS5 / 32 bit machine.    I have retrieved the source from github.

The build is going smooth until it breaks in phase 3:
omake phase3
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.20 sec)
- scan ocaml/autogen scan-ocaml db_actions.ml

+ ocamlfind ocamldep -package xml-light2,sexpr,http-svr,log -native -I ../idl/ocaml_backend -I ../database -I
                  ../idl db_actions.ml
File "db_actions.ml", line 1413, characters 17-20:
Error: Syntax error
*** omake: 347/2728 targets are up to date

*** omake: failed (0.84 sec, 6/51 scans, 0/107 rules, 1/962 digests)
*** omake: targets were not rebuilt because of errors:
                  <scanner ocaml/autogen/scan-ocaml-db_actions.ml>
0make: *** [all] Error 2

Your help is much appreciated.

Matthias


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

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