LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-04-2007, 11:01 AM   #1
ajaytiwary
LQ Newbie
 
Registered: Sep 2007
Posts: 28

Rep: Reputation: 15
Lightbulb gcc installation problem


Hi all !!

I have been trying to install (gcc-2.95.4-0.20010823.3.i386.rpm) but when i try this

# yum install gcc-2.95.4-0.20010823.3.i386.rpm
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Examining gcc-2.95.4-0.20010823.3.i386.rpm: gcc - 2.95.4-0.20010823.3.i386
Marking gcc-2.95.4-0.20010823.3.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gcc.i386 0:2.95.4-0.20010823.3 set to be updated
--> Running transaction check
--> Processing Dependency: cpp = 2.95.4 for package: gcc
--> Finished Dependency Resolution
Error: Missing Dependency: cpp = 2.95.4 is needed by package gcc

then i dwnlded cpp-2.95.4-0.20010823.3.i386.rpm but when i tried this
# yum install cpp-2.95.4-0.20010823.3.i386.rpm

the result was:

Loading "rhnplugin" plugin
Loading "installonlyn" plugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Examining cpp-2.95.4-0.20010823.3.i386.rpm: cpp-2.95.4-0.20010823.3.i386
cpp-2.95.4-0.20010823.3.i386.rpm: does not update installed package. ver
Nothing to do

i thing an upgraded version of cpp is already installed in my system
So could anyone tell me please that how can i install cpp-2.95.4-0.20010823.3.i386.rpm also .
THANKs
 
Old 10-05-2007, 03:59 AM   #2
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
Which Versio no fedora ?

BUT which Fedora you have ?

The last version of gcc should be 3. and something
 
Old 10-05-2007, 04:01 AM   #3
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
Why don't you do a yum install gcc from the console instead by this way ?

You can't access Internet well ?

If you specify the.rpm extension too you can make things more difficult than they are

Last edited by DOTT.EVARISTI; 10-05-2007 at 04:03 AM.
 
Old 10-05-2007, 04:08 AM   #4
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
I have Always used only the livna repos,they're better than others,don't make you run in deps conflicts and problems and are very big so at the end you could back up and uninstall yours,install livna ones and try again to see if you can resolve this.
 
Old 10-05-2007, 05:06 AM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I think Fedora uses GNU gcc version 4 or higher. Use uname to figure out what GNU gcc version the kernel is compiled with. A GNU gcc version 2.95 is known to be stable, but rarely people are using it. Majority are using GNU gcc version 4 or higher.
 
Old 10-06-2007, 08:34 AM   #6
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
Wink Fedora 7 uses 4.1

Quote:
Originally Posted by Electro View Post
I think Fedora uses GNU gcc version 4 or higher. Use uname to figure out what GNU gcc version the kernel is compiled with. A GNU gcc version 2.95 is known to be stable, but rarely people are using it. Majority are using GNU gcc version 4 or higher.
You're right..Fedora 7 uses 4.1..i still can't understand which version of Fedora this guy is using,maybe 4..boh
 
Old 10-06-2007, 09:05 AM   #7
ajaytiwary
LQ Newbie
 
Registered: Sep 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DOTT.EVARISTI View Post
You're right..Fedora 7 uses 4.1..i still can't understand which version of Fedora this guy is using,maybe 4..boh
thanks for your reply !!!!

but, i am not using fedora infact i use rhel5 that's why livna is not being installed so please tell me the way...........
 
Old 10-06-2007, 10:38 AM   #8
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
Wink Try this way:

Quote:
Originally Posted by ajaytiwary View Post
thanks for your reply !!!!

but, i am not using fedora infact i use rhel5 that's why livna is not being installed so please tell me the way...........
I saw yum so thought it was Fedora..anyway,try this way:

1)run your packet manager
2)update everything from there-otherwise,you could do a yum update by the console-it's so in Fedora
3)look for gcc 3.3 or 3.4 or 4.1
4)install the latest you find by here;it should resolve dependances by itself-and so would be for cap
5)update everything again

I hope it works ! in Fedora it would of course work so !

Bye and good luck !
 
Old 10-18-2007, 07:45 AM   #9
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
How it's gone ?
 
  


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 in gcc installation gurl4sh25 Solaris / OpenSolaris 3 08-08-2007 11:52 AM
GCC installation problem nicky43 Linux - Software 3 07-22-2006 06:59 AM
Suse 9.3 gcc-g++ Installation Problem limneos Linux - Newbie 4 09-30-2005 07:27 PM
Problem with installation of gcc 3.4.3 lxeye Programming 5 01-16-2005 12:03 PM
Gcc installation problem Agileuk Linux - Newbie 2 09-28-2003 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration