View previous topic :: View next topic |
Author |
Message |
Mr.QNo n00b
Joined: 21 Mar 2005 Posts: 74
|
Posted: Sun Sep 23, 2012 10:36 am Post subject: [Solved] VirtualBox install fails |
|
|
Hi,
Gentoo amd64/10.0/desktop/kde. VirtualBox, running without problems for generations, does not upgrade, nor can i reinstall the older version.
Code: | station ~ # /home/qno/Downloads/VirtualBox-4.1.22-80657-Linux_amd64.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation...........
VirtualBox Version 4.1.22 r80657 (2012-09-07T16:32:04Z) installer
Removing previous installation of VirtualBox 4.1.22 r80657 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
File "vboxapisetup.py", line 21
print "Cleaning COM cache at",comCache1,"and",comCache2
^
SyntaxError: invalid syntax
Building the VirtualBox kernel modules
* Failed, trying without DKMS
* Look at /var/log/vbox-install.log to find out what went wrong
VirtualBox has been installed successfully.
You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ
We hope that you enjoy using VirtualBox.
|
No, i don’t enjoy.
Google tells me that there might be a problem with python, but i don’t find it. minijson is installed.
Any hints?
Edit: I forgot:
Code: | station ~ # cat /var/log/vbox-install.log
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.3.8-gentoo/build modules
make[1]: *** Keine Regel, um »modules« zu erstellen. Schluss.
make: *** [vboxdrv] Fehler 2
|
Last edited by Mr.QNo on Sun Sep 23, 2012 11:32 am; edited 1 time in total |
|
Back to top |
|
|
Mr.QNo n00b
Joined: 21 Mar 2005 Posts: 74
|
Posted: Sun Sep 23, 2012 11:32 am Post subject: |
|
|
Solved. When gentoo installs new kernel sources via emerge -uND world, it changes the installed headers to the new version. If i do not use the new kernel, i get an inconsistency. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54239 Location: 56N 3W
|
Posted: Sun Sep 23, 2012 11:33 am Post subject: |
|
|
Mr.QNo,
Gentoo installs both python 3.2 and python 2.7. This is a mixed blessing.
Run Code: | eselect python list | to see what your system wide python is set to.
Now use eselect python set to choose the other python. Retry the virtualbox install.
Thare are changes between python 27 and 3.2 that mean python code has to be changed to run on the other version of python.
When you are done, set the python version back to what it was. The default on Gentoo is now 3.2
If you switch from 2.7 to 3.2 and it works and you want to leave it that way be sure to run python-updater after the eselect. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|