RE: [libvirt] how to install updated python bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: [libvirt] how to install updated python bindings

Visco -

FYI - You should be able to build a custom rpm via

'make rpm'


-----Original Message-----
From: libvir-list-bounces@xxxxxxxxxx on behalf of visco
Sent: Fri 12/5/2008 1:05 AM
To: Daniel P. Berrange; veillard@xxxxxxxxxx
Cc: libvir-list@xxxxxxxxxx
Subject: Re: [libvirt] how to install updated python bindings

hi

thanks Berrange ...
after installing python development packages and setting the variables i am
able to work out the trouble.

@Veillard
unfortunately i required some latest version,which is not provided yet as
rpm, api for my needs,  and hence started from source.

On Wed, Dec 3, 2008 at 5:31 PM, Daniel Veillard <veillard@xxxxxxxxxx> wrote:

> On Wed, Dec 03, 2008 at 09:40:55AM +0000, Daniel P. Berrange wrote:
> > On Wed, Dec 03, 2008 at 12:44:17AM -0500, ente linux wrote:
> > > hi
> > >
> > > i was trying to install libvirt 0.5 on my centos 5 machine which by
> default
> > > have libvirt 0.4. But after installing from the source of libvirt,
> still the
> > > output of i get from python remains that of 0.4
> > > >>>import libvirt
> > > >>> libvirt.getVersion()
> > > 4006
> > >
> > > how could i install the new version... Do i need to give  any option
> while
> > > configuring or making.
> >
> > If installing manually, configure will default to putting it in
> /usr/local
> > unless you give a different --prefix option.
> >
> > Python only looks in /usr by default, so when installing custom builds
> > you'll need to set
> >
> >    export LD_LIBRARY_PATH=/usr/local/lib
> >    export PYTHONPATH=/usr/local/lib/python2.4/site-packages
>
>   in general in an rpm based system it's best to upgrade at the rpm
>  level in my opinion, that avoids a lot of troubles, and it's possible
>  to go back without leftovers from previous attemps left and right...
>
> Daniel
>
> --
> Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
> daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
> http://veillard.com/ | virtualization library  http://libvirt.org/
>



--
thanks and regards
visco

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]