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/
Home Products Support Community News


Re: [Xen-devel] Need some help to install Xen 4.0.1 on debian squeeze

To: Lakshitha Harshan <harshan.dll@xxxxxxxxx>
Subject: Re: [Xen-devel] Need some help to install Xen 4.0.1 on debian squeeze
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Fri, 4 Mar 2011 08:57:54 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Mar 2011 22:59:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=GgfMJbmt9m1hYe6hekcK8arXu9n9q9PZ-Rvgq@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=GgfMJbmt9m1hYe6hekcK8arXu9n9q9PZ-Rvgq@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Mar 04, 2011 at 10:53:31AM +0530, Lakshitha Harshan wrote:
>    Hi,
>    I'm trying to install Xen 4.0.1 on debian squeeze using the source. I've
>    followed the installation procedure on Xen 4.0 wiki.
>    But when executing xm commands it says,
>    Traceback (most recent call last):
>      File "/usr/sbin/xm", line 5, in <module>
>        from xen.xm import main
>    ImportError: No module named xen.xm
>    Could someone please provide me a step-by-step guide to install Xen?

This sounds like Debian specific problem, ie. the python include paths
are wrong.. I think I've seen a solution like this earlier on this list:

make install-tools PYTHON_PREFIX_ARG=

ie. empty parameter for PYTHON_PREFIX_ARG causes the python
modules to go to correct directory on debian/ubuntu.

-- Pasi

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>