[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64
opam install installed type_conv but I am still getting the exact same error. Do I need to refresh environment to pick up the newly installed type_conv? -----Original Message----- From: Anil Madhavapeddy [mailto:anil@xxxxxxxxxx] Sent: Thursday, April 25, 2013 2:34 PM To: Santosh Jodh Cc: Dave Scott; John Else; xen-api@xxxxxxxxxxxxx Subject: Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64 Try "opam install type_conv" and see if that helps when you retry xen-api-libs. -anil On 25 Apr 2013, at 22:32, Santosh Jodh <Santosh.Jodh@xxxxxxxxxx> wrote: > I am hitting an error while building xen-api-libs now. It cannot find > type-conv: > > ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -package > camlp4,type-conv -ppopt -I -ppopt /usr/lib/ocaml/type-conv -ppopt -I > -ppopt ../rpc-light -ppopt pa_rpc.cma -syntax camlp4o -I ../rpc-light > -I ../jsonrpc -I ../rpc-light -I ../jsonrpc -I ../rpc-light -c -o > fe.cmo fe.ml > ocamlfind: Package `type-conv' not found > make[1]: *** [fe.cmo] Error 2 > make[1]: Leaving directory > `/shared/home/sjodh/src/netscaler/xen-api-libs/stdext' > make: *** [all] Error 2 > > -----Original Message----- > From: Anil Madhavapeddy [mailto:anil@xxxxxxxxxx] > Sent: Thursday, April 25, 2013 7:33 AM > To: Santosh Jodh > Cc: Dave Scott; John Else; xen-api@xxxxxxxxxxxxx > Subject: Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64 > > OPAM 1.0 has been released and will be in binary packages as soon as Debian > and other packaging vendors catch up in their release cycles: > https://github.com/OCamlPro/opam/issues/149 > > Therefore it is safe to remove the xen-org/opam snapshot now. > > To upgrade OPAM, you just need to compile OPAM-1.0 and replace the OPAM > binary, and run 'opam update' to refresh your package list. It may be easier > to just delete ~/.opam and recompile packages. There is no state for OPAM > held outside of ~/.opam. > > -anil > > On 25 Apr 2013, at 15:13, Santosh Jodh <Santosh.Jodh@xxxxxxxxxx> wrote: > >> Yes - they are from wiki >> http://wiki.xensource.com/wiki/XenAPI_client_libraries_for_ocaml. >> >> Can we remove the obsolete repo git://github.com/xen-org/opam? >> >> I will try the new instructions. Do I need to uninstall opam first? And how >> do I do that? >> >> Thanks, >> Santosh >> >> >> From: Dave Scott >> Sent: Thursday, April 25, 2013 4:51 AM >> To: John Else >> Cc: Santosh Jodh; Jonathan Ludlam; xen-api@xxxxxxxxxxxxx >> Subject: Re: Compiling xen-api on Debian Wheezy AMD64 >> >> Hi, >> >> Thanks, John -- your instructions look right to me. >> >> Santosh: were the broken instructions on the wiki? If so, please update them >> once you get it working! >> >> Thanks, >> >> -- >> Dave Scott >> XenServer System Architect >> >> On Apr 25, 2013, at 12:32 PM, "John Else" <john.else@xxxxxxxxxx> wrote: >> >> Hi Santosh, >> >> Firstly I'd recommend cloning opam from the OCamlPro repository, rather than >> xen-org's fork (it's several months out of date), and secondly building a >> tagged release of opam rather than the master branch. Try: >> >> git clone git://github.com/OCamlPro/opam cd opam git checkout latest >> ./configure && make && sudo make install >> >> Then you can initialise opam with the default (OCamlPro) repository, and add >> xen-org's repository: >> >> opam init >> eval `opam config env` >> opam remote add xen-org git://github.com/xen-org/opam-repo-dev >> >> Hope this helps, >> John >> >> From: xen-api-bounces@xxxxxxxxxxxxx >> [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf OfSantosh Jodh >> Sent: 22 April 2013 23:12 >> To: Jonathan Ludlam; Dave Scott; xen-api@xxxxxxxxxxxxx >> Subject: [Xen-API] Compiling xen-api on Debian Wheezy AMD64 >> >> I am trying to compile xen-api - specifically rrdump.ml >> >> ocamlc version: >> The Objective Caml compiler, version 3.12.1 Standard library >> directory: /usr/lib/ocaml >> >> >> git clone git://github.com/xen-org/opam cd opam; ./configure && make >> && sudo make install >> >> This succeeded. >> >> sjodh@REDBLD-XS:~/src/netscaler/xen-api-libs$ opam init >> git://github.com/xen-org/opam-repository >> Fetching git://github.com/xen-org/opam-repository ... >> { patches } are invalid field names in >> /home/sjodh/.opam/opam/bigbro.2.0.4-rev3.opam. Valid fields are { >> opam-version, maintainer, substs, build, remove, depends, depopts, >> conflicts, libraries, syntax, ocaml-version, build-env, license, >> authors, homepage, version, name } 'opam init >> git://github.com/xen-org/opam-repository' failed >> >> >> Regards, >> Santosh >> _______________________________________________ >> 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |