jgpsilver2011@hushmail.com
2011-Jul-06 08:44 UTC
[Xen-users] Building XCP xen-api from git
I am attempting to wrap my head around XCP right now and specifically using xen-api (xcp xen-api to avoid confusion) jgp@ubuntu1:~/xcp/code/xen-api-libs$ make make -C uuid make[1]: Entering directory `/home/jgp/xcp/code/xen-api-libs/uuid'' ocamlc -g -c -o uuid.cmi uuid.mli ocamlc -g -c -o uuid.cmo uuid.ml ocamlc -g -a -o uuid.cma uuid.cmo ocamlopt -g -dtypes -c -o uuid.cmx uuid.ml ocamlopt -g -dtypes -a -o uuid.cmxa uuid.cmx make[1]: Leaving directory `/home/jgp/xcp/code/xen-api-libs/uuid'' make -C stdext make[1]: Entering directory `/home/jgp/xcp/code/xen-api-libs/stdext'' ocamlc -g -c -o monad.cmi monad.mli ocamlc -g -c -o fun.cmi fun.mli ocamlc -g -c -o opt.cmi opt.mli ocamlc -g -c -o listext.cmi listext.mli ocamlc -g -c -I ../uuid -o filenameext.cmi filenameext.mli ocamlc -g -c -o stringext.cmi stringext.mli ocamlc -g -c -o arrayext.cmi arrayext.mli ocamlc -g -c -o hashtblext.cmi hashtblext.mli ocamlc -g -c -o pervasiveext.cmi pervasiveext.mli ocamlc -g -thread -c -o threadext.cmi threadext.mli ocamlc -g -c -o int64ext.cmi int64ext.mli ocamlc -g -c -o ring.cmi ring.mli ocamlc -g -c -o qring.cmi qring.mli ocamlc -g -c -o fring.cmi fring.mli ocamlc -g -c -o bigbuffer.cmi bigbuffer.mli ocamlc -g -c -o unixext.cmi unixext.mli ocamlc -g -c -o range.cmi range.mli ocamlc -g -c -o vIO.cmi vIO.mli ocamlc -g -c -o trie.cmi trie.mli ocamlc -g -c -o config.cmi config.mli ocamlc -g -c -o date.cmi date.mli ocamlc -g -c -o encodings.cmi encodings.mli ocamlfind: Package `type-conv'' not found ocamlc -g -pp ''camlp4o -I ../rpc-light -I pa_type_conv.cmo pa_rpc.cma'' -I ../jsonrpc -I ../rpc-light -c -o fe.cmo fe.ml Camlp4: Uncaught exception: DynLoader.Error ("pa_rpc.cma", "file not found in path") File "fe.ml", line 1, characters 0-1: Error: Preprocessor error make[1]: *** [fe.cmo] Error 2 make[1]: Leaving directory `/home/jgp/xcp/code/xen-api-libs/stdext'' make: *** [all] Error 2 jgp@ubuntu1:~/xcp/code/xen-api-libs$ jgp@ubuntu1:~/xcp/code/xen-api-libs$ git status # On branch master no changes added to commit (use "git add" and/or "git commit -a") If anyone has any suggestions or even a pointer in the right direction it would be much appreciated. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jul 6, 2011 at 4:44 AM, <jgpsilver2011@hushmail.com> wrote:> I am attempting to wrap my head around XCP right now and > specifically using xen-api (xcp xen-api to avoid confusion) >I''m not sure what you goal is, but you might want to take a look at: https://github.com/mcclurmc/xen-api-libs/tree/kronos-kitchen-sink and http://wiki.xensource.com/xenwiki/XCP_Roadmap> jgp@ubuntu1:~/xcp/code/xen-api-libs$ make > make -C uuid > make[1]: Entering directory `/home/jgp/xcp/code/xen-api-libs/uuid'' > ocamlc -g -c -o uuid.cmi uuid.mli > ocamlc -g -c -o uuid.cmo uuid.ml > ocamlc -g -a -o uuid.cma uuid.cmo > ocamlopt -g -dtypes -c -o uuid.cmx uuid.ml > ocamlopt -g -dtypes -a -o uuid.cmxa uuid.cmx > make[1]: Leaving directory `/home/jgp/xcp/code/xen-api-libs/uuid'' > make -C stdext > make[1]: Entering directory `/home/jgp/xcp/code/xen-api-libs/stdext'' > ocamlc -g -c -o monad.cmi monad.mli > ocamlc -g -c -o fun.cmi fun.mli > ocamlc -g -c -o opt.cmi opt.mli > ocamlc -g -c -o listext.cmi listext.mli > ocamlc -g -c -I ../uuid -o filenameext.cmi filenameext.mli > ocamlc -g -c -o stringext.cmi stringext.mli > ocamlc -g -c -o arrayext.cmi arrayext.mli > ocamlc -g -c -o hashtblext.cmi hashtblext.mli > ocamlc -g -c -o pervasiveext.cmi pervasiveext.mli > ocamlc -g -thread -c -o threadext.cmi threadext.mli > ocamlc -g -c -o int64ext.cmi int64ext.mli > ocamlc -g -c -o ring.cmi ring.mli > ocamlc -g -c -o qring.cmi qring.mli > ocamlc -g -c -o fring.cmi fring.mli > ocamlc -g -c -o bigbuffer.cmi bigbuffer.mli > ocamlc -g -c -o unixext.cmi unixext.mli > ocamlc -g -c -o range.cmi range.mli > ocamlc -g -c -o vIO.cmi vIO.mli > ocamlc -g -c -o trie.cmi trie.mli > ocamlc -g -c -o config.cmi config.mli > ocamlc -g -c -o date.cmi date.mli > ocamlc -g -c -o encodings.cmi encodings.mli > ocamlfind: Package `type-conv'' not found > ocamlc -g -pp ''camlp4o -I ../rpc-light -I pa_type_conv.cmo > pa_rpc.cma'' -I ../jsonrpc -I ../rpc-light -c -o fe.cmo fe.ml > Camlp4: Uncaught exception: DynLoader.Error ("pa_rpc.cma", "file > not found in path") > > File "fe.ml", line 1, characters 0-1: > Error: Preprocessor error > make[1]: *** [fe.cmo] Error 2 > make[1]: Leaving directory `/home/jgp/xcp/code/xen-api-libs/stdext'' > make: *** [all] Error 2 > jgp@ubuntu1:~/xcp/code/xen-api-libs$ > > jgp@ubuntu1:~/xcp/code/xen-api-libs$ git status > # On branch master > no changes added to commit (use "git add" and/or "git commit -a") > > If anyone has any suggestions or even a pointer in the right > direction it would be much appreciated. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Todd Deshane http://www.linkedin.com/in/deshantm http://www.xen.org/products/cloudxen.html http://runningxen.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 06/07/11 19:35, Todd Deshane wrote:> On Wed, Jul 6, 2011 at 4:44 AM,<jgpsilver2011@hushmail.com> wrote: >> I am attempting to wrap my head around XCP right now and >> specifically using xen-api (xcp xen-api to avoid confusion) >> > > I''m not sure what you goal is, but you might want to take a look at: > > https://github.com/mcclurmc/xen-api-libs/tree/kronos-kitchen-sink >This repo is more up to date: https://github.com/jonludlam/xen-api-libs.git> and > > http://wiki.xensource.com/xenwiki/XCP_Roadmap > >> jgp@ubuntu1:~/xcp/code/xen-api-libs$ make[snip]>> ocamlfind: Package `type-conv'' not foundYou need to install the type-conv library. If you''re using Debian, just do ''aptitude install libtype-conv-camlp4-dev''. If you''re on unstable, this will install type-conv 2.3. For this, you''ll definitely need to use one of the two branches that Todd and I mentioned above.>> ocamlc -g -pp ''camlp4o -I ../rpc-light -I pa_type_conv.cmo >> pa_rpc.cma'' -I ../jsonrpc -I ../rpc-light -c -o fe.cmo fe.ml >> Camlp4: Uncaught exception: DynLoader.Error ("pa_rpc.cma", "file >> not found in path") >> >> File "fe.ml", line 1, characters 0-1: >> Error: Preprocessor error >> make[1]: *** [fe.cmo] Error 2 >> make[1]: Leaving directory `/home/jgp/xcp/code/xen-api-libs/stdext'' >> make: *** [all] Error 2 >> >> If anyone has any suggestions or even a pointer in the right >> direction it would be much appreciated. >>You''ll need to make sure that you have Xen unstable compiled from source -- the Debian packages don''t install the required Xen OCaml libraries yet. We''re in the process of porting xen-api to Debian. Todd and I are hoping to be able to write a wiki sometime next week explaining what we''ve done and how people can follow along. Let us know if you run into any more problems along the way. We''re always lurking on #xen-api on freenode if you''d like to chat. Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi ! Did you ever get this resolved ? I am running into the same problem. I have compiled / installed xen-unstable and still run into the same problem. Thanx, Matthias --- On Wed, 7/6/11, jgpsilver2011@hushmail.com <jgpsilver2011@hushmail.com> wrote:> From: jgpsilver2011@hushmail.com <jgpsilver2011@hushmail.com> > Subject: [Xen-users] Building XCP xen-api from git > To: xen-users@lists.xensource.com > Date: Wednesday, July 6, 2011, 1:44 AM > I am attempting to wrap my head > around XCP right now and > specifically using xen-api (xcp xen-api to avoid confusion) > > > jgp@ubuntu1:~/xcp/code/xen-api-libs$ make > make -C uuid > make[1]: Entering directory > `/home/jgp/xcp/code/xen-api-libs/uuid'' > ocamlc -g -c -o uuid.cmi uuid.mli > ocamlc -g -c -o uuid.cmo uuid.ml > ocamlc -g -a -o uuid.cma uuid.cmo > ocamlopt -g -dtypes -c -o uuid.cmx uuid.ml > ocamlopt -g -dtypes -a -o uuid.cmxa uuid.cmx > make[1]: Leaving directory > `/home/jgp/xcp/code/xen-api-libs/uuid'' > make -C stdext > make[1]: Entering directory > `/home/jgp/xcp/code/xen-api-libs/stdext'' > ocamlc -g -c -o monad.cmi monad.mli > ocamlc -g -c -o fun.cmi fun.mli > ocamlc -g -c -o opt.cmi opt.mli > ocamlc -g -c -o listext.cmi listext.mli > ocamlc -g -c -I ../uuid -o filenameext.cmi filenameext.mli > ocamlc -g -c -o stringext.cmi stringext.mli > ocamlc -g -c -o arrayext.cmi arrayext.mli > ocamlc -g -c -o hashtblext.cmi hashtblext.mli > ocamlc -g -c -o pervasiveext.cmi pervasiveext.mli > ocamlc -g -thread -c -o threadext.cmi threadext.mli > ocamlc -g -c -o int64ext.cmi int64ext.mli > ocamlc -g -c -o ring.cmi ring.mli > ocamlc -g -c -o qring.cmi qring.mli > ocamlc -g -c -o fring.cmi fring.mli > ocamlc -g -c -o bigbuffer.cmi bigbuffer.mli > ocamlc -g -c -o unixext.cmi unixext.mli > ocamlc -g -c -o range.cmi range.mli > ocamlc -g -c -o vIO.cmi vIO.mli > ocamlc -g -c -o trie.cmi trie.mli > ocamlc -g -c -o config.cmi config.mli > ocamlc -g -c -o date.cmi date.mli > ocamlc -g -c -o encodings.cmi encodings.mli > ocamlfind: Package `type-conv'' not found > ocamlc -g -pp ''camlp4o -I ../rpc-light -I > pa_type_conv.cmo > pa_rpc.cma'' -I ../jsonrpc -I ../rpc-light -c -o fe.cmo > fe.ml > Camlp4: Uncaught exception: DynLoader.Error ("pa_rpc.cma", > "file > not found in path") > > File "fe.ml", line 1, characters 0-1: > Error: Preprocessor error > make[1]: *** [fe.cmo] Error 2 > make[1]: Leaving directory > `/home/jgp/xcp/code/xen-api-libs/stdext'' > make: *** [all] Error 2 > jgp@ubuntu1:~/xcp/code/xen-api-libs$ > > jgp@ubuntu1:~/xcp/code/xen-api-libs$ git status > # On branch master > no changes added to commit (use "git add" and/or "git > commit -a") > > If anyone has any suggestions or even a pointer in the > right > direction it would be much appreciated. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users