[SOLVED] virt-manager build's on slackware 14.1 multilib but won't start
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
virt-manager build's on slackware 14.1 multilib but won't start
Hi fellas, Subject says it all. Virt-manager builds just fine from sbo, but when I launch it gives me an error from the command line. I dunno what I did wrong. Maybe it's not me this time? Can anyone help me please? pygobject3 is installed.
ERROR:
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager", line 29, in <module>
import gi
ImportError: No module named gi
Have you installed all the dependencies? it has tons of dependencies listed in SBo (and perhaps more since the one displayed are first level dependencies only).
Edit: I used sbopkg to build everything originally. It seems to have the right package queue. I'm rebuilding directly from the site's queue list with the underlying packages, guess I could just check but fuck it I'm bored. Really need virt-manager.
If you have pygobject installed from the original Slackware package then you should already have the python2 version of the library installed.. Don't create louzy symlinks....
Could it be that something is failing because of multilib configuration?
I don't know? Tried rebuilding specific packages as gtk 2 as specified by the slackbuids, also have py3cairo and gnome-common installed. I don't know whats wrong. Thank you for the replies.
Any other ideas?
Yes willysr, but, I had python3 installed already and, as in the thread mentioned by Strykar, you have to uninstall python3 and than build pygobject3, then rebuild python3 again for all to be well (for this particular package?). Virt-manager will build fine but won't launch otherwise.
I had all of the packages installed and tried to rebuild virt-manager from scratch several times, after trying to add gtk2 flags to some of the other packages.
After rebuilding the packages you mentioned(which were also already installed). I rebuilt virt-manger again and produced the same error.
So for the slackbuilds version of virt-manager to work correctly it seems you need to build pygobject3 at some point without python3, than rebuild python3, for it to work correctly. strange...
Quote:
Originally Posted by bmarley83
also have py3cairo and gnome-common installed. I don't know whats wrong. Thank you for the replies.
Any other ideas?
willysr if you are really in Indonesia, just realized its almost 11pm here (east coast usa) and almost 10am there! Awesome!
It is mentioned, but simply installing those if you have Python3 pre-installed will result in the same error.
For some reason I had Python3 installed myself and had to take the steps recommended to fix it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.