I Need a Valid Path to the Kernel Headers for VMWare

General support questions
Post Reply
hamachi
Posts: 2
Joined: 2015/01/27 22:22:24

I Need a Valid Path to the Kernel Headers for VMWare

Post by hamachi » 2015/01/27 22:45:20

Host OS: Win7
Guest OS: CentOS7

Installed open-vm which enabled cut-and-pasting files into/out of the VM, but drag/drop and shared folders didn't work (I've since learned that drag/drop and shared folders are connected via both needing the compiled vmhgfs module.) So now I'm giving the VMWare distributed vmware-tools a try, but I'm running into a problem.

Vmware-tools wants to build a module. During the configure/install process, It prints:
The path "" is not a valid path to the 3.10.0-123.13.2.el7.x86_64 kernel headers.
Well, uname -r is 3.10.0-123.13.2.el7.x86_64, and I have the following packages installed:

kernel-headers-3.10.0-123.13.2.el7.x86_64
kernel-tools-3.10.0-123.13.2.el7.x86_64
kernel-tools-libs-3.10.0-123.13.2.el7.x86_64
kernel-devel-3.10.0-123.13.2.el7.x86_64

So I have the headers, the devel package, the tools, and the tools-libs. And they're all the right version. I should be good, right? Wrong. Here are the directories I've passed to the vmware-tools config process for the kernel headers:

/usr/include
/usr/include/linux
/usr/src/kernels/3.10.0-123.13.2.el7.x86_64
/usr/src/kernels/3.10.0-123.13.2.el7.x86_64/include
/usr/src/kernels/3.10.0-123.13.2.el7.x86_64/include/linux

But vmware-tools tells me none of them are valid paths to the kernel headers. Surely, one of these had to be the directory vmware-tools is looking for?

User avatar
Super Jamie
Posts: 310
Joined: 2014/01/10 23:44:51

Re: I Need a Valid Path to the Kernel Headers for VMWare

Post by Super Jamie » 2015/01/28 10:16:38

You've done everything right.

Ask VMWare.

Post Reply