how to install VMware tools on a fedora guest
Can't figure out where is my directory of c header files
[root@SANA4SPA jcs]# vmware-config-tools.pl Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [ OK ] None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmmemctl module for your system (you need to have a C compiler installed on your system)? [yes] y Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] |
This should do the trick.
Make sure you do this as root. Code:
# yum install kernel-devel Code:
$ sudo yum install kernel-devel |
Quote:
|
Thank you both for taking the time to help me out.
I updated my kernel and was able to navigate to the files listed. But I'm not sure which one of these files I am suppose to use and also how to enter the syntax.
[root@SANA4SPA jcs]# cd /usr/src/kernels/ [root@SANA4SPA kernels]# ls -1 2.6.35.14-95.fc14.i686 2.6.35.14-95.fc14.i686.PAE 2.6.35.14-96.fc14.i686 2.6.35.6-45.fc14.i686 |
Once you have the headers installed, just run the vmware-config-tools.pl
When it asks this: Code:
What is the location of the directory of C header files that match your running |
I've tried hitting enter so as to accept the default but it takes me right back to where I was.
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] |
I'm having the same problem but my installation says:
Searching for a valid kernel header path... The path "" is not valid. Would you like to change it? [yes] I've tried changing it to both /usr/src/linux/include and /usr/src/kernels/2.6.40.4-5.fc15.i686/include/linux (the only kernel listed), and it can't find either. I've already done the following before the VM Tools install: yum -y update kernel yum -y install kernel-devel kernel-headers dkms gcc gcc-c++ followed by a restart and everything appears to be up to date. I'm not sure what else to do. |
Nevermind, I fixed the problem with:
yum -y install kernel-PAE-devel yum -y install patch restart, then a reinstall. |
How to install VMware Tools on Virtual Fedora 14
Hello, thank you for taking the time. I installed all the items you stated. even accept the default but I still get the same outcome. Help!!
[jcs@SANA4SPA ~]$ su Password: [root@SANA4SPA jcs]# vmware-user [root@SANA4SPA jcs]# vmware-user: could not open /proc/fs/vmblock/dev vmware-tools is installed, but it has not been (correctly) configured for this system. To (re-)configure it, invoke the following command: /usr/bin/vmware-config-tools.pl. [root@SANA4SPA jcs]# /usr/bin/vmware-config-tools.pl Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [ OK ] None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmmemctl module for your system (you need to have a C compiler installed on your system)? [yes] y Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] **************I accepted the default here. The path "/usr/src/linux/include" is not an existing directory. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] ^C [root@SANA4SPA jcs]# |
All times are GMT -5. The time now is 06:51 AM. |