The path "/usr/src/Linux/include" is not an existing Directory.

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.