LinuxQuestions.org
Review your favorite Linux distribution.
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 01-11-2005, 11:10 AM   #1
malibuguy
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:
Code:
kdemultimedia-devel-6-3.2 100% |=========================| 6.1 kB    
00:00 
samba-swat-0-3.0.10-1.fc2 100% |=========================|  25 kB    
00:02 
flim-xemacs-0-1.14.7-0.FC 100% |=========================| 4.5 kB    
00:00 
xorg-x11-xdm-0-6.7.0-11.i 100% |=========================|  71 kB    
00:04 
gstreamer-plugins-devel-0 100% |=========================| 4.9 kB    
00:00 
kde-i18n-Norwegian-Nynors 100% |=========================|  18 kB    
00:01 
GConf2-devel-0-2.6.0-7.i3 100% |=========================| 5.0 kB    
00:00 
libxml2-devel-0-2.6.16-2. 100% |=========================|  14 kB    
00:01 
xorg-x11-ISO8859-2-100dpi 100% |=========================|  76 kB    
00:04 
perl-TimeDate-1-1.16-1.no 100% |=========================| 2.9 kB    
00:00 
kde-i18n-Korean-1-3.2.2-2 100% |=========================|  11 kB    
00:00 
libgnomeprint15-1-0.37-9. 100% |=========================| 3.9 kB    
00:00 
Resolving dependencies 
Damaged Header 
/var/cache/yum/updates-released/headers/kernel-0-2.6.10-1.8_FC2.i686.hdr 
Bad Header for pkg kernel.i686 trying to get headers for the nevral - 
exiting 
[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.
Mike

Last edited by malibuguy; 01-11-2005 at 06:25 PM.
 
Old 01-15-2005, 05:11 PM   #2
sludink
Member
 
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
http://gcc.gnu.org/
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).
 
  


Reply


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


All times are GMT -5. The time now is 08:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration