LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-01-2003, 07:50 PM   #1
artofluke
Member
 
Registered: Sep 2003
Posts: 37

Rep: Reputation: 15
vmware error, cant find c header files


Installing vmware 4.0 on slackware 9.0, I get to this:

Quote:
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.
 
Old 09-01-2003, 09:10 PM   #2
artofluke
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Oh no! I figured it out, I'm missing

/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/linux/version.h

I have everything else...where can I get this header file??
 
Old 09-01-2003, 09:12 PM   #3
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
http://www.slackware.com/pb/?vers=sl...-2.4.20-i386-5
 
Old 09-01-2003, 09:27 PM   #4
artofluke
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
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?

Last edited by artofluke; 09-01-2003 at 09:29 PM.
 
Old 09-01-2003, 09:51 PM   #5
artofluke
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
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...?

Last edited by artofluke; 09-01-2003 at 09:54 PM.
 
Old 09-01-2003, 10:07 PM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Get everything from this page:
http://www.slackware.com/pb/search.p...&string=kernel

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

Cheers!
 
Old 09-01-2003, 10:26 PM   #7
artofluke
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Ok, but do I need to run "make dep" to get version.h?
 
Old 09-01-2003, 10:48 PM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
I don't think you need to. But if it still doesn't work, then probably you should give it a try.
 
Old 09-01-2003, 11:23 PM   #9
artofluke
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
yaayyy!! it works! thanks so much azeem
 
Old 09-02-2003, 07:35 AM   #10
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
No prob man...

Enjoy
 
  


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
php5 ./configure error: Cannot find MySQL header files ldp Linux - Software 28 08-26-2011 12:25 PM
vmware looking for c header files for kernel zuessh Debian 4 07-23-2005 08:12 AM
Cannot find C Header files in SuSE 9.2 64-bit when needed for installing VMware W/s matt010wjh Linux - Software 1 12-26-2004 09:25 PM
VMware Config. header files? jasonmcneil0 Linux - Software 3 12-06-2004 12:08 AM
C Header files (VMWare Install) mr.linux.noob Linux - General 2 04-05-2004 11:33 AM


All times are GMT -5. The time now is 06:21 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