LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-07-2003, 10:46 PM   #1
s7nner
LQ Newbie
 
Registered: Apr 2003
Posts: 19

Rep: Reputation: 0
location of dir of C header files? VMWARE install..


Hi,

I'm running RH9, i am quite new to linux and have ran into quite a lot of issues.
Trying to install VMWARE 4.x

part of the installation it has came to the question..


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

- not that the /usr/src/linux (there was no linux folder!!)
only 'debug' and 'redhat' <-- empty dirs of dir!

i did a 'whereis include' to find the folder n located it to "/usr/local/include" so i just tried to point it there. Someone please correct me how to find the right folder in future. =)

then..
Q. The path "/usr/loca/include" is an existing directory, but it does not contain at least one of these directories "linux", "asm", "net" as expected.

where is this C header files directory containing ASM, NET, LINUX etc etc??
 
Old 09-07-2003, 10:54 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
to find files/directories, you should use either 'locate' or 'find'.
whereis is generally used to find specific apps on the machine.

:locate file-name
:find / -name "file-name" (this will search everything under /
if you had done an 'updatedb', then locate is faster.

as for not finding the "linux" folder under "/usr/src", could it be because you have not gotten the kernel source? the "linux" under /usr/src is a symlink to the kernel source tree, and unless you specified during ur first install of linux to include the kernel source (i think it was under the package header "kernel development" or some), it doesnt install it.

it should be on one of those cd's you have - so select that package (the kernel source package), and get it on the system.
 
Old 09-08-2003, 12:27 AM   #3
s7nner
LQ Newbie
 
Registered: Apr 2003
Posts: 19

Original Poster
Rep: Reputation: 0
thanks for the speedy reply h/w.

this headache solved.
next one will probably come soon and then another hour of websearching for answers =)
 
Old 09-08-2003, 12:32 AM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
cool - have fun.
 
  


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
suse 9.2 and vmware. asks for location of C header gonus Linux - Software 4 02-08-2005 10:11 PM
c header files location 2.6.5 kernel? Rhatlinux Linux - Software 1 09-11-2004 04:39 PM
vmware tools install needs c header location molotov Libranet 5 04-28-2004 01:21 PM
C Header files (VMWare Install) mr.linux.noob Linux - General 2 04-05-2004 12:33 PM
RH8, vmware install asking for C header files s7nner Linux - Newbie 2 05-07-2003 08:20 PM


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

Main Menu
Advertisement
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