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] Problems building 3.2.1

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Problems building 3.2.1
From: "Joseph L. Casale" <jcasale@xxxxxxxxxxxxxxxxx>
Date: Mon, 05 May 2008 09:21:14 -0600
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Mon, 05 May 2008 08:23:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AQHIrsOoEAhvCnUleEqYMCJaHoRQMA==
Thread-topic: Problems building 3.2.1
Following a previous thread, I am missing something as I am unable
to build, I get a make error complaining about ln?
Any ideas?
Thanks!
jlc

<qoute>
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))

$(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE)
     ln -snf linux-2.6.18-xen-3.2.0 linux-2.6.18-xen.hg
     touch $@

# Set XEN_LINUX_HGREV to update to a particlar revision.
XEN_LINUX_HGREV  ?= tip

#$(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)." ; \
(XEN_LINUX_HGREV)." ; \
#     ( cd $(LINUX_SRCDIR) && $(HG) update $(XEN_LINUX_HGREV) ); \
# fi
# touch $@

,/qoute>

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problems building 3.2.1, Joseph L. Casale <=