Trying to install, keep getting same problem
First and foremost. I am a complete linux noob so I really apologize if this is a stupid question. Having said that here we go.
I'm running Fedora Core 8 in VMware and I am trying to install some applications. At first it told me to install GCC. After following some ridiculous guides I finally found out that you can install it by typing in yum install gcc. So I installed it and everything was good. Until I tried to reinstall the app that was telling me to install GCC. Now I get the message... Quote:
|
Most distributions don't come with the header files installed. You need to find out what kernel you're running (uname -a) and then use yum to install the kernel-headers package. I don't use Fedora, so I'm not exactly sure what the package name is.
|
Well I did the uname -a and I got
Quote:
Quote:
|
It almost seems like you already have the kernel source installed. What does your /usr/src/ directory look like? Is there a folder for 2.6.24 source? Is there a link from /usr/src/linux to /usr/src/linux-2.6.24 (or whatever the source directory is)?
|
Well I extracted kernel-2.6.24.4-64.fc8.src.rpm using "rpm -ivh" command and it dumped a whole bunch of stuff in the /usr/src/redhat/SOURCES directory but when I try pointing to it for the install I get
Quote:
|
You can just create a symbolic link to that directory. Try ln -s /usr/src/redhat/SOURCES /usr/src/linux
|
kernel-devel
This is a common problem with VMware.
Install the kernel-devel package like: # yum -y kernel-devel It will install everything what GCC is looking for, yum will make sure to install the correct version. Check also the vmware update modules from http://platan.vc.cvut.cz/ftp/pub/vmware/ if you run into other problems when compiling the vmmon modules. Server issues |
Quote:
"# yum -y install kernel-devel" Cuz I think that worked but I'm not sure if it will give me the same result though it looks like it will. |
All times are GMT -5. The time now is 04:39 AM. |