Building Xapi: Difference between revisions

From Xen
Jump to navigationJump to search
(Created page with "= What is xapi ? = = Who is this document for? = # People wanting to compile xapi on Archlinux (I’m not talking about _running_ it, just compile it for now). = Build from so…")
 
m (Add XAPI and HowTo categories)
 
(4 intermediate revisions by 3 users not shown)
Line 6: Line 6:


= Build from source prerequisites =
= Build from source prerequisites =

You will need:
# the normal build tools (yaourt -S base-devel, maybe more…)
# Xen 4.2 and blktap headers (yaourt -S xen blktap-git)
# the [http://www.ocaml.org/ OCaml] compiler (at least version 3.12.1)
# the OCaml package manager, [http://opam.ocamlpro.org/ OPAM]


== Archlinux ==
== Archlinux ==
Line 11: Line 17:
$ yaourt -S base-devel ocaml opam-git xen blktap-git
$ yaourt -S base-devel ocaml opam-git xen blktap-git
$ opam-init
$ opam-init
$ opam remote add xen-dev git://github.com/xen-org/opam-repo-dev
$ opam remote add xen-dev git://github.com/xapi-project/opam-repo-dev
$ opam install -y cdrom fd-send-recv forkexecd libvhd nbd netdev oclock ounit rpc ssl stdext syslog tapctl xen-api-libs-transitional xenctrl xenstore
$ opam install -y cdrom fd-send-recv forkexecd libvhd nbd netdev oclock ounit rpc ssl stdext syslog tapctl xen-api-libs-transitional xenctrl xenstore
$ git clone git://github.com/vbmithr/xen-api.git
$ git clone git://github.com/vbmithr/xen-api.git
Line 22: Line 28:
* checkout branch ea-1254 from github.com:jonludlam/xen-api.git
* checkout branch ea-1254 from github.com:jonludlam/xen-api.git
* Add Arch in scripts/detect_distro.sh
* Add Arch in scripts/detect_distro.sh
* Use xenguest stubs from github.com:xen-org/ocaml-xen-lowlevel-libs.git
* Use xenguest stubs from github.com:xapi-project/ocaml-xen-lowlevel-libs.git

[[Category:XAPI]] [[Category:HowTo]][[Category:XAPI Devel]]

Latest revision as of 15:07, 9 November 2016

What is xapi ?

Who is this document for?

  1. People wanting to compile xapi on Archlinux (I’m not talking about _running_ it, just compile it for now).

Build from source prerequisites

You will need:

  1. the normal build tools (yaourt -S base-devel, maybe more…)
  2. Xen 4.2 and blktap headers (yaourt -S xen blktap-git)
  3. the OCaml compiler (at least version 3.12.1)
  4. the OCaml package manager, OPAM

Archlinux

 $ yaourt -S base-devel ocaml opam-git xen blktap-git
 $ opam-init
 $ opam remote add xen-dev git://github.com/xapi-project/opam-repo-dev
 $ opam install -y cdrom fd-send-recv forkexecd libvhd nbd netdev oclock ounit rpc ssl stdext syslog tapctl xen-api-libs-transitional xenctrl xenstore
 $ git clone git://github.com/vbmithr/xen-api.git
 $ git checkout archlinux
 $ git pull
 $ make

Log

  • checkout branch ea-1254 from github.com:jonludlam/xen-api.git
  • Add Arch in scripts/detect_distro.sh
  • Use xenguest stubs from github.com:xapi-project/ocaml-xen-lowlevel-libs.git