Just officially released two days ago: Fedora Core 13. I installed it in a VM and I'm hosting this website from it. I ran into an annoying problem: vmtools wouldn't install.
I had installed the kernel headers, kernel-dev and the latest kernel. Still I got this error:
"The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does
not match your running kernel (version 2.6.33.4-95.fc13.x86_64)."
This took me a while to figure out what I could do about it.
[root@fc13 / ]# cat /lib/modules/`uname -r`/build/include/generated/utsrelease.h
#define UTS_RELEASE "2.6.33.4-95.fc13.x86_64"
Add the output of the command to the version.h file so that the file looks like this:
[root@fc13 / ]# cat /lib/modules/`uname -r`/build/include/linux/version.h
#define UTS_RELEASE "2.6.33.4-95.fc13.x86_64"
#define LINUX_VERSION_CODE 132641
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
That did it for me. Finally.
Leave a Reply