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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-04-2007, 11:01 AM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 28
Rep:
|
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
|
|
|
10-05-2007, 03:59 AM
|
#2
|
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:
|
Which Versio no fedora ?
BUT which Fedora you have ?
The last version of gcc should be 3. and something
|
|
|
10-05-2007, 04:01 AM
|
#3
|
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:
|
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.
|
|
|
10-05-2007, 04:08 AM
|
#4
|
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:
|
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.
|
|
|
10-05-2007, 05:06 AM
|
#5
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep:
|
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.
|
|
|
10-06-2007, 08:34 AM
|
#6
|
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:
|
Fedora 7 uses 4.1
Quote:
Originally Posted by Electro
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
|
|
|
10-06-2007, 09:05 AM
|
#7
|
LQ Newbie
Registered: Sep 2007
Posts: 28
Original Poster
Rep:
|
Quote:
Originally Posted by DOTT.EVARISTI
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...........
|
|
|
10-06-2007, 10:38 AM
|
#8
|
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:
|
Try this way:
Quote:
Originally Posted by ajaytiwary
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 !
|
|
|
10-18-2007, 07:45 AM
|
#9
|
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:
|
How it's gone ?
|
|
|
All times are GMT -5. The time now is 06:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|