From mboxrd@z Thu Jan 1 00:00:00 1970 From: shobha ranganathan Subject: xenguest-install.py reports "no module named libvirt" in FC5 x86 mode Date: Tue, 26 Sep 2006 14:41:34 -0700 (PDT) Message-ID: <20060926214135.77243.qmail@web55908.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1424301795==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1424301795== Content-Type: multipart/alternative; boundary="0-1694503236-1159306894=:6774" Content-Transfer-Encoding: 8bit --0-1694503236-1159306894=:6774 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora COre 5 in x86 mode. I did not build a domU kernel at all. I tried to run ./xenguest-install.py in dom0 kernel after booting into it.. I got this error "No module named libvirt". I then tried installing libvirt-0.0.6-1.i386.rpm using "rpm --install libvirt-0.0.6-1.i386.rpm" I get failed dependencies error such as "libxenstore.so is needed by libvirt-0.0.6-1.i386 xen is needed by libvirt-0.0.6-1.i386" what am I missing here ? I have libxenstore.so in /usr/lib. thanks for your help Shobha --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. --0-1694503236-1159306894=:6774 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora COre 5 in x86 mode. I did not build a domU kernel at all.
 
I tried to run ./xenguest-install.py in dom0 kernel after booting into it.. I got this error
"No module named libvirt".
 
I then tried installing libvirt-0.0.6-1.i386.rpm using
"rpm --install libvirt-0.0.6-1.i386.rpm"
 
I get failed dependencies error such as
"libxenstore.so is needed by libvirt-0.0.6-1.i386
xen is needed by libvirt-0.0.6-1.i386"
 
what am I missing here ? I have libxenstore.so in /usr/lib.
 
thanks for your help
Shobha


Stay in the know. Pulse on the new Yahoo.com. Check it out. --0-1694503236-1159306894=:6774-- --===============1424301795== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1424301795==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sadique Puthen Peedikayil Subject: Re: xenguest-install.py reports "no module named libvirt" in FC5 x86 mode Date: Wed, 27 Sep 2006 11:09:51 +0530 Message-ID: <451A0EA7.2060804@gmail.com> References: <20060926214135.77243.qmail@web55908.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060926214135.77243.qmail@web55908.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: shobha ranganathan Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org libxenstore.so is part of xen-libs package which you don't need while compiling from src rpms. If you are going to compile xen from source, you should have to install the libvirt rpm using --nodeps option and compile it. rpm --install libvirt-0.0.6-1.i386.rpm --nodeps shobha ranganathan wrote: > I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora > COre 5 in x86 mode. I did not build a domU kernel at all. > > I tried to run ./xenguest-install.py in dom0 kernel after booting into > it.. I got this error > "No module named libvirt". > > I then tried installing libvirt-0.0.6-1.i386.rpm using > "rpm --install libvirt-0.0.6-1.i386.rpm" > > I get failed dependencies error such as > "libxenstore.so is needed by libvirt-0.0.6-1.i386 > xen is needed by libvirt-0.0.6-1.i386" > > what am I missing here ? I have libxenstore.so in /usr/lib. > > thanks for your help > Shobha > > ------------------------------------------------------------------------ > Stay in the know. Pulse on the new Yahoo.com. Check it out. > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: Re: [Xen-users] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode Date: Wed, 27 Sep 2006 13:25:25 +0100 Message-ID: <20060927122525.GB20056@redhat.com> References: <20060926214135.77243.qmail@web55908.mail.re3.yahoo.com> <451A0EA7.2060804@gmail.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <451A0EA7.2060804@gmail.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: Sadique Puthen Peedikayil Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com, shobha ranganathan List-Id: xen-devel@lists.xenproject.org On Wed, Sep 27, 2006 at 11:09:51AM +0530, Sadique Puthen Peedikayil wrote: > libxenstore.so is part of xen-libs package which you don't need while > compiling from src rpms. > > If you are going to compile xen from source, you should have to install > the libvirt rpm using --nodeps option and compile it. > > rpm --install libvirt-0.0.6-1.i386.rpm --nodeps No, there is absolutely *NO* need to install libvirt when compiling the Xen RPM - there is no compile time dependancy, and you certainly should not use --nodeps when installing RPMs. > shobha ranganathan wrote: > >I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora > >COre 5 in x86 mode. I did not build a domU kernel at all. Did you install both xen & xen-libs ? > >I tried to run ./xenguest-install.py in dom0 kernel after booting into > >it.. I got this error > >"No module named libvirt". > > > >I then tried installing libvirt-0.0.6-1.i386.rpm using > >"rpm --install libvirt-0.0.6-1.i386.rpm" > > > >I get failed dependencies error such as > >"libxenstore.so is needed by libvirt-0.0.6-1.i386 > >xen is needed by libvirt-0.0.6-1.i386" > > > >what am I missing here ? I have libxenstore.so in /usr/lib. The version of Xen you installed probably has a newer libxenstore.so which includes versioning, while the libvirt you installed was linked against the older non-versioned libxenstore.so. What does rpm -q --provides xen xen-libs | grep xenstore Show ? BTW, you'll also want libvirt-python RPM too Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|