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

[Xen-API] xen-api compile issue

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] xen-api compile issue
From: Terence Kent <tkent@xxxxxxxxx>
Date: Mon, 19 Sep 2011 18:26:38 -0700
Delivery-date: Mon, 19 Sep 2011 18:26:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Hello all,

I'm attempting to install the xapi toolstack on a 32bit CentOS 5.6 system with 
ocaml 3.11.0, but I'm running into an issue. When I follow the instructions for 
CentOS 5.5 (http://wiki.xensource.com/xenwiki/XCP_Building_Instructions), I get 
the following error when attempting to build:

omake phase1
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.27 sec)
--- Checking for ocamlfind... (found /usr/bin/ocamlfind)=====================   
                                                                             ] 
00163 / 00333
--- Checking for ocamlc.opt... (found /usr/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /usr/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
*** omake: done (28.99 sec, 38/38 scans, 52/108 rules, 199/571 digests)         
                                                                                
            
omake phase2
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.22 sec)
- build ocaml/idl/ocaml_backend xmlrpcclient.cmi                                
                                                                                
            
+ ocamlfind ocamlc -package 
stdext,log,xml-light2,stunnel,sexpr,http-svr,rpc-light -g -dtypes -thread 
-warn-error +a-4-6-9-27-28-29 -g -g -I +ocamldoc -I .. -I ../.. -I 
../../database -I ../../autogen -I ../../xapi -I ../../client_records -I 
../../util -c xmlrpcclient.mli
File "xmlrpcclient.mli", line 50, characters 16-30:
Error: Unbound type constructor 
Http.Request.t=======================================================           
                                             ] 00262 / 00407
*** omake: 262/407 targets are up to date                                       
                                                                                
            
*** omake: failed (1.24 sec, 5/25 scans, 9/68 rules, 20/427 digests)
*** omake: targets were not rebuilt because of errors:                          
                                                                                
            
   ocaml/idl/ocaml_backend/xmlrpcclient.cmi
      depends on: ocaml/idl/ocaml_backend/xmlrpcclient.mli
make: *** [all] Error 2


I know very little about ocaml, so I've been unable to debug the error. I've 
gone through the exercise of installing ocaml-http, in case that was a 
dependency, but was just a guess and didn't have any effect on the error. Can 
somebody point me in the right direction?

Thanks!
Terence


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

<Prev in Thread] Current Thread [Next in Thread>