I'm trying to compile and install libvirt-0.9.0 on Ubuntu v10.04. The make and install went fine and I don't see any errors but there isn't a libvirt directory created in /usr/local/lib/python2.6/dist-packages. I specified configure --with-vmware -with-esx (and later --with-python), then make, then sudo make install.>From config.log:prefix = /usr/local exec_prefix = ${prefix} pyexecdir = ${exec_prefix}/lib/python2.6/dist-packages pythondir = ${prefix}/lib/python2.6/dist-packages pkgpyexecdir = ${pyexecdir}/libvirt pkgpythondir = ${pythondir}/libvirt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110426/24d00ba2/attachment.htm>
Matthias Bolte
2011-Apr-26 14:50 UTC
[libvirt-users] problem installing libvirt from source
2011/4/26 Lars Nordin <lnordin at internap.com>:> I?m trying to compile and install libvirt-0.9.0 on Ubuntu v10.04. The make > and install went fine and I don?t see any errors but there isn?t a libvirt > directory created in /usr/local/lib/python2.6/dist-packages. > > > > I specified configure --with-vmware ?with-esx? (and later --with-python), > then make, then sudo make install. >Without looking further into it, did you install the python-dev package? ./configure will disable the Python bindings if it cannot find the required files. But actually when you explicitly specify --with-python then ./configure should fail when something is missing. Did the summary at the end of the ./configure run say "Python: yes"? Matthias