Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 07-19-2010, 07:55 AM   #1
Registered: Jul 2009
Posts: 46

Rep: Reputation: 1
I cannot install VMware workstation on CentOS.


I installed VMware-workstation-5.5.9-126128.i386.rpm on the linux desktop.
The linux kernel version is 2.6.18-164.15.1.el5 (CentOS 5)

When I excuted /usr/bin/, the following problem occured.

# /usr/bin/
The path "/usr/src/linux/include" is a kernel header file directory, but it 
does not contain the file "linux/version.h" as expected.  This can happen if 
the kernel has never been built, or if you have invoked the "make mrproper" 
command in your kernel directory.  In any case, you may want to rebuild your 
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
So I installed kernel-headers-2.6.18-164.15.1.el5.i386.rpm and inputed /usr/include.

But it doesn't works.

Please, help me.

Last edited by corone; 07-19-2010 at 09:28 AM.
Old 07-19-2010, 12:01 PM   #2
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Where did that rpm get installed? You say you inputed /usr/include but the default location that VMware was searching is /usr/src/linux/include.

Have you done a find to locate all files named version.h?

Workstation 5.5 is at least three years out of date, by the way.
Old 07-26-2010, 02:28 PM   #3
Registered: Apr 2009
Distribution: Debian testing
Posts: 555

Rep: Reputation: 101Reputation: 101
Here is where vmware 6 looks for headers with 2.6.20 kernel:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/]
In your case, it will probably be in same except the kernel part will be different. When it asks that question you posted, it suggests "[/usr/src/linux/include]", you'll notice the question mark before this, what it's doing is taking a guess based on where they would have been back in it's day. Today's kernels don't have the /usr/src/linux directory anymore. So when it asks that question next time you try compiling, input the correct path. Seeing as you are working with an older kernel, they may be at /lib/modules/2.6.18-164.15.1/build/include or /usr/src/linux-headers-2.6.18-164.15.1/include. Both are the same as one is just a symlink to the other containing the actual header files. The 2.6.18-164.15.1 directory may also contain the .el5 in it's name, check to see what is the exact full name of directories as they appear when navigating them.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Linux. What is best way to install so I can put it on vmware workstation Linux - Newbie 1 01-21-2010 12:09 AM
How to install VMware Workstation on Mandriva 2009 dolphans1 Mandriva 4 07-31-2009 10:25 AM
How do I install VMWare Workstation ZipMeister Linux - Software 5 06-20-2007 06:02 PM
Vmware workstation 4.5.1 install on linux mandrake soft 10 problem joes17 Linux - Software 3 07-09-2004 08:38 PM
How the heck do I install VMware Workstation 4? DarkXtar Slackware 2 06-02-2003 12:16 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration