WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Maik Brauer <maik.brauer@xxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: Troubles Compiling the XEN 3.2 Release
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 15:14:11 +0000
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 23 Jan 2008 07:16:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <29D9D3AE-EAAB-465D-88E7-3BEAC1CC4DF6@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Achd0ptL2ZdMUcnFEdyZHgAX8io7RQ==
Thread-topic: Troubles Compiling the XEN 3.2 Release
User-agent: Microsoft-Entourage/11.3.6.070618

# 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