Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-11-2005, 11:10 AM   #1
LQ Newbie
Registered: Dec 2002
Posts: 3

Rep: Reputation: 0
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.

Last edited by malibuguy; 01-11-2005 at 06:25 PM.
Old 01-15-2005, 05:11 PM   #2
Registered: Jan 2005
Location: Brabant, the Netherlands
Distribution: Gentoo 2004.x (2.6.10 hardened)
Posts: 91

Rep: Reputation: 15
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).


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
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
gcc 3.2.2 install problem bhuvanagoud Linux - Newbie 1 10-21-2005 11:26 AM
gcc install problem gear Linux - Newbie 7 09-15-2005 03:44 AM
Fedora Core 4 GCC Blacklisted and Yum Conflicts Coookie Monster Linux - Newbie 12 08-09-2005 08:28 PM
YUM - - Can't install! Dependancy problem on RH9? irlkersten Red Hat 7 05-07-2005 08:34 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration