Apologies, those instructions are a little out-of-date. The problem is that
xapi and xen-api-libs progress more-or-less in lockstep, and the RPMs of the
libs haven't been updated in a while.
The best thing to do until I can update the RPMs purge xapi-libs, then build it
from the github repo (check it out, ./autogen.sh, ./configure, etc), then make
install. Then try xapi again. You'll need ocaml-3.12.0 too.
Jon
On 20 Sep 2011, at 02:26, Terence Kent wrote:
> 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
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|