hi<br>
<br>
thanks Berrange ...<br>
after installing python development packages and setting the variables i am able to work out the trouble.<br><br>@Veillard<br>unfortunately i required some latest version,which is not provided yet as rpm, api for my needs,  and hence started from source.<br>
<br><div class="gmail_quote">On Wed, Dec 3, 2008 at 5:31 PM, Daniel Veillard <span dir="ltr"><<a href="mailto:veillard@redhat.com">veillard@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">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 default<br>
> > have libvirt 0.4. But after installing from the source of libvirt, 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 while<br>
> > configuring or making.<br>
><br>
> If installing manually, configure will default to putting it in /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>
</div>  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>
<font color="#888888"><br>
--<br>
Daniel Veillard      | libxml Gnome XML XSLT toolkit  <a href="http://xmlsoft.org/" target="_blank">http://xmlsoft.org/</a><br>
<a href="mailto:daniel@veillard.com">daniel@veillard.com</a>  | Rpmfind RPM search engine <a href="http://rpmfind.net/" target="_blank">http://rpmfind.net/</a><br>
<a href="http://veillard.com/" target="_blank">http://veillard.com/</a> | virtualization library  <a href="http://libvirt.org/" target="_blank">http://libvirt.org/</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>thanks and regards<br>visco<br>