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

Re: [Xen-API] Compile xen-api error



On 14/08/12 03: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

Hi Xu,

The dependency you need is in xen-api-libs, which has a bunch of helper
libraries that xapi depends on. The wiki that you linked to had you
install those libraries as an RPM; that's what the xapi-libs-devel
package is. Take a look at http://github.com/xen-org to find xen-api-libs.

Mike

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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