On 11/23/2009 01:43 AM, Dustin Xiong wrote: > Date: Fri, 20 Nov 2009 08:14:09 -0500, cole wrote: >> >> cc-ing libvirt-list >> >> >>> My cpu is itanium 64, the OS is RHEL.The libvirt is 0.6.3, > virt-manager >> >>> is 0.6.1. >> >> Ah, are you using the version of libvirt that comes with RHEL 5.4? That >> version has been patched to only look for the qemu-kvm binary in one >> spot: /usr/libexec/qemu-kvm IIRC. You could try to work with that! , but >> since you are already building upstream KVM, vir! t-manage r, and > virtinst, >> might not be a bad idea to pull upstream libvirt as well. >> > > yes, my libvirt rpm and other related rpms all came from the RHEL 5.4 > iso. And they all build for itanium 64 > # rpm -qa | grep libvirt > libvirt-python-0.6.3-20.el5 > libvirt-devel-0.6.3-20.el5 > libvirt-0.6.3-20.el5 > > And i try to make a link, it still doesn't work. > ln -s /usr/local/bin/qemu-system-ia64 /usr/libexec/qemu-system-ia64 > Actually I think that destination needs to be /usr/libexec/qemu-kvm, not qemu-system-ia64. And looking at the rhel5 code, this can also be /usr/bin/qemu-kvm >> >>> Once i tried to compile the virt-manager-0.8.0, but when i make check, >> >>> it returns: >> >>> >> >>> PYTHONPATH=./..:../graphWidgets/.libs python addhardware.py && touch >> >>> .tstamp.addhardware.py >> >>> Traceback (mos! t recent call last): >> >>> File "addhardware.py", line 32, in ? >> >>> from virtinst import VirtualCharDevice, VirtualDevice, >> >>> VirtualVideoDevice >> &g! t;>> >> >>> when i rpm -ivh virt-manager-0.6.1-8.el5.ia64.rpm, it could work. >> >>> >> >>> I don't know why this error occur. Can anyone be kind to tell me how? >> >>> thanks a lot. >> >>> >> >> >> >> You will also need to install the latest version of virtinst, found at: >> >> >> >> http://virt-manager.org/download.html >> > >> > I downloaded and compiled the latest version of virtinst: > virtinst-0.500.0.tar.gz. >> > then compile the virt-manager-0.8.0, error changed as below: >> > >> > [root@kvm virt-manager-0.8.0]# make check >> > Making check in src >> > make[1]: Entering directory > `/home/dustin/virt-manager/virt-manager-0.8.0/src' >> > Making check in virtManager >> > make[2]: Entering directory > `/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager' >> > make ch! eck-local >> > make[3]: Entering directory `/home/dust! in/virt- > manager/virt-manager-0.8.0/src/virtManager' >> > PYTHONPATH=./..:../graphWidgets/.libs python about.py && touch > .tstamp.about.py >> > PYTHONPATH=./..:../graphWidgets/.libs python addhardware.py && touch > .tstamp.addhardware.py >> > Traceback (most recent call last): >> > File "addhardware.py", line 35, in ? >> > from virtManager.asyncjob import vmmAsyncJob >> > File > "/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager/asyncjob.py", > line 30, in ? >> > class vmmAsyncJob(gobject.GObject): >> > File > "/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager/asyncjob.py", > line 40, in vmmAsyncJob >> > def __init__(self, config, callback, args=None, >> > NameError: name '_' is not defined >> > >> > Thanks for help.If you need any further infos please dont't hesitate > to tell me. >> > >> >> Ah, didn't notice the make check! in the first mail. 'make check' doesn't >> work in the virt-manager code base, never taken the time to fix it. You >> should just be able to 'make && make install', or 'make' and python >> src/virt-manager.py to run from the source dir. If running virt-manager >> then throws an error, report here and Ill try to help. >> > > After make install, when i run virt-manager, the error is: > > starting the virt-manager error: 'gtk.TreeView' object has no attribute > 'set_level_indentation' > > Details: > raceback (most recent call last): > File "/usr/local/share/virt-manager/virt-manager.py", line 377, in ? > main() > File "/usr/local/share/virt-manager/virt-manager.py", line 364, in main > options.no_conn_auto) > File "/usr/local/share/virt-manager/virt-manager.py", line 237, in > show_engine > engine.show_manager() > File "/usr/local/share/virt-man! ager/virtManager/engine.py", line > 365, in show_manager > &nbs! p; self.get_manager().show() > File "/usr/local/share/virt-manager/virtManager/engine.py", line 342, > in get_manager > self.windowManager = vmmManager(self.get_config(), self) > File "/usr/local/share/virt-manager/virtManager/manager.py", line 167, > in __init__ > self.prepare_vmlist() > File "/usr/local/share/virt-manager/virtManager/manager.py", line 826, > in prepare_vmlist > vmlist.set_level_indentation(-15) > AttributeError: 'gtk.TreeView' object has no attribute > 'set_level_indentation' > Hmm, looks like set_level_indentation isn't supported on RHEL5. Strange though since I've had other reports of people using latest virt-manager on RHEL5. I'll take a look Thanks, Cole -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list