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: Sergei Lebedev <superbobry@xxxxxxxxx>
Subject: Re: [Xen-API] XCP xen-api build error
From: Matthias Blankenhaus <matthiasblankenhaus@xxxxxxxxx>
Date: Fri, 15 Jul 2011 07:46:59 -0700 (PDT)
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 15 Jul 2011 07:50:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1310741219; bh=k10zw9Qc9SeefvT1lCXuBjOCEP/nU6RNoE2uXLRotEE=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=j+v905nWDObHPY7PRedGTr8yvgaORogIMheiRdE5WWwDywKadiXO3nyn6GLtHMWMFq02MR2SskXxcUkxlzlSARfUcZhNtX2e5Mj89Gq0d3By+cad8Rand6dC+FTmfcNywwKDycleueBf/AGpTxwz058Pm5xiCYyXdJxEl8zqXFc=
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=GYpYJuigMDnsgursmmd6xKDJPq94aIpV1eZU5S9DK0SI5qAqFy0rafjF8AIL/PTbMIZhK1heDyerztIMqx1zdLo3gQFzpcoIwEOJxds6Zn23P956AWiTvDVXVMiblbBG/H1/PUvWTVcGQ4xJ+v5XEHhYyHexu5Nbv5OyYXFlYJw=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAFQn-3_tz5uTUvDF2SAARmbmePr6sMYerPGSfdrhj4=cRrnQjQ@xxxxxxxxxxxxxx>
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
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
 

Thanx,
matthias

--- On Thu, 7/14/11, Sergei Lebedev <superbobry@xxxxxxxxx> wrote:

From: Sergei Lebedev <superbobry@xxxxxxxxx>
Subject: Re: [Xen-API] XCP xen-api build error
To: "Matthias Blankenhaus" <matthiasblankenhaus@xxxxxxxxx>
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Date: Thursday, July 14, 2011, 11:17 PM

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>