LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
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.

Notices

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

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


Hello,

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/vmware-config.pl, the following problem occured.

Code:
# /usr/bin/vmware-config.pl
...
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 
kernel.
 
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 10:28 AM.
 
Old 07-19-2010, 01:01 PM   #2
jiml8
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, 03:28 PM   #3
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
Here is where vmware 6 looks for headers with 2.6.20 kernel:
Quote:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20.20070509/build/include]
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.
 
  


Reply


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 dwbivens@gmail.com Linux - Newbie 1 01-21-2010 01:09 AM
How to install VMware Workstation on Mandriva 2009 dolphans1 Mandriva 4 07-31-2009 11:25 AM
How do I install VMWare Workstation ZipMeister Linux - Software 5 06-20-2007 07:02 PM
Vmware workstation 4.5.1 install on linux mandrake soft 10 problem joes17 Linux - Software 3 07-09-2004 09:38 PM
How the heck do I install VMware Workstation 4? DarkXtar Slackware 2 06-02-2003 01:16 PM


All times are GMT -5. The time now is 12:05 AM.

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