Building Xapi: Difference between revisions
From Xen
Jump to navigationJump to search
No edit summary |
Lars.kurth (talk | contribs) |
||
Line 17: | 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/ |
$ 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 |
Revision as of 15:02, 20 June 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/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:xen-org/ocaml-xen-lowlevel-libs.git