LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-10-2003, 03:36 AM   #16
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48

Did you installed them from the CDROM or the website?
After the installation did you tried the gcc command?
As for i686 or Athlon ,there is some differences and if the rpms are different they are marked so by something like this
rpmfilename.version.architecture(either i386,686,powerpc) etc.
Usually i386 rpms would run under Athlon
 
Old 07-10-2003, 03:40 AM   #17
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
I installed the RPMs from the website.

But it is the binutils program that seems to think I have an i686.
And the packages are not specified to be i386 or i686:
ftp://ftp.gnu.org/gnu/binutils/
 
Old 07-10-2003, 03:51 AM   #18
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
You said that binutils is having problems.
You can get the binutils from the
http://rpmseek.com
I don't think that binutils have any problem.
try
rpm -qs binutils
Does gcc work?
(by command gcc)
The link that you gave contains tar.gz files for which you need a working compiler.As for now I don't think that you have one.
Robin
 
Old 07-10-2003, 05:10 AM   #19
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
Ah, thanks!

gcc is working
(Well, I think so, when I type "gcc" the only error is that it doesn't have any input files)
and binutils is working now, too. Thank-you very, very much!
 
Old 07-10-2003, 09:42 AM   #20
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Nice to know that -did the original problem got solved?
 
Old 07-15-2003, 02:14 AM   #21
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
Yes, the problem was solved.

Thanks for your wonderful help!
 
Old 09-19-2003, 02:36 PM   #22
linoops
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
I tried installing gcc using the source files from the gcc site and it failed. Later I found this post and decided to install the redhat rpms. It complained about gcc being already installed and so I deleted the old gcc folders, however now when i try to install using the rpms in Redhat Disc, it still says there is a higher version already installed. How do i uninstall the existing version and get a proper working installation? Thanks in advance
 
Old 09-21-2003, 01:45 AM   #23
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by linoops
I tried installing gcc using the source files from the gcc site and it failed. Later I found this post and decided to install the redhat rpms. It complained about gcc being already installed and so I deleted the old gcc folders, however now when i try to install using the rpms in Redhat Disc, it still says there is a higher version already installed. How do i uninstall the existing version and get a proper working installation? Thanks in advance
first do a
rpm -q gcc
or rpm -qa gcc |grep -i gcc
this will print the installed gcc packages
then unistall them by the following command
rpm -e <package name eg:gcc>
(NB: don't include the version number while using rpm -e
ie use only rpm -e gcc ,but not rpm -e gcc-<version>)
now install the gcc package
or shorter
you can try
gcc -Uvh --nodeps --force <package name>
for forced but not so safe installation
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 02:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 05:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 06:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 08:55 PM


All times are GMT -5. The time now is 03:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration