C header files location

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Dec 8 23:16:39 UTC 2006


On Fri, Dec 08, 2006 at 02:56:26PM -0500, chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org wrote:
> I am trying to install VMware from the original CD. Trying to run 
> vmware-config.pl I am getting: 
> 
> What is the location of the directory of C header files that match your 
> running
> kernel? [/usr/src/linux/include] 
> 
> I hit Enter to accept defult and get: 
> 
> The path "/usr/src/linux/include" is not an existing directory. 
> 
> I ran updatedb, then I adjusted the path to reflect directories, tried that 
> and got: 
> 
> The path "/usr/src/linux-2.6.5-1.358/include" is an existing directory, but 
> it
> does not contain at least one of these directories "linux", "asm", "net" as
> expected. 
> 
> What am I doing wrong here? 

What distribution are you running?

On debian I do it this way:

apt-get install linux-headers-`uname -r`
vmware-config.pl

Use /usr/src/linux-headers-`uname -r`/include as the answer to vmware's
question.  Expand the `uname -r` yourself.

Always worked for me.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list