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

Re: [Xen-API] How can I build xen-api



On Wed, Nov 28, 2012 at 4:16 PM, James Bulpin <James.Bulpin@xxxxxxxxxxxxx> wrote:
tuna11@xxxxxxxxxxxxxx wrote:
> I clone xen-api from github (git clone git@xxxxxxxxxx:xen-org/xen-
> api.git) and also xen-api-libs. How can I compile it? I follow this
> guide, but no success.

If you could be more specific about what is failing, e.g. the compile error you see, then I am sure someone here can help resolve.

James



Hi Tuna & James,

I just cloned xen-api-libs into my dev centos5.5 32bit and tried to fire "make". It failed saying

[root@centosddk xen-api-libs]# make rpm
make: *** No rule to make target `rpm'.  Stop.
[root@centosddk xen-api-libs]# make
make: *** No targets specified and no makefile found.  Stop.

I found 2 makefiles in the repo, Makefile.in and Makefile,xcp
I copied Makefile.xcp to Makefile and fired "make rpm" which returned below

make[1]: Entering directory `/usr/src/redhat/BUILD/xapi-libs-0.1'
/usr/bin/make -C rpc-light
make[2]: Entering directory `/usr/src/redhat/BUILD/xapi-libs-0.1/rpc-light'
ocamlfind ocamlopt -I ../xml-light2 -I ../stdext -I ../uuid -annot -g -package xmlm -c -o rpc.cmi rpc.mli
ocamlopt: unknown option `-annot'.
usage: ocamlfind ocamlopt [options] file ...


Not sure how to proceed from here.

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

_______________________________________________
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®.