Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using ubuntu 12.10 with the kernel 3.7.0-7 from xorg-edgers fresh X crack. Now when I try to launch wmware workstation it asks for linux header path like shown here. I tried all the solutions on that page but nothing works... It was working before I switched to the 3.7 kernel. Any idea what I can do to get it work?

share|improve this question
add comment

4 Answers 4

up vote 13 down vote accepted

First thing to check is for the availability of a newer version of VMplayer or workstation to download. If the latest version does not work, then start looking at the error messages and try to add a link to fix the problem.

Looks like the version.h file got moved again, so adding a symlink is needed:

ln -s /usr/src/linux-3.7-rc6/include/generated/uapi/linux/version.h /usr/src/linux-3.7-rc6/include/linux/version.h

See the link http://rglinuxtech.com/2012/11/18/vmware-9-0-1-not-so-clever-after-all/ The headers have been a moving target since 3.2, and vmware does not keep up.

share|improve this answer
add comment

To make the original answer a little clearer for other folks:

In Ubuntu 13.04 (should work in 12.10 as well), with just the kernel headers installed, you can do this:

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

I have to do that every time I update the kernel right now.

share|improve this answer
    
Work like a charm. THX!! –  przemo_li Mar 19 '13 at 8:52
    
I have Ubuntu 12.04, and installed kernel 3.8 and it worked for me too. –  ThiagoPonte Jun 8 '13 at 2:42
    
This command got me past vmware not finding the headers. However now when I click 'install' to start the kernel modules installing it just silently crashes, log file contains no errors. Ubuntu 13.04 –  Halsafar Jul 11 '13 at 21:23
add comment

If following the instruction that VMware gives you in the error messages doesn't work, you might have to re-install VMware.

I have the same problem with VirtualBox PUEL every time the kernel is updated because I installed it manually from the .deb files. Fortunately the VBox error message includes instruction for re-running the installation script to install the right code into the kernel.

I surmise that if you use a PPA it might get around this problem by including it in the kernel each time it is updated, but I haven't tried it yet.

share|improve this answer
add comment

In my case, the symlink to version.h didn't work. I found that this helped on a 64-bit 13.04 system:

http://linuxg.net/how-to-install-vmware-player-5-0-2-on-ubuntu-13-04-12-10-12-04-linux-mint-15-14-13-debian-sid-wheezy-and-squeeze/

The headers package was already installed, but what seemed to make the difference was installing 'build-essential'. I then uninstalled vmplayer (running the installer with -u vmware-player does this) and reinstalled, and everything was copacetic after that.

share|improve this answer
    
Also, VMWare version should be fresh, because it depends on kernel headers. –  Danatela Jul 23 '13 at 2:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.