Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old November 23rd, 2001, 07:03 AM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 467 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 57 m
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
Thumbs up Upgrade GCC on RH/Linux 6.2

I've installed all the dependency for gcc 2.95.1 and when I attempt to install the rpm gcc-2.95.1 I keep getting this message:

bash$ rpm -ivh gcc-2.95.1-i386.rpm
Preparing... ########################################### [100%]
file /usr/bin/egcs from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
file /usr/bin/gcc from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
file /usr/bin/gcov from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
file /usr/bin/i386-redhat-linux-gcc from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
file /usr/bin/protoize from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
file /usr/bin/unprotoize from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
file /usr/i386-redhat-linux/lib/libiberty.a from install of gcc-2.95.1-3 conflicts with file from package egcs-1
.1.2-30
###############################################

Not being fimilar with rpm's,... what do I need to do, in order to be able to upgrade the gcc. We are currently using 2.91.1

Server:
Red Hat Linux release 6.2
Kernel 2.4.10 on an i686

Thanks,

Mickalo
__________________

Thunder Rain Internet Publishing

Custom Programming & Database development
Providing Personal/Business
Internet Solutions that work!

Reply With Quote
  #2  
Old November 23rd, 2001, 09:22 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Try to remove the offending files by rpm:
rpm -rv egcs-1.1.2-30
, and then install gcc using the usual
rpm -ihv gcc-2.95.1-i386.rpm

If that doesn't work, do
rpm -ihv --force --nodeps gcc-2.95.1-i386.rpm
It is rather dangerous as it will overwrite anything and won't check for any dependencies, including dep.s that get broken by the installation process.

Reply With Quote
  #3  
Old November 23rd, 2001, 10:31 AM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 467 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 57 m
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
Thumbs up

How exactly is this '-r' option used... it keeps asking for additional arguments??

thanks,

Mickalo

Reply With Quote
  #4  
Old November 23rd, 2001, 11:00 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
I should've looked it up b4 I told you ...

It's -e, not -r. I don't know what -r does

Sorry

Reply With Quote
  #5  
Old November 23rd, 2001, 11:25 AM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 467 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 57 m
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
Quote:
Originally posted by realnowhereman
I should've looked it up b4 I told you ...

It's -e, not -r. I don't know what -r does

Sorry


Well I tried that:
Code:
rpm -ev egcs-1.1.2-30                                    
error: package egcs-1.1.2-30 is not installed


Go figure!

Maybe it's best to leave well enough alone! As they say, "..if it works.. don't fix it.."

appreciate you help tho..

Mickalo

Reply With Quote
  #6  
Old November 23rd, 2001, 11:31 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
OK, let's give up on the issue of files being overwritten and simply install the new stuff no matter what happens.

My favourite syntax for RPM is:
rpm -ihv --force --nodeps gcc-2.95.1-i386.rpm
It always works

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Upgrade GCC on RH/Linux 6.2


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway