-   Linux - Newbie (
-   -   yum install gcc problem (

malibuguy 01-11-2005 12:10 PM

yum install gcc problem
Hello folks,

I am new to linux, i want to install gcc on Fedora Core2, I ran the yum install gcc command and it downloaded a bunch of updates and the command ended with:

kdemultimedia-devel-6-3.2 100% |=========================| 6.1 kB   
samba-swat-0-3.0.10-1.fc2 100% |=========================|  25 kB   
flim-xemacs-0-1.14.7-0.FC 100% |=========================| 4.5 kB   
xorg-x11-xdm-0-6.7.0-11.i 100% |=========================|  71 kB   
gstreamer-plugins-devel-0 100% |=========================| 4.9 kB   
kde-i18n-Norwegian-Nynors 100% |=========================|  18 kB   
GConf2-devel-0-2.6.0-7.i3 100% |=========================| 5.0 kB   
libxml2-devel-0-2.6.16-2. 100% |=========================|  14 kB   
xorg-x11-ISO8859-2-100dpi 100% |=========================|  76 kB   
00:04 100% |=========================| 2.9 kB   
kde-i18n-Korean-1-3.2.2-2 100% |=========================|  11 kB   
libgnomeprint15-1-0.37-9. 100% |=========================| 3.9 kB   
Resolving dependencies
Damaged Header
Bad Header for pkg kernel.i686 trying to get headers for the nevral -
[root@losangles mike]#

Somthing about bad header, did the C compiler install? How do I check. Are there are other ways of installing the compiler? Should I reinstall the OS? Which package should I use to make sure the C compiler is install?

Would appreciate your help.

sludink 01-15-2005 06:11 PM

To check if the C compiler did install, get a prompt (xterm fine), and use:

$gcc --help
If you get multiple lines of help output, the install is fine.

There are other ways to install the compiler, manually for example.
But your problem looks like some kernel problem to me, since there's being complained about missing kernel-headers.

In any case, I'm more than 90% sure you shouldn't reinstall the whole OS, I think you just have to 'reyum' a package called something like kernel-headers (but I don't know exactly what yum is, and know less about Fedora than you).

Manually installation requires to goto
Download the source code, unpack it, configure it, compile it, install it in the right place (not much work, but greater hassle than use of packages).

All times are GMT -5. The time now is 01:03 AM.