Results 1 to 2 of 2
Hi, This is a long post, but it will include all part of the solution I have found so far on the forums. It still doesn't work for me.
I ...
- 12-12-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 3
Installing VMWare tool in Linux Fedora Core 9
Hi, This is a long post, but it will include all part of the solution I have found so far on the forums. It still doesn't work for me.
I am trying to create a FedoraCore 9 virtual machine (VMWare) with the VMWare tools installed (It is important that I have the share folder feature). I am running VMWare Workstation 5.5.9-126128
Several problems have been reported regarding the location of the C header file with configuring the VMWare tools. However, none of the solutions proposed seems to work for me.
Note that I am not very good with Linux, so I don't necessarily understand all what I am doing.
I installed a fresh version of FedoraCore 9 from a DVD. I've been careful to include the development packages to have the kernel-headers available.
After the installation, I had:
uname -a: 2.6.25-24.fc9.i686
rpm -q kernel-headers: 2.6.25-24.fc9.i386
I though this was pretty close so I ran the vmware-config-tools.pl script.
The programs tells me:
"None of the pre-bult vmhgfs module for VMWare Tool is suitable for your running kernel. Do you want this program to try and build..."
Yes.
"What is the location of the directory of C header files that match your running kernel ?"
Trying the suggested /usr/src/linux/include is no good as this is not even an existing directory.
I've also tried /usr/include (as it contains stdio.h... this was suggested by one of the post I've seen). Still not luck. It warns me that those header file are not for the kernel and if I try to force it, I get:
"The directory of kernel headers (version @@VMWare@@ UTS_RELEASE) does not match your running kernel (version 2.6.25-24.fc9.i686)..."
The @@VMWare@@ UTS_RELEASE scares me a little bit !!
But kernel-neaders are installed according to rpm....
According to another post [see, ]Fedora core 9 and C header files - FedoraForum.org, I should update my kernel-headers using the commands:
yum install kernel-headers kernel-devel xinetd
yum groupinstall "Development Tools" "Legacy Software Development"
I did this. After the update, rpm -q kernel-headers still gives me 2.6.25-24.fc9.i386, but now I have two new directories /usr/src/kernels/2.6.25-14.fc9.i686 and /lib/modules/2.6.25-14.fc9.i686/build/, both containing (among other things) include/linux/.
I though this was great and I re-ran the vmware-config-tools.pl script and now provided the two directories above as the directory containing my header files.
The scary message "The directory of kernel headers (version @@VMWare@@ UTS_RELEASE) does not match your running kernel (version 2.6.25-24.fc9.i686)..." appeared again in these two cases.
According to another post, I updated my kernel with
yum install kernel, but it told me I was already running the latests kernel.
So no help there either.
After some other hours of searching through posts with several suggestions that do not work, I noticed one suggesting to install the vmware-any-any-update.
[see, http://www.linuxforums.org/forum/sus...er-files.html]
I downloaded that and when I tried to execute the ./runme.pl required to install the update, it told me:
"Unable to open the installer database /etc/vmware/locations in read-mode"
Indeed, the path /etc/vmware/ does not exist on my VM.
I suspect that this folder appears on the host when you install Workstation... but not on the guest.
On another branch, someone explained what is the cause of the scary message (version @@VMWare@@ UTS_RELEASE) and suggested to duplicate the file:
/usr/src/kernels/$(uname -r)*/include/linux/utsrealses.h
to
/usr/src/kernels/$(uname -r)*/include/linux/version.h
[see, http://www.atlink.it/~conti/2007/12/...-uts_release/]
After doing that, I re-ran vmware-config-tools.pl and this time he guessed the right folder for my header files. However, when building the vmhgfs module of the vmware tools, it failed with the following error:
Building the vmhgfs module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmhgfs-only`
make -C /lib/modules/2.6.25-14.fc9.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686`
CC [M] /tmp/vmware-config4/vmhgfs-only/cpName.o
In file indlued from include/linux/string.b:11
from /tmp/vmware-config4/vmhgfs-only/cpName.h:18,
from from /tmp/vmware-config4/vmhgfs-only/cpName.c:18;
include/linux/types.h:40; error: conflicting types for `uintptr_1`
/tmp/vmware-config4/vmhgfs-only/vm_basic_types.h:160: error: previous declaration of `uintptr_1` was here
make[2]: *** [/tmp/vmware-config4/vmhgfs-only/cpName.o] Error 1
make[1]: *** [_module_/tmp/vmware-config4/vmhgfs-only/cpName.o] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686`
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/vmhgfs-only`
Unable to build the vmhgfs module.
I have no clue what this is supposed to tell me !
Can anyone help me with that, I think I am close, I just need to make the compilation of vmhgfs work?
- 03-10-2009 #2Just Joined!
- Join Date
- Mar 2009
- Posts
- 35
The ideal system working with Vmwares tools . is Centos or RHEL or Startcom.
no issues , Never



