<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [libvirt] how to install updated python bindings</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Visco -<BR>
<BR>
FYI - You should be able to build a custom rpm via<BR>
<BR>
'make rpm'<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: libvir-list-bounces@redhat.com on behalf of visco<BR>
Sent: Fri 12/5/2008 1:05 AM<BR>
To: Daniel P. Berrange; veillard@redhat.com<BR>
Cc: libvir-list@redhat.com<BR>
Subject: Re: [libvirt] how to install updated python bindings<BR>
<BR>
hi<BR>
<BR>
thanks Berrange ...<BR>
after installing python development packages and setting the variables i am<BR>
able to work out the trouble.<BR>
<BR>
@Veillard<BR>
unfortunately i required some latest version,which is not provided yet as<BR>
rpm, api for my needs,  and hence started from source.<BR>
<BR>
On Wed, Dec 3, 2008 at 5:31 PM, Daniel Veillard <veillard@redhat.com> wrote:<BR>
<BR>
> On Wed, Dec 03, 2008 at 09:40:55AM +0000, Daniel P. Berrange wrote:<BR>
> > On Wed, Dec 03, 2008 at 12:44:17AM -0500, ente linux wrote:<BR>
> > > hi<BR>
> > ><BR>
> > > i was trying to install libvirt 0.5 on my centos 5 machine which by<BR>
> default<BR>
> > > have libvirt 0.4. But after installing from the source of libvirt,<BR>
> still the<BR>
> > > output of i get from python remains that of 0.4<BR>
> > > >>>import libvirt<BR>
> > > >>> libvirt.getVersion()<BR>
> > > 4006<BR>
> > ><BR>
> > > how could i install the new version... Do i need to give  any option<BR>
> while<BR>
> > > configuring or making.<BR>
> ><BR>
> > If installing manually, configure will default to putting it in<BR>
> /usr/local<BR>
> > unless you give a different --prefix option.<BR>
> ><BR>
> > Python only looks in /usr by default, so when installing custom builds<BR>
> > you'll need to set<BR>
> ><BR>
> >    export LD_LIBRARY_PATH=/usr/local/lib<BR>
> >    export PYTHONPATH=/usr/local/lib/python2.4/site-packages<BR>
><BR>
>   in general in an rpm based system it's best to upgrade at the rpm<BR>
>  level in my opinion, that avoids a lot of troubles, and it's possible<BR>
>  to go back without leftovers from previous attemps left and right...<BR>
><BR>
> Daniel<BR>
><BR>
> --<BR>
> Daniel Veillard      | libxml Gnome XML XSLT toolkit  <A HREF="http://xmlsoft.org/">http://xmlsoft.org/</A><BR>
> daniel@veillard.com  | Rpmfind RPM search engine <A HREF="http://rpmfind.net/">http://rpmfind.net/</A><BR>
> <A HREF="http://veillard.com/">http://veillard.com/</A> | virtualization library  <A HREF="http://libvirt.org/">http://libvirt.org/</A><BR>
><BR>
<BR>
<BR>
<BR>
--<BR>
thanks and regards<BR>
visco<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>