Well... The easiest way to compile xapi is using debian package.

apt-get build-dep xcp-xapi
apt-get source xcp-xapi
cd xen-api*
dpkg-buildpackage

... and that all.

Thanks to maintainer - it perfectly builds.



On 14.08.2012 06:22, 徐继伟 wrote:
Hello, everyone!

I try to compile xen-api and get some errors.

[root@ xen-api]# make
omake -j 8 phase1
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.14 sec)
- build ocaml/idl datamodel_values.cmx
+ ocamlfind ocamlopt -package xml-light2,sexpr,log,http-svr -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ocaml_backend -I ../database -I .. -c datamodel_values.ml <http://datamodel_values.ml> File "datamodel_values.ml <http://datamodel_values.ml>", line 28, characters 17-33:
Error: Unbound module XMLRPC
*** omake: 323/353 targets are up to date
*** omake: failed (0.37 sec, 33/38 scans, 1/85 rules, 1/458 digests)
*** omake: targets were not rebuilt because of errors:
   ocaml/idl/datamodel_values.cmi
depends on: ocaml/idl/datamodel_values.ml <http://datamodel_values.ml>
   ocaml/idl/datamodel_values.cmx
depends on: ocaml/idl/datamodel_values.ml <http://datamodel_values.ml>
   ocaml/idl/datamodel_values.o
depends on: ocaml/idl/datamodel_values.ml <http://datamodel_values.ml>
make: *** [all] Error 2

I follow the building instructions list in http://wiki.xen.org/wiki/XCP_Building_Instructions. Does anyone can help me to resolve this problem or tell me where the module XMLRPC exists?

Thank you!

                                                                 Xu Jiwei
                                                                2012.8.14


_______________________________________________
Xen-api mailing list
[email protected]
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
[email protected]
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to