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: [email protected] [mailto:[email protected]] On Behalf Of Santosh Jodh Sent: 22 April 2013 23:12 To: Jonathan Ludlam; Dave Scott; [email protected] 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 [email protected] http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
