how to fix The path “” is not a valid path to the 3.16.0-4-amd64 kernel headers.

First I am not sure why vmware cannot get this correct in the first place.

<a href=”https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=83QDLDM92A5R8″><img src=”https://amionrails.files.wordpress.com/2014/06/donate_one_dollar.png&#8221; alt=”” /></a>

This is a work around

Make sure that the following installed

sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-headers-generic

then create the folder 
cd /usr/src/linux-headers-3.16.0-4-amd64/include
mkdir linux 

and run the following
 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

then re run vmware-config-tools.pl

If you know a better fix to this issue then please share :)
Advertisements

2 thoughts on “how to fix The path “” is not a valid path to the 3.16.0-4-amd64 kernel headers.

    • build environment error

      Symptom
      When starting vmplayer you get a pop-up saying

      Build environment error! A required application is missing and Modconfig can not continue. xzCheck the log for more details.

      Reason
      VMware builds some kernel modules at its first start. To do this it requires the package make.
      Solution
      Install make, e.g. for SUSE Linux:

      yast -i make

      (http://www.linuxintro.org/wiki/VMWare)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s