LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09: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, 09:54 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
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-07-2003, 11:27 PM   #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-07-2003, 11:32 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
cool - have fun.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 PM.

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
Open Source Consulting | Domain Registration