Go to the decompressed vmwaretools directory
$ CD/tmp/vmware-tools-distrib
Run the installation command $ sudo./vmware-install.pl
Next, press Enter.
An error occurred in the middle:
What is the location of the directory of C header files that match your runningkernel? [/Usr/src/Linux/include]
Press Enter:
The path "/usr/src/Linux/include" is not an existing Directory.
Input/usr/src/linux-headers-2.6.35-22-generic/include
If you press enter, an error is returned.
The description ** does not match the currently running kernel version.
The Directory of kernel headers (version @ VMware @ uts_release) does not match your running kernel version
2.6.35-32-generic). Even if the module were tocompile successfully, it wocould not load into the running kernel.
We only need to add "# define uts_release" 2.6.35-32-generic "" In version. h ""
(Use "uname-R" to view the kernel version)
Press enter to continue. A new error message is displayed:
The path "/usr/src/linux-headers-2.6.35-32-generic/include" is a kernel headerfile directory, but it does not contain the file "Linux/Autoconf. H "asexpected. this can happen if the kernel has never been built, or if you have invoked the "make mrproper" command
In your kernel directory. In any case, youmay want to rebuild your Ke
Open a new terminal input:
$ CD/usr/src/linux-headers-2.6.35-32-generic/include <enter> enter the parent directory of the Linux directory
$ Sudo chmod A + RW Linux change the Linux directory to readable/writable
Set/usr/src/linux-headers-2.6.35-32-generic/include/generated/Autoconf. h
Copy to/usr/src/linux-headers-2.6.35-32-generic/include/Linux
Go to the decompressed vmwaretools directory
$ CD/tmp/vmware-tools-distrib
Run the installation command $ sudo./vmware-install.pl
Next, press Enter.
An error occurred in the middle:
What is the location of the directory of C header files that match your runningkernel? [/Usr/src/Linux/include]
Press Enter:
The path "/usr/src/Linux/include" is not an existing Directory.
Input/usr/src/linux-headers-2.6.35-22-generic/include
If you press enter, an error is returned.
The description ** does not match the currently running kernel version.
The Directory of kernel headers (version @ VMware @ uts_release) does not match your running kernel version
2.6.35-32-generic). Even if the module were tocompile successfully, it wocould not load into the running kernel.
We only need to add "# define uts_release" 2.6.35-32-generic "" In version. h ""
(Use "uname-R" to view the kernel version)
Press enter to continue. A new error message is displayed:
The path "/usr/src/linux-headers-2.6.35-32-generic/include" is a kernel headerfile directory, but it does not contain the file "Linux/Autoconf. H "asexpected. this can happen if the kernel has never been built, or if you have invoked the "make mrproper" command
In your kernel directory. In any case, youmay want to rebuild your Ke
Open a new terminal input:
$ CD/usr/src/linux-headers-2.6.35-32-generic/include <enter> enter the parent directory of the Linux directory
$ Sudo chmod A + RW Linux change the Linux directory to readable/writable
Set/usr/src/linux-headers-2.6.35-32-generic/include/generated/Autoconf. h
Copy to/usr/src/linux-headers-2.6.35-32-generic/include/Linux