[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] How to compile the 32 bits xen-api



XenServer 6.2 is based on CentOS 5. For building there, I would recommend installing a CentOS 5 VM, and then installing the dependencies of xapi from the binpkg ISO (called 'Development Packages') from here: http://xenserver.org/overview-xenserver-open-source-virtualization/download.html. The dependencies are in domain0/RPMs/i686/.

Also, for 6.2 development you should use the 'clearwater-lcm' branch on github. Master has moved on a long way since 6.2 was released and will no longer compile with the 6.2 dependencies.

You may also want to check out the pre-release page here: http://xenserver.org/open-source-virtualization-download/11-product/142-download-pre-release.html. It's similar to 6.2 in that it's CentOS 5 based too, but 64 bit rather than 32 bit. The git branch for xapi development for this release is named xs64bit-ring3.

This is a slightly different process for dev than we use internally so I'd be keen to know if you come across any problems.

Good luck!

Jon


On 14/08/14 09:06, nu li wrote:
hi list
    Now we are trying to compile the xapi for 32bits
    We follow the steps from github like below:
    While these are for 64 bits, not 32 bits.
    I just want to know how to compile XAPI 32bits for Xserver6.2.
    Any suggestions are welcome
    Thanks a lot

    nlx
======================================================================
      buildroot
Buildroot for xen-api and related packages, producing RPM and (experimentally) Debian packages.

RPM-based distributions

On RPM-based distributions, the packages are built using mock. To install it on a 64-bit RHEL/CentOS system then you will need to add the EPEL repositories. Here is a useful article for CentOS.

After adding EPEL, install and set up mock:

yum install -y mock redhat-lsb-core
Mock will refuse to run as root. You must choose a non-privileged user to run mock as. Type the following as root:

(Note select a <user> which isn't "mock" when typing the commands below)

useradd <user> -G mock
passwd <user>

su - <user>
You are now ready to clone the buildroot repository and build the packages:

git clone git://github.com/xenserver/buildroot.git
cd buildroot

./configure.sh
make
Finally, install the packages you have just built, run the install wizard to configure your system to boot Xen and start the buildroot components on boot, then reboot:

make install
xenserver-install-wizard
reboot
=======================================================================   


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.