Fedora Core 13: howto install VMtools (solved error @@VMWARE@@)

Fedora Core 13: howto install VMtools (solved error @@VMWARE@@)

Fedora Core 13: howto install VMtools (solved error @@VMWARE@@) 150 150 Roderick Derks

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.

Roderick Derks

Liefhebber van fietsen, van het oplossen van IT puzzels, en van het delen van informatie om anderen te helpen.

All stories by:Roderick Derks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message