2

When i install VMware workstation on my Ubuntu 15.04 with kernel updated from 3.19 to 4.2 . It shows below path

/tmp/vmware-root/vmware-modconfig-8097.log

Hence, i go to check the path and find below error in logs

2015-09-06T12:35:44.077+05:30| vthread-3| I120: Failed to find /lib/modules/4.2.0-040200rc3-generic/build/include/linux/version.h
2015-09-06T12:35:44.077+05:30| vthread-3| I120: /lib/modules/4.2.0-040200rc3-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

Please tell me anyone...

user.dz
  • 47,137
  • 13
  • 140
  • 258
magdum
  • 21
  • 3
  • 1
    Welcome to Ask Ubuntu. Did you install the kernel headers for 4.2? – user.dz Sep 06 '15 at 12:10
  • http://askubuntu.com/questions/614525/15-04-vmware-player-unable-to-start-services-error – wdalryah Sep 07 '15 at 17:33
  • 1
    possible duplicate of [Need help installing VirtualBox on ubuntu 12.04](http://askubuntu.com/questions/671189/need-help-installing-virtualbox-on-ubuntu-12-04) – A.B. Sep 09 '15 at 08:05

2 Answers2

0

Try

sudo apt-get install build-essential

Then try installing again

0

There is some changes in the 4.x kernel series that requires modified sourced for the vmware modules. I have a partial method that doesn't work entirely:

See https://communities.vmware.com/message/2546788 . You can apply it to the unpacked tar files in /usr/lib/vmware/modules/source :

    cd ~
    curl -o ~/vmware-modules-linux-4.2.0-rc5+.patch.zip "https://communities.vmware.com/servlet/JiveServlet/download/2529949-140350/vmware-modules-linux-4.2.0-rc5%2B.patch.zip"
    unzip ~/vmware-modules-linux-4.2.0-rc5+.patch.zip
    cd /usr/lib/vmware/modules/source
    ls *.tar | while read file; do tar xf $file; done
    patch -p1 < ~/vmware-modules-linux-4.2.0-rc5+.patch

```

But this doesn't apply cleanly. Any further hints are appreciated.