[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] how to install updated python bindings
- From: "Daniel P. Berrange" <berrange redhat com>
- To: ente linux <visco31 gmail com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] how to install updated python bindings
- Date: Wed, 3 Dec 2008 09:40:55 +0000
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
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]