LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-19-2007, 07:44 PM   #1
buckwheat12
Member
 
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91

Rep: Reputation: 15
Having a problem installing VMware Workstation.


I'm running kernel 2.6.18-3-486. I've installed both the linux-source (linux-source-2.6.18) and linux-headers (linux-headers-2.6.18-3-486) files for my kernel but I get to this point in the install and cannot get past it:

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-3-486). Even if the module were to compile
successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

I hit enter here at the default given and the message just comes back. Is there some other step I need to do prior to running the install that I'm missing?
 
Old 01-19-2007, 08:05 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Use the latest version of vmware-any-any-update found here first and try again.

http://platan.vc.cvut.cz/ftp/pub/vmware/

Also make sure that /usr/src/linux points to /usr/src/linux-2.6.18 or wherever the kernel-source is.

Example;
$ ls -al /usr/src/linux
lrwxrwxrwx 1 root root 25 Jan 19 21:05 /usr/src/linux -> /usr/src/linux-2.6.20-rc5

Last edited by Lenard; 01-19-2007 at 08:11 PM.
 
Old 01-20-2007, 04:39 PM   #3
buckwheat12
Member
 
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91

Original Poster
Rep: Reputation: 15
Ok, I checked and /usr/src/linux is pointing to the linux-headers instead of linux-source. What would be the best way to re-direct it to linux-source instead.
 
Old 01-21-2007, 08:17 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Create a new symbolic link to the kernel source after deleting the current link. BTW you do not really need to do this, just provide the full path to the kernel source when asked;

Quote:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Answer: /path/to/the/kernel/source/location/include
 
Old 01-24-2007, 02:48 PM   #5
buckwheat12
Member
 
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91

Original Poster
Rep: Reputation: 15
Ok, I provided the full path to the linux-source folder (/usr/src/linux-source-2.6.18/include) during the install and now I get the following message:

The path "/usr/src/linux-source-2.6.18/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.
 
Old 01-24-2007, 03:31 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
So do what is suggested, go to the kernel source location /usr/src/linux-source-2.6.18/ and do; make oldconfig

Then try again.
 
Old 01-26-2007, 11:13 AM   #7
buckwheat12
Member
 
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91

Original Poster
Rep: Reputation: 15
Ugh, same result.
 
Old 01-26-2007, 12:39 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Next step is to build but not install the kernel, from where the kernel source is as root do; make
 
Old 01-26-2007, 06:19 PM   #9
buckwheat12
Member
 
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks for all the help so far...

I ran the make command, everything finished and I went back and tried to run the installer again and I'm still stuck at the same point.
 
Old 01-26-2007, 06:59 PM   #10
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Did you try using the any_any_update?

Vmplayer and vmserver work just fine for me, but I had to use the any_any_update
 
Old 01-27-2007, 10:56 AM   #11
buckwheat12
Member
 
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91

Original Poster
Rep: Reputation: 15
Here is what I get when I run the any_any_update:

Updating /usr/bin/vmware-config.pl ... now patched
Unable to copy the source file ./vmmon.tar to the destination file
/usr/lib/vmware/modules/source/vmmon.tar.

Execution aborted.
 
Old 01-27-2007, 12:13 PM   #12
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Are you root for this???
 
Old 01-27-2007, 01:06 PM   #13
buckwheat12
Member
 
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91

Original Poster
Rep: Reputation: 15
Yeah, I made sure to run that as root.
 
Old 02-22-2007, 07:55 AM   #14
andrewes
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 0
(ignore this post)

Last edited by andrewes; 02-23-2007 at 06:17 PM. Reason: broken, duoble post
 
Old 02-22-2007, 07:57 AM   #15
andrewes
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 0
Wink UTS_RELEASE definition moved

Quote:
Originally Posted by buckwheat12
I'm running kernel 2.6.18-3-486. ... I get to this point in the install and cannot get past it:

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-3-486). Even if the module were to compile
successfully, it would not load into the running kernel.
It looks as though the version.h file in recent kernel source code no longer contains a definition for UTS_RELEASE, which is what the install code is probably looking for.

The UTS_RELEASE definition can now be found in /lib/modules/`uname -r`/build/include/linux/utsrelease.h. If you append that file to version.h in the same directory, chances are VMware will then be able to find the kernel version correctly.

Last edited by andrewes; 02-23-2007 at 06:25 PM. Reason: Distracting reference to RHEL5, improved answer.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i need help installing VMware-workstation-5.0.0-13124.i386.rpm please! abcstorz Linux - Software 11 08-08-2007 05:30 AM
Vmware workstation 4.5.1 install on linux mandrake soft 10 problem joes17 Linux - Software 3 07-09-2004 08:38 PM
Kernel error installing VMWare Workstation 4.0.5 SniperDevil Linux - General 0 06-23-2004 07:02 PM
vmware workstation zetsui Linux - Software 2 07-01-2003 10:59 PM
Using VMWare 3.0 Workstation asb12973 Linux - General 2 06-08-2002 01:05 AM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
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