Skip to content

Instantly share code, notes, and snippets.

@frbayart
Created June 23, 2012 13:45
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frbayart/2978345 to your computer and use it in GitHub Desktop.
Save frbayart/2978345 to your computer and use it in GitHub Desktop.
virt-manager on MACOSX
MBA-FBA:bin francois$ ./virt-manager
RuntimeWarning: tp_compare didn't return -1 or -2 for exception
RuntimeWarning: tp_compare didn't return -1 or -2 for exception
Traceback (most recent call last):
File "/Users/francois/bin/mybuild/share/virt-manager/virt-manager.py", line 393, in <module>
_show_startup_error(str(run_e), "".join(traceback.format_exc()))
File "/Users/francois/bin/mybuild/share/virt-manager/virt-manager.py", line 63, in _show_startup_error
from virtManager.error import vmmErrorDialog
File "/Users/francois/bin/mybuild/share/virt-manager/virtManager/error.py", line 173, in <module>
class _errorDialog (gtk.MessageDialog):
AttributeError: 'module' object has no attribute 'MessageDialog'
@frbayart
Copy link
Author

mon README actuel

brew install libnettle
/usr/local/Cellar/nettle/2.4

brew install gnutls
/usr/local/Cellar/gnutls/2.12.18
/usr/local/Cellar/gnutls/2.12.18

brew install libvirt
/usr/local/Cellar/libvirt/0.9.11

brew install pygobject
/usr/local/Cellar/pygobject/2.28.6

brew install pygtk
brew install py2cairo
bew install libxml2

export PATH=/Users/francois/bin/mybuild/bin:$PATH
./configure --prefix=/Users/francois/bin/mybuild --with-kvm-packages

download virtinst
tar -zxvf virtinst-0.600.1.tar.tar.gz
cd virtinst-0.600.1
sudo python setup.py install

wget http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
sudo python setup.py install

wget http://urlgrabber.baseurl.org/download/urlgrabber-3.9.1.tar.gz
sudo python setup.py install

export PYTHONPATH=/usr/local/Cellar/libvirt/0.9.11/lib/python2.7/site-packages/:/usr/local/Cellar/pygobject/2.28.6/lib/python2.7/site-packages/:/usr/local/Cellar/pygtk/2.24.0/lib/python2.7/site-packages/gtk-2.0/:/usr/local/Cellar/py2cairo/1.10.0/lib/python2.7/site-packages/

export PYTHONPATH=/usr/lib/python2.7/:/usr/local/lib/python2.7/site-packages/:/usr/local/Cellar/libvirt/0.9.11/lib/python2.7/site-packages/:/usr/local/Cellar/pygobject/2.28.6/lib/python2.7/site-packages/:/usr/local/Cellar/pygtk/2.24.0/lib/python2.7/site-packages/gtk-2.0/:/usr/local/Cellar/py2cairo/1.10.0/lib/python2.7/site-packages/:/usr/local/Cellar/libxml2/2.7.8/lib/python2.7/site-packages/

../mybuild/bin/virt-manager


python setup.py install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment