Installing vmware tools on sparkylinux
# I had all the requirements installed as recommended on different places
root@lab:~# apt-get install build-essential gcc linux-headers-`uname -r` make libglib2.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.2).
gcc is already the newest version (4:6.1.1-1).
libglib2.0-0 is already the newest version (2.49.6-1).
linux-headers-4.6.0-1-amd64 is already the newest version (4.6.4-1).
make is already the newest version (4.1-9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# However the installation of tools kept failing
Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine? /usr/bin/gcc
The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]
# So I tried with giving a more direct link to the program
What is the location of the gcc program on your machine? /usr/bin/gcc-6
The path "/usr/bin/gcc-6" is not valid path to the gcc binary.
Would you like to change it? [yes]
# And finally it worked with ...
What is the location of the gcc program on your machine? /usr/bin/gcc-5
The path "/usr/bin/gcc-5" appears to be a valid path to the gcc binary.
Would you like to change it? [no]