Hello List, I am trying to build Xen 3.2.1 with the linux-2.6.18-xen-3.2.0.tar.gz downloaded from http://xen.org/download/. Do I need to install mecurial to get this to work? I thought the trick was to have the kernel in a directory at the same level as the xen source but it always fails with: for i in linux-2.6-xen ; do make $i-install || exit 1; done make[2]: Entering directory `/var/xen/xen-3.2.1'' make -f buildconfigs/mk.linux-2.6-xen build make[3]: Entering directory `/var/xen/xen-3.2.1'' set -e ; \ if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \ __repo=$(sh buildconfigs/select-repository linux-2.6.18-xen.hg .:..) ; \ if [ -d ${__repo} ] ; then \ echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \ ln -s ${__repo} linux-2.6.18-xen.hg ; \ else \ echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \ hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \ fi ; \ else \ __parent=$(hg -R linux-2.6.18-xen.hg path default) ; \ echo "Pulling changes from ${__parent} into linux-2.6.18-xen.hg." ; \ hg -R linux-2.6.18-xen.hg pull ${__parent} ; \ fi select-repository: Searching `.:..'' for linux-2.6.18-xen.hg select-repository: Ignoring `.'' buildconfigs/select-repository: line 35: hg: command not found select-repository: Unable to determine Xen repository parent. make[3]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1 make[3]: Leaving directory `/var/xen/xen-3.2.1'' make[2]: *** [linux-2.6-xen-install] Error 2 make[2]: Leaving directory `/var/xen/xen-3.2.1'' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/var/xen/xen-3.2.1'' make: *** [world] Error 2 It''s looking for the kernel downloaded from the mercurial repository which I didn''t download. Is the only way to build 3.2.1 is to install mercurial and if so, what is the linux-2.6.18-xen-3.2.0.tar.gz file for? Thanks for any help, Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Jon, On Fri, May 2, 2008 at 2:35 PM, <jonr@destar.net> wrote:> Hello List, > > I am trying to build Xen 3.2.1 with the linux-2.6.18-xen-3.2.0.tar.gz > downloaded from http://xen.org/download/. Do I need to install mecurial to > get this to work? I thought the trick was to have the kernel in a directory > at the same level as the xen source but it always fails with: >This may help: http://xen.markmail.org/search/?q=tarball+config#query:tarball%20config+page:1+mid:rpzo4wfd3dmbmbsn+state:results I will look at it closer later and see if I can give the exact commands/changes. If you figure it out before someone posts them, let us know what you do. Cheers, Todd> for i in linux-2.6-xen ; do make $i-install || exit 1; done > make[2]: Entering directory `/var/xen/xen-3.2.1'' > make -f buildconfigs/mk.linux-2.6-xen build > make[3]: Entering directory `/var/xen/xen-3.2.1'' > set -e ; \ > if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \ > __repo=$(sh buildconfigs/select-repository linux-2.6.18-xen.hg > .:..) ; \ > if [ -d ${__repo} ] ; then \ > echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \ > ln -s ${__repo} linux-2.6.18-xen.hg ; \ > else \ > echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \ > hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \ > fi ; \ > else \ > __parent=$(hg -R linux-2.6.18-xen.hg path default) ; \ > echo "Pulling changes from ${__parent} into > linux-2.6.18-xen.hg." ; \ > hg -R linux-2.6.18-xen.hg pull ${__parent} ; \ > fi > select-repository: Searching `.:..'' for linux-2.6.18-xen.hg > select-repository: Ignoring `.'' > buildconfigs/select-repository: line 35: hg: command not found > select-repository: Unable to determine Xen repository parent. > make[3]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1 > make[3]: Leaving directory `/var/xen/xen-3.2.1'' > make[2]: *** [linux-2.6-xen-install] Error 2 > make[2]: Leaving directory `/var/xen/xen-3.2.1'' > make[1]: *** [install-kernels] Error 1 > make[1]: Leaving directory `/var/xen/xen-3.2.1'' > make: *** [world] Error 2 > > > It''s looking for the kernel downloaded from the mercurial repository which > I didn''t download. Is the only way to build 3.2.1 is to install mercurial > and if so, what is the linux-2.6.18-xen-3.2.0.tar.gz file for? > > Thanks for any help, > > Jon > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Todd Deshane <deshantm@gmail.com>:> Hello Jon, > > > On Fri, May 2, 2008 at 2:35 PM, <jonr@destar.net> wrote: >> Hello List, >> >> I am trying to build Xen 3.2.1 with the linux-2.6.18-xen-3.2.0.tar.gz >> downloaded from http://xen.org/download/. Do I need to install mecurial to >> get this to work? I thought the trick was to have the kernel in a directory >> at the same level as the xen source but it always fails with: >> > > This may help: > > http://xen.markmail.org/search/?q=tarball+config#query:tarball%20config+page:1+mid:rpzo4wfd3dmbmbsn+state:results > > I will look at it closer later and see if I can give the exact > commands/changes. > If you figure it out before someone posts them, let us know what you do. > > Cheers, > Todd >Thanks Todd, I still haven''t got it figured out and am wanting to build from source rather than use the unstable from mercurial. From what I have read it is looking like the only way to build this is by using mercurial, is that correct? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Todd Deshane <deshantm@gmail.com>:> Hello Jon, > > > On Fri, May 2, 2008 at 2:35 PM, <jonr@destar.net> wrote: >> Hello List, >> >> I am trying to build Xen 3.2.1 with the linux-2.6.18-xen-3.2.0.tar.gz >> downloaded from http://xen.org/download/. Do I need to install mecurial to >> get this to work?Ok, here is what I did to get this to work without mercurial. I downloaded the two files from above then I untarred both into /var/xen/. I then cd into the buildconfigs directory and edited the ''src.hg-clone'' and commented out the mercurial piece and added a symlink. Here is the portion that has the symlink with the whole file cut-and-pasted below: $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE) ln -snf linux-2.6.18-xen-3.2.0 linux-2.6.18-xen.hg touch $@ Then back up one directory into the xen-3.2.1 directory and issue the ''make world'' ''make install''. Hope that helps someone else, Jon # Mercurial HG ?= hg LINUX_SRCDIR ?= linux-$(LINUX_VER)-xen.hg # Repository to clone. XEN_LINUX_HGREPO ?= $$(sh buildconfigs/select-repository $(LINUX_SRCDIR) $(LINUX_SRC_PATH)) # Set XEN_LINUX_HGREV to update to a particlar revision. XEN_LINUX_HGREV ?= tip $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE) ln -snf linux-2.6.18-xen-3.2.0 linux-2.6.18-xen.hg touch $@ # $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE) # set -e ; \ # if [ ! -e $(LINUX_SRCDIR)/.hg ] ; then \ # __repo=$(XEN_LINUX_HGREPO) ; \ # if [ -d $${__repo} ] ; then \ # echo "Linking $${__repo} to $(LINUX_SRCDIR)." ; \ # ln -s $${__repo} $(LINUX_SRCDIR) ; \ # else \ # echo "Cloning $${__repo} to $(LINUX_SRCDIR)." ; \ # $(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \ # fi ; \ # else \ # __parent=$$($(HG) -R $(LINUX_SRCDIR) path default) ; \ # echo "Pulling changes from $${__parent} into $(LINUX_SRCDIR)." ; \ # $(HG) -R $(LINUX_SRCDIR) pull $${__parent} ; \ # fi # set -e ; if [ -n "$(XEN_LINUX_HGREV)" ] ; then \ # echo "Updating $(LINUX_SRCDIR) to revision $(XEN_LINUX_HGREV)." ; \ # ( cd $(LINUX_SRCDIR) && $(HG) update $(XEN_LINUX_HGREV) ); \ # fi # touch $@ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users