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

[Xen-users] Re: Troubles Compiling the XEN 3.2 Release




# hg clone –r RELEASE-3.2.0 http://xenbits.xensource.com/xen-3.2-testing.hg
# hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
# cd xen-3.2-testing.hg
# make –j8 dist

NOTES:
 1. This will build the ‘-xen’ module-based kernel suitable for use in dom0 or domU. If you want a stripped down domU kernel you can ‘make linux-2.6-xenU-build’. If you want a dom0 kernel with a reasonable set of drivers built into it (not as modules) then you can ‘make linux-2.6-xen0-build’.
 2. Everything ends up in the dist/ subdirectory of the repository. If you want to install stuff to usual system locations (/boot, /usr/bin, etc) then you can ‘make install’.
 3. If you get mercurial errors, e.g., when executing hg commands, your version of mercurial is probably too old. Upgrade it.
 4. If you get a warning about having a bad version of awk, and needing gawk or similar, then you need to install the gawk package for your distro. If this replaces the default awk then you are good to go. If you have to invoke gawk as ‘gawk’ then you need to edit linux-2.6.18-xen.hg/Makefile to specify AWK=gawk, or possibly ‘make AWK=gawk –j8 dist’ will work just as well (untested though).

 -- Keir

On 23/1/08 14:30, "Maik Brauer" <maik.brauer@xxxxxxxxxxxxxxx> wrote:

Hi Keir,

due to problems with compiling the new XEN3.2 Version I and the whole community is running into problems.
The main problem is that we can't build the binaries from the source. One of the most errors is that we will be asked for the
Linux "linux-2.6.18-xen.hg" directory, which is needed to compile. Then we've added this directory via mecurial
with: hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg

After that it is still not working. Then someone did a post where he recommended to use the "make all" command instead of
using the "make world". But then the compilation will stop with the error:
/opt/src/xen-3.2.0/linux-2.6.18-xen.hg/scripts/Makefile.build:73: *** 'Your awk program does not define gensub.  Use gawk or another awk with gensub'.  Stop.

Whatever we're doing, it is not working.
If you have a look in the user-list of XEN, the community is fighting with that problem.

What should we do, or better is there something which needs to be fixed in the Source Tarball from your side?
And why we still having the mercurial stuff inside, when this is a final release.

It would be very nice if you could take a closer look and help us out, because we're all very keen to get it work.
Many Thanks Keir and waiting for your answer.

Cheers,
Maik


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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