[libvirt] is libvirt-python default in libvirt compilation from source?

I was trying to install libvirt 0.5.0 from source.. It seems it went well. but when i tried to import libvirt module in python i got error no module named libvirt then i searched entire system for libvirt.py then i came to know that python bindings for libvirt is not installed. is it that python bindings for libvirt not default in compilation....? if i have to install python bindings then what option should i use? i tried to find option from ./configure --help from libvirt source directory but i didnt get anything. Can any one help me in this. Thanks and Regards, Shan

On Wed, Dec 03, 2008 at 12:46:48PM +0530, Shanmuga Rajan wrote:
I was trying to install libvirt 0.5.0 from source.. It seems it went well. but when i tried to import libvirt module in python i got error no module named libvirt
then i searched entire system for libvirt.py then i came to know that python bindings for libvirt is not installed.
is it that python bindings for libvirt not default in compilation....?
They are enabled by default, if you have neccessary python development packages install. It sounds like ou are missing python-devel RPM (or equiv for your OS if its not Fedora/RHEL) 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 :|
participants (2)
-
Daniel P. Berrange
-
Shanmuga Rajan