All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Sadique Puthen Peedikayil <xenguy@gmail.com>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com,
	shobha ranganathan <shobha_ranganathan@yahoo.com>
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	[thread overview]
Message-ID: <20060927122525.GB20056@redhat.com> (raw)
In-Reply-To: <451A0EA7.2060804@gmail.com>

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  -=| 

      reply	other threads:[~2006-09-27 12:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26 21:41 xenguest-install.py reports "no module named libvirt" in FC5 x86 mode shobha ranganathan
2006-09-27  5:39 ` Sadique Puthen Peedikayil
2006-09-27 12:25   ` Daniel P. Berrange [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060927122525.GB20056@redhat.com \
    --to=berrange@redhat.com \
    --cc=shobha_ranganathan@yahoo.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@lists.xensource.com \
    --cc=xenguy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.