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…") |
No edit summary |
||
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 == |
Revision as of 11:46, 12 March 2013
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 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 OCaml compiler (at least version 3.12.1)
- 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/xen-org/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:xen-org/ocaml-xen-lowlevel-libs.git