# 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@mbs-systems.net> 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@lists.xensource.com http://lists.xensource.com/xen-users
Jens Seidel
2008-Jan-23 15:36 UTC
Re: [Xen-users] Re: Troubles Compiling the XEN 3.2 Release
On Wed, Jan 23, 2008 at 03:14:11PM +0000, Keir Fraser wrote:> > # hg clone r RELEASE-3.2.0 http://xenbits.xensource.com/xen-3.2-testing.hgIt should be -r (a en-dash(?) was used in this mail but also the encoding is wrong).> # 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.Version 0.9.5 works, 0.9.1 is too old and doesn''t upport option -r for remote repositories. Will try it out. thanks Jens _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Tobin
2008-Jan-23 16:02 UTC
RE: [Xen-users] Re: Troubles Compiling the XEN 3.2 Release
Hello, Im afraid this still does not work. Is it possible to put it into a tar ball like in previous versions that we can just run make world and install it that way? Thanks Ian From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Keir Fraser Sent: 23 January 2008 15:14 To: Maik Brauer Cc: xen-users@lists.xensource.com Subject: [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@mbs-systems.net> 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@lists.xensource.com http://lists.xensource.com/xen-users
Maik Brauer
2008-Jan-23 17:16 UTC
Re: [Xen-users] Re: Troubles Compiling the XEN 3.2 Release
Hi, where did you get stucked ? Cheers, Maik On Jan 23, 2008, at 5:02 PM, Ian Tobin wrote:> Hello, > > Im afraid this still does not work. > > Is it possible to put it into a tar ball like in previous versions > that we can just run make world and install it that way? > > Thanks > > Ian > > > From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com > ] On Behalf Of Keir Fraser > Sent: 23 January 2008 15:14 > To: Maik Brauer > Cc: xen-users@lists.xensource.com > Subject: [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@mbs-systems.net> 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@lists.xensource.com > http://lists.xensource.com/xen-usersMaik Brauer Waldstraße 12 57614 Stürzelbach Telefon.: +49 (0)700 66 44 55 66 E-Mail..: maik.brauer@mbs-systems.net Web.....: http://www.mbs-systems.net XING....: https://www.xing.com/profile/Maik_Brauer/ LinkedIn: http://www.linkedin.com/in/maikbrauer/ PGP-KEY.: 0xbcb92661338f4ba2 (HEX-ID) [GnuPGP Public SIGNATURE] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Tobin
2008-Jan-23 21:09 UTC
RE: [Xen-users] Re: Troubles Compiling the XEN 3.2 Release
HI, I got here make -j8 dist and then it said there was nothing to do thanks Ian From: Maik Brauer [mailto:maik.brauer@mbs-systems.net] Sent: 23 January 2008 17:16 To: Ian Tobin Cc: Xen users mailing list Subject: Re: [Xen-users] Re: Troubles Compiling the XEN 3.2 Release Hi, where did you get stucked ? Cheers, Maik On Jan 23, 2008, at 5:02 PM, Ian Tobin wrote: Hello, Im afraid this still does not work. Is it possible to put it into a tar ball like in previous versions that we can just run make world and install it that way? Thanks Ian From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Keir Fraser Sent: 23 January 2008 15:14 To: Maik Brauer Cc: xen-users@lists.xensource.com Subject: [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@mbs-systems.net> 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@lists.xensource.com http://lists.xensource.com/xen-users Maik Brauer Waldstraße 12 57614 Stürzelbach Telefon.: +49 (0)700 66 44 55 66 E-Mail..: maik.brauer@mbs-systems.net <mailto:maik.brauer@mbs-systems.net> Web.....: http://www.mbs-systems.net <http://www.mbs-systems.net/> XING....: https://www.xing.com/profile/Maik_Brauer/ <https://www.xing.com/profile/Maik_Brauer/> LinkedIn: http://www.linkedin.com/in/maikbrauer/ <http://www.linkedin.com/in/maikbrauer/> PGP-KEY.: 0xbcb92661338f4ba2 (HEX-ID) [GnuPGP Public SIGNATURE] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jens Seidel
2008-Jan-23 21:48 UTC
Re: [Xen-users] Re: Troubles Compiling the XEN 3.2 Release
On Wed, Jan 23, 2008 at 09:09:57PM -0000, Ian Tobin wrote:> HI, > > > > I got here make -j8 dist > > > > and then it said there was nothing to do > > > > thanks > > > > IanI''m really confused why you add so many linebreaks. Also note that this is a mailing list so turn HTML messages off and avoid top postings (search the web for mailing list ettiquetes). Jens _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users