[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] XCP xen-api build error


  • To: Sergei Lebedev <superbobry@xxxxxxxxx>
  • 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
  • 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=;
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.