|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-api
Re: [Xen-API] XCP xen-api build error 
| | 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,
 
 --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
 | 
 |  | 
  
    |  |  |