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

RE: [Xen-users] Xen Kernel Compilation error

To: "mukul " <mkl1983@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen Kernel Compilation error
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 27 Aug 2010 17:47:21 +1000
Cc:
Delivery-date: Fri, 27 Aug 2010 00:48:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100827074153.63466.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20100827074153.63466.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActFu7Z5ylMRhrnwRFafplK4EhLo2gAAD/BQ
Thread-topic: [Xen-users] Xen Kernel Compilation error
> Hi
> 
> I am Trying to compile the Xen kernel
> 
> when i run the command "make dist"
> 
> it give me the following error
> 
> set -ex;
> if ! [ -d linux-2.6-pvops.git ]; then
> rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp;
> mkdir linux-2.6-pvops.git.tmp; rmdir linux-2.6-pvops.git.tmp;
> git clone -o xen -n
> git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-
> pvops.git.tmp;
> (cd linux-2.6-pvops.git.tmp; git checkout -b xen/stable-2.6.32.x
> xen/xen/stable-2.6.32.x );
> mv linux-2.6-pvops.git.tmp linux-2.6-pvops.git;
> fi
> + '[' -d linux-2.6-pvops.git ']'
> + rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp
> + mkdir linux-2.6-pvops.git.tmp
> + rmdir linux-2.6-pvops.git.tmp
> + git clone -o xen -n
> git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-
> pvops.git.tmp
> /bin/sh: line 4: git: command not found
> make[2]: *** [linux-2.6-pvops.git/.valid-src] Error 127
> make[2]: Leaving directory `/usr/src/kernels/xen-4.0.1'
> make[1]: *** [linux-2.6-pvops-install] Error 2
> make[1]: Leaving directory `/usr/src/kernels/xen-4.0.1'
> make: *** [install-kernels] Error 1
> 
> 
> why is this happening can any1 shed some light on it ? ?
> 

You need 'git' installed. Under Debian you'd do 'apt-get git-core'. Not sure 
about other distributions.

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