Building XAPI for debian
The easiest way to compile the XCP toolstack from source is to use the xapi-autobuilder. We usually run on a debian unstable or ubuntu 11.10 machine.
git clone https://github.com/jonludlam/xapi-autobuilder.git cd xapi-autobuilder make clean ; make
Requirements for xapi-autobuilder:
pbuilder debhelper dh-ocaml dh-autoreconf cdebootstrap python-debian mercurial git
This will build all of the required packages for Xapi on Debian. Take a look at 'git-repos' to see which repositories are involved, and modify that to point to your own repositories if you plan on compiling your own code.