Location of the directory of "C" header files
G'Day Folks,
I am attempting to install vmware on FC4. Unfortunately, I do not know where the directory of C header files resides. Can anyone help me? Thanks much in advance. RoMan65 |
do you got any error messages while installing vmware?
|
Try the commands:
whereis "file" which "file" slocate "file" But they'll only find the file you're looking for if it's in one of the directories of $PATH, probably. Using "find" to recursively search in all directories for a specific file on your disk is an option too, but it will take a lot of time. Headers from external libraries are usually stored in directories named "include", somewhere under /usr, /usr/local, ..., (depending on where the libraries where installed). Standard (ANSI) C headers can be included from your $PATH probably, using the #include <header> syntax instead of #include "header.h" And by using the compiler's -l option (for instance for the math library, use "-lm" as compiler option). |
I too, am in the process of installing VMWare GSX server on one of my FC4 servers. I've been running into problems building the vmmon module. It seems to detect GCC OK (using compiler "/usr/bin/gcc") and it defaults to the C header files located in "/lib/modules/2.6.11-1.1369_FC4smp/build/include/". When it attempts to build the module, I get the following messages.
Is something wrong with the compiler I'm using? When I run gcc -v, it tells me I'm running gcc version 4.0.0 20050519. Code:
Building the vmmon module. vmware.com/support/reference/linux/prebuilt_modules_linux.html darn 5-post rule on sending links |
Also, I'm going to look for an install log for when I installed VMWare from my RPM... anyone know where to look for this?
|
First i think you need to install the kernel source
# rpm -Uvh kernel-devel-<stuff>.rpm Then, I think VMWare is assuming the kernel sources are installed under the /usr/src/linux directory. If you make a symbolic link, as shown below, you should be good if you installed the kernel source. Install the kernel sources, as shown earlier, and then: # ln -s /usr/src/kernels/kernel-<all-the-rest> /usr/src/linux I would double check, but this seems like what i remember i had to do a long time ago |
Thanks, I'll give that a try.
Also, I'm searching on the VMWare site for info and on their system requirements page, they don't have FC4 listed anywhere. Is it safe to run this on FC4 or would I be better off with a different distro? If I were forced to say which distro I'm most comfortable with, I'd have to say RH/FC simply due to my lack of experience. |
You will be fine with fedora. There should be a lot of tutorials/howtos for vmware and fedora online. Possibly even here in the how to section.
|
New problem with the VM server... as far as I can tell the server is running, but when I try and connect using the Virtual Machine Console, I get the following error:
(as far as I can tell, the VMWare Scripting API has been installed) Code:
There was a problem connecting: |
All times are GMT -5. The time now is 02:54 AM. |