Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-19-2007, 07:44 PM
|
#1
|
Member
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91
Rep:
|
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?
|
|
|
01-19-2007, 08:05 PM
|
#2
|
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:
|
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.
|
|
|
01-20-2007, 04:39 PM
|
#3
|
Member
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91
Original Poster
Rep:
|
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.
|
|
|
01-21-2007, 08:17 AM
|
#4
|
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:
|
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
|
|
|
01-24-2007, 02:48 PM
|
#5
|
Member
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91
Original Poster
Rep:
|
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.
|
|
|
01-24-2007, 03:31 PM
|
#6
|
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:
|
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.
|
|
|
01-26-2007, 11:13 AM
|
#7
|
Member
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91
Original Poster
Rep:
|
Ugh, same result.
|
|
|
01-26-2007, 12:39 PM
|
#8
|
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:
|
Next step is to build but not install the kernel, from where the kernel source is as root do; make
|
|
|
01-26-2007, 06:19 PM
|
#9
|
Member
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91
Original Poster
Rep:
|
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.
|
|
|
01-26-2007, 06:59 PM
|
#10
|
Senior Member
Registered: Apr 2005
Location: Heaven
Distribution: Debian Sid/RPIOS
Posts: 4,920
|
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
|
|
|
01-27-2007, 10:56 AM
|
#11
|
Member
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91
Original Poster
Rep:
|
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.
|
|
|
01-27-2007, 12:13 PM
|
#12
|
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:
|
Are you root for this???
|
|
|
01-27-2007, 01:06 PM
|
#13
|
Member
Registered: Jan 2004
Distribution: PCLOS 2007
Posts: 91
Original Poster
Rep:
|
Yeah, I made sure to run that as root.
|
|
|
02-22-2007, 07:55 AM
|
#14
|
LQ Newbie
Registered: Feb 2007
Posts: 6
Rep:
|
(ignore this post)
Last edited by andrewes; 02-23-2007 at 06:17 PM.
Reason: broken, duoble post
|
|
|
02-22-2007, 07:57 AM
|
#15
|
LQ Newbie
Registered: Feb 2007
Posts: 6
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|