-   Slackware (
-   -   vmware error, cant find c header files (

artofluke 09-01-2003 08:50 PM

vmware error, cant find c header files
Installing vmware 4.0 on slackware 9.0, I get to this:


Using compiler "/usr/bin/gcc". Use environment variable CC to override.

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

The path "/usr/src/linux/include" is not an existing directory.
I have heard I need to install my kernel source or kernel developement tools in order to get this? If thats what I should do, how do I do it?

If its not, then what should I do? Thanks.

artofluke 09-01-2003 10:10 PM

Oh no! I figured it out, I'm missing


I have everything else...where can I get this header file??

Azmeen 09-01-2003 10:12 PM

artofluke 09-01-2003 10:27 PM

Where do those install to? I found linux/version.h in /usr/include, but vmware warns it doesn't know if /usr/include are the same ones used by the kernel. I try installing it anyway, but then installation fails. It made more stuff appear in the original directory I had my libs, but not version.h...

Maybe I should recompile my kernel like it suggests?

artofluke 09-01-2003 10:51 PM

apparently im supposed to run "make dep" in the kernel source directory...sorry for newb question, but where is that in slack? i though it was supposed to be /usr/src/linux, but that dir doesnt exist...?

Azmeen 09-01-2003 11:07 PM

Get everything from this page:

And no, they're not normal archives... install them using installpkg.


artofluke 09-01-2003 11:26 PM

Ok, but do I need to run "make dep" to get version.h?

Azmeen 09-01-2003 11:48 PM

I don't think you need to. But if it still doesn't work, then probably you should give it a try.

artofluke 09-02-2003 12:23 AM

yaayyy!! it works! thanks so much azeem

Azmeen 09-02-2003 08:35 AM

No prob man...

Enjoy :)

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