-
-
Save holms/8324973 to your computer and use it in GitHub Desktop.
git clone git://git.fedorahosted.org/virt-manager.git | |
cd virt-manager | |
sudo port -v install intltool py27-pygtk | |
sudo python setup.py install | |
I found from another place that you need to tell gobject-inspector (that is the gi, part of gi.repository) where to find its type libs by using an environment variable GI_TYPELIB_PATH. In my case that would have been:
export GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0
The problem was the particular gi typelib in question, LibvirtGlib did not exist. I could not find a brew package for this library so I built it myself pulling it from here:
ftp://libvirt.org/libvirt/glib/
Sadly after figuring out how to make it build (I had to patch the make files to remove an unsupported link option), it did not seem to product the typelib library, so I'm stuck again.
OK, there is an --enable-introspection on the configure for libvirt-glib, however it does not detect the gobject-introspection library (which it is doing via a package tool). Anyway I bet if I could ever git this LibvirtGlib.typelib file built virt-manager would run.
There are also a couple of other dependencies that need to be satisfied after libvirt-glib. I managed to get virt-manager installed and running using homebrew, albeit it is missing a few features. I've created a homebrew tap for others to check out and experiment with:
https://github.com/jeffreywildman/homebrew-virt-manager
Я ничего не понял)))
Thanks for the brew version.
How can one install libvirtd and qemu-kvm required to launch vm with virt-manager?
Repo was moved to https://github.com/virt-manager/virt-manager
I am experiencing the same problem, and got as far as you did (though I am using brew). libvirt-glib is separate library and it looks like the version of of gi.repository that you and I both have does not support it. I haven't figured out much more than that.