Ask Your Question
1

vmware player f18 kernel headers

asked 2013-01-15 23:07:24 -0600

JObadal gravatar image

I'm trying to install the vmware tools on Fedora 18. I've done it with Fedora 17 by installing kernel-devel and kernel-headers, but it doesn't work on FEdora 18. I keep getting a message saying it can't find a valid path for the kernel headers.

edit retag flag offensive close merge delete

7 Answers

Sort by ยป oldest newest most voted
0

answered 2013-02-23 10:22:56 -0600

cecco16 gravatar image

updated 2013-02-23 10:27:49 -0600

Let's try the following:

  1. type "vmware" on the cli;
  2. open the log file located in the /tmp (it should be something like /tmp/vmware-root/vmware-modconfig-nnn.log)
  3. check if it complains the gcc compiler;
  4. sudo yum install gcc
  5. launch vmware

Hope this help!

edit flag offensive delete link more

Comments

Worked well, thanks.

shibby gravatar imageshibby ( 2013-04-06 20:02:07 -0600 )edit
0

answered 2013-02-19 12:21:57 -0600

Lidi gravatar image

updated 2013-02-19 12:23:17 -0600

None of this did work for me. I am somewhat of a linux-newbie trying to install vmware player on my machine.

uname -r

3.7.8-202.fc18.x86_64

rpm -qa|grep kernel

kernel-devel-3.7.8-202.fc18.x86_64
abrt-addon-kerneloops-2.0.20-1.fc18.x86_64 kernel-modules-extra-3.7.8-202.fc18.x86_64
kernel-tools-libs-3.7.8-202.fc18.x86_64
kernel-3.7.8-202.fc18.x86_64
libreport-plugin-kerneloops-2.0.20-1.fc18.x86_64
kernel-2.6.43.8-1.fc15.x86_64
kernel-headers-3.7.8-202.fc18.x86_64
kernel-tools-3.7.8-202.fc18.x86_64
kernel-tools-libs-devel-3.7.8-202.fc18.x86_64
kernel-3.6.11-4.fc16.x86_64
kernel-3.7.6-102.fc17.x86_64

but there is nothing but the copied "version.h" in following location (maybe there should be more?)

ls /lib/modules/3.7.8-202.fc18.x86_64/build/include/linux/

version.h

like many others I always get the following error when I'm trying to start VMware player:

Before you can run VMware, several modules must be compiled and loaded into the running kernel.

Kernel Headers 3.7.8-202.fc18.x8664

Kernel headers for version 3.7.8-.... were not found. If you....

Thanks in advance!

edit flag offensive delete link more

Comments

Let's try the following:

type "vmware" on the cli;
open the log file located in the /tmp (it should be something like /tmp/vmware-root/vmware-modconfig-nnn.log)
check if it complains the gcc compiler;
sudo yum install gcc
launch vmware

Hope this help!

cecco16 gravatar imagececco16 ( 2013-02-23 10:29:09 -0600 )edit
0

answered 2013-01-25 18:11:13 -0600

updated 2013-02-02 13:33:43 -0600

hhlp gravatar image

UPDATE: For newer revisions of the kernel, try:

cp /usr/include/linux/version.h /lib/modules/3.7.2-**XXX**.fc18.x86_64/build/include/linux/

Where XXX is the revision number e.g. 204

edit flag offensive delete link more
0

answered 2013-02-02 10:51:01 -0600

tchacx gravatar image

updated 2013-02-02 12:33:59 -0600

hhlp gravatar image

I have the same problem but the fix did not work for me. I think I have all the kernel packages installed:

$ rpm -qa|grep kernel

kernel-3.7.4-204.fc18.x86_64
Kernel-headers-3.7.4-204.fc18.x86_64
kernel-tools-3.7.4-204.fc18.x86_64
kernel-tools-libs-devel-3.7.4-204.fc18.x86_64
libreport-plugin-kerneloops-2.0.20-1.fc18.x86_64
kernel-3.6.10-4.fc18.x86_64
abrt-addon-kerneloops-2.0.20-1.fc18.x86_64
kernel-tools-libs-3.7.4-204.fc18.x86_64
kernel-modules-extra-3.6.10-4.fc18.x86_64
kernel-modules-extra-3.7.2-204.fc18.x86_64
kernel-3.7.2-204.fc18.x86_64
kernel-modules-extra-3.7.4-204.fc18.x86_64
kernel-devel-3.7.4-204.fc18.x86_64

I also copied version.h over as suggested:

$ ls -lFa /lib/modules/3.7.4-204.fc18.x86_64/build/include/linux/version.h

-rw-r--r--. 1 root root 97 Feb 1 20:39 /lib/modules/3.7.4-204.fc18.x86_64/build/include/linux/version.h

I also tried pointing VMWare to the directory where version.h is just above, and it complained that I don't have the C headers for my kernel.

Any other things to try? Do I have to uninstall the older kernel stuff?

Thanks.

edit flag offensive delete link more
0

answered 2013-01-16 09:39:43 -0600

updated 2013-02-02 13:33:14 -0600

hhlp gravatar image

The version.h file is missing in /lib/modules/3.7.2-201.fc18.x86_64/build/include/linux/ Therefore, the scrip is not able to get the right path to fetch the other header files.

The following will fix the problem by copying the version.h to the folder:

cp /usr/include/linux/version.h /lib/modules/3.7.2-201.fc18.x86_64/build/include/linux/
edit flag offensive delete link more

Comments

Also woked for me. with kernel 3.8.3.201.fc18.x86_64

Raffaello gravatar imageRaffaello ( 2013-03-17 22:32:45 -0600 )edit

This failed for me on Player 4.0.6 / Fedora 18 Live installed to HD plus updates (Kernel 3.8.3-203 , yum install gcc make kernel-devel etc.) The vmware-config-tools.pl proceeded but most of the modules still failed to compile, and the X server was also not detected. So not much point having the tools.

moberh gravatar imagemoberh ( 2013-03-22 02:44:39 -0600 )edit

This worked for me using Fedora 19 and kernel 3.9.9-302.fc19.x86_64

Jason Zwolak gravatar imageJason Zwolak ( 2013-07-22 13:58:31 -0600 )edit
0

answered 2013-01-21 17:34:51 -0600

updated 2013-02-02 13:32:45 -0600

hhlp gravatar image
cp /usr/include/linux/version.h /lib/modules/3.7.2-204.fc18.x86_64/build/include/linux/

Works here!

edit flag offensive delete link more
0

answered 2013-02-20 18:49:44 -0600

scottro gravatar image

Did you install kernel-devel? (And once you do, you might have to run the cp version.h command again.)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-01-15 23:07:24 -0600

Seen: 48,062 times

Last updated: Feb 23 '13