• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Help with Ubuntu

lancer

There is no answer!
Political User
#1
Ok i am a total linux noob, been using it for 3 days now.

i'm trying to install vmtools as i am running the distro within VMware.

i go to the terminal and type the required text

coolervm@VMOS:~/Desktop/vmware-tools-distrib$ sudo ./vmware-install.pl
all is well and i'm clicking enter on the options that come up, then this bugger pops up and i have done all i can to get past it.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
i've downloaded the actual headers my source is
coolervm@VMOS:~$ uname -r
2.6.15-26-386
but when i actually go to that folder which is not in the directory that vmware thinks it should be in i get this error.

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

The directory of kernel headers (version 2.6.15-23-386) does not match your
running kernel (version 2.6.15-26-386). Even if the module were to compile
successfully, it would not load into the running kernel.
i need help... as a noob i feel i've done fairly well, i've researched this on google and followed a lot of the suggestions on the forums, but nothing is working or i am just not understanding it..
 

falconguard

Carbon based lifeform
Political User
#2
did you do a cd (change directory) before you tried the install? If not type in cd and the path of the folder that holds the install. then try running the install.
 

j79zlr

Glaanies script monkey
Political User
#3
Its telling you what the problem is, The directory of kernel headers (version 2.6.15-23-386) does not match your
running kernel (version 2.6.15-26-386).

So, you need to update your kernel headers.
 

the_tazinator

Are we there yet?
#4
Copy and paste the following to make sure that you install the matching linux-headers to your running kernel version

sudo apt-get install linux-headers-$(uname -r)
 
Last edited:

lancer

There is no answer!
Political User
#5
taz thankyou so much... i saw that instruction before but it was written incorrectly on ubuntu's site. it seems to now be doing what i need, i'll let you know if vmware tools installs. one good thing about this is that i'm learning more about how to work with linux, than if it did work in the first place. thanks
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,247
Members
89,020
Latest member
saryrehgy