LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2002, 08:04 AM   #1
chrisr99
LQ Newbie
 
Registered: Jun 2002
Posts: 1

Rep: Reputation: 0
question about Gcc and install


I am having some trouble upgrading/installing some packages and wanted to ask for suggestions. I am relatively new to this, and have been searching for similar problems but have been unable to find any.

I just did a fresh install of Redhat 7.3 on a P2, 233 machine. I did the custom install and added the software development and kernel packages.

I want to run a program that requires the following packages
gcc3-3.0.1-3.src.rpm
gcc3-c++-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
libstdc++3-3.0.1-3.i386.rpm
libstdc++3-devel-3.0.1-3.i386.rpm

I was able to install the last 3 packages and receive the following when I look for them.

[root@redhat home]# rpm -qa | grep libstdc
libstdc++3-3.0.1-3
libstdc++-devel-2.96-110
compat-libstdc++-6.2-2.9.0.16
libstdc++-2.96-110
libstdc++3-devel-3.0.1-3

[root@redhat home]# rpm - qa | grep gcc
gcc-g77-2.96-110
gcc-2.96-110
libgcc-3.0.1-3
gcc-c++-2.96-110
gcc-objc-2.96-110

Now, it appears that I have the old version (2.96-110) still installed for the libstdc packages.
I used a rpm-Uvh (package) command to try to upgrade.

My first question is this going to be a problem having multiple versions of these packages?

My next question is regarding the gcc.

When I try to install the first product, I get:

[root@redhat home]# rpm -Uvh gcc3-3.0.1-3.src.rpm
1:gcc3 ########################################### [100%]

which appears to install, but then:
[root@redhat home]# rpm -qa | grep gcc3
[root@redhat home]#

showing it isn't installed.

when I try to upgrade the other package:

[root@redhat home]# rpm -Uvh gcc3-c++-3.0.1-3.i386.rpm
error: failed dependencies:
gcc3 = 3.0.1-3 is needed by gcc3-c++-3.0.1-3

confirming that the first package is not installed.

Any suggestions are appreciated!

-Chris
 
  


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
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 10:20 PM
gcc install question bdirks Linux - Software 2 02-11-2004 01:53 PM
gcc question 0micron Linux - Software 4 02-19-2003 03:02 AM
gcc question tyler_durden Programming 1 01-14-2002 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 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