Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder source:

make headers_install INSTALL_HDR_PATH=/tmp/header/

All files are exported to /tmp/header/include/. When I start the vmware-config-tools.pl and I specify the folder /tmp/header/, VMware tools says:

The path "/tmp/header/include/" is not a valid path to the 3.3.0 kernel

What is wrong here?


Edit: I'm running RHEL 6, kernel 3.3, trying to compile VMware tools for ESXi 4.1 & 5

share|improve this question
    
/tmp is frequently cleaned out (even each boot). –  vonbrand Feb 21 '13 at 23:37
    
Yes I know, but that is just for the test. –  Hugo Feb 22 '13 at 9:21
add comment

1 Answer

vmware-tools need the full kernel headers.

probably that make headers_install is not exporting everything that vmware needs. try copying the real kernel source and test. if it works, remove all files except the .h

find /tmp/headers-full -not -name \*.h -delete

and test again. if it works, compare both header trees to see what is missing

share|improve this answer
    
Hello, as you advise me I took all the kernel source and the installer is still complaining. I think vmware is expecting some special path for the kernel headers such as /lib/modules/ /usr/src/ etc... As I am not able to decode all the function in the perl script I will never found the solution...! –  Hugo Feb 25 '13 at 16:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.