Installing VMware Tools cannot find the kernel header file

Source: Internet
Author: User

http://blog.csdn.net/bobbat/article/details/38568885

Install VMware Tools To resolve issues where kernel header path cannot be found

When installing VMware Tools, when running vmware-config-tools.pl, always prompt

The path "is not valid.

What's the location of the directory of C headers files that match your running kernel?

Input/usr/src/linux-headers-3.13.0-32-generic/include or/lib/modules/3.8.0-26-generic/build/include both prompt "The path ... is Not valid. ".

1. Update or install Linux headers

sudo apt-get update && sudo apt-get install build-essential linux-headers-$ (uname-r)

2. The associated file is that VMware Tools considers the path invalid because it cannot find the files.

cd/lib/modules/$ (uname-r)/build/include/linux

sudo ln-s. /generated/utsrelease.h

sudo ln-s. /generated/autoconf.h

The first two headers are all there, or there will be problems. After the following this also link to the normal installation of VMware Tools, it has been a great hardship ....

sudo ln-s. /generated/uapi/linux/version.h

3. Perform the installation again OK, run vmware-config-tools.pl also no problem

sudo./vmware-install.pl

Installing VMware Tools cannot find the kernel header file

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.