From: Boris Derzhavets Subject: Re: Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed) Date: Sun, 26 Apr 2009 22:56:56 -0700 (PDT) Message-ID: <62172.35286.qm@web56107.mail.re3.yahoo.com> References: <887072.6322.qm@web56105.mail.re3.yahoo.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1379591234==" Return-path: In-Reply-To: <887072.6322.qm@web56105.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1379591234== Content-Type: multipart/alternative; boundary="0-462104793-1240811816=:35286" --0-462104793-1240811816=:35286 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Is there any way to point xen 3.4-rc3-pre source (xen-unstbale.hg) to pick up for build phase python 2.5 , installed on=A0 the system, instead of= 2.6 used by gnome environment as default. I believe, that SrvDaemon.py is a core of xend daemon itself=20 =A0=A0 It looks like it's not possible to perform make install-xen, make in= stall-tools properly with python 2.6, regardless build itself seems to be c= ompleted with no errors. Through my experience it was possible to build Xen= from source only on systems with python 2.4 (5) installed as default. Looking at page :- http://www.mail-archive.com/debian-devel@lists.debian.org/msg261640.html=20 I found statement :- The reason for this is that Xen 3.0 is bound to Python 2.4 whereas Xen 3.2 is bound to Python 2.5. Please, advise. Boris. --- On Sun, 4/26/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Serve= r (Ubuntu Desktop installed) To: "Keir Fraser" Cc: "xen-devel" Date: Sunday, April 26, 2009, 8:15 AM Mounted remotely root file system of Ubuntu Server 9.04 on /mnt on Ubuntu I= ntrepid Server (8.10) Compiled xen on this box as follows:- # cd /usr/src/xen-unstable.hg # make dist # ./install.sh /mnt Boris --- On Sat, 4/25/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (U= buntu Desktop installed) To: "Keir Fraser" Cc: "xen-devel" Date: Saturday, April 25, 2009, 8:54 AM Compilation logs for :- # make install-xen # make install-tools are attached Compiled=A0 pvops enabled kernel 2.6.30-rc3-tip no errors After booting xen 3.4.gz and kernel system fails to start daemon xend:- Multiple messages on screen output:- ****************************************************************** File "/usr/sbin/xend" line 36 in from xen.xend.server import SrvDaemon. ImportError No module named xen.xend.server. ****************************************************************** Gnome desktop packages are dependent on python 2.6 ( vs 2.5 on Ubuntu Intre= pid Server ) where the load procedure runs fine and xend also starts smooth= ly , if /etc/fstab gets properly edited I found SrvDaemon on 9.04 in location:- root@ServerJaunty:/# find /usr/lib -name "SrvDaemon*" -print /usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py /usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.pyc On Ubuntu Server 8.10 location is :- /usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py /usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.pyc Boris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-462104793-1240811816=:35286 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Is there any way to point xen 3.4-rc3-pre sou= rce (xen-unstbale.hg) to
pick up for build phase python 2.5 , installed = on  the system, instead of 2.6
used by gnome environment as default= .
I believe, that SrvDaemon.py is a core of xend daemon itself
 = ;  It looks like it's not possible to perform make install-xen, make i= nstall-tools properly with python 2.6, regardless build itself seems to be = completed with no errors. Through my experience it was possible to build Xe= n from source only on systems with python 2.4 (5) installed as
default.<= br>
Looking at page :-
http://www.mail-archive.com/debian-devel@lists= .debian.org/msg261640.html

I found statement :-

The reason for this is that Xen 3.0 is bound to Python2.4 whereas Xen 3.2 is bound to Python 2.5.

Please, advise.

Boris.

--- On Sun, 4/26/09, Boris Derzhavet= s <bderzhavets@yahoo.com> wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xe= n-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Deskto= p installed)
To: "Keir Fraser" <keir.fraser@eu.citrix.com>
Cc: = "xen-devel" <xen-devel@lists.xensource.com>
Date: Sunday, April 26= , 2009, 8:15 AM

Mounted remotely root file s= ystem of Ubuntu Server 9.04 on /mnt on Ubuntu Intrepid Server (8.10)
Com= piled xen on this box as follows:-
# cd /usr/src/xen-unstable.hg
# make di= st
# ./install.sh /mnt

Boris
--- On Sat, 4/25/09, Boris Der= zhavets <bderzhavets@yahoo.com> wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: [= Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desk= top installed)
To: "Keir Fraser" <keir.fraser@eu.citrix.com>
Cc= : "xen-devel" <xen-devel@lists.xensource.com>
Date: Saturday, Apri= l 25, 2009, 8:54 AM

Compilation logs for :-
# make install-xen<= br># make install-tools
are attached

Compiled  pvops enabled ker= nel 2.6.30-rc3-tip no errors
After booting xen 3.4.gz and kernel system = fails to start daemon xend:-
Multiple messages on screen output:-
***= ***************************************************************
File "/u= sr/sbin/xend" line 36 in <module> from xen.xend.server
import SrvD= aemon.
ImportError No module named xen.xend.server.
*****************= *************************************************

Gnome desktop pack= ages are dependent on python 2.6 ( vs 2.5 on Ubuntu Intrepid Server ) where= the load procedure runs fine and xend also starts smoothly , if /etc/fstab= gets properly edited

I found SrvDaemon on 9.04 in location:-

root@ServerJaunty:/# find /usr/lib -name "SrvDaemon*" -print

/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.p= y
/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.pyc

= On Ubuntu Server 8.10 location is :-

/usr/lib/python2.5/site-package= s/xen/xend/server/SrvDaemon.py
/usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.pyc

Boris




_______________________________________________
Xen-dev= el mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.= com/xen-devel

_______________________________________________
Xen-dev= el mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.= com/xen-devel

=0A=0A=0A=0A = --0-462104793-1240811816=:35286-- --===============1379591234== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1379591234==--